Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Re: /proc/uptime
- Date: Wed, 12 Nov 2008 16:54:06 +0900
- From: "Nguyen Vu Hung" <vuhung16plus@example.com>
- Subject: Re: [tlug] Re: /proc/uptime
- References: <78d7dd350811111815y11b471ek31c44c4443d2dca5@mail.gmail.com> <87bpwlpqnm.fsf-genuine-vii@john.fremlin.org> <78d7dd350811112048y1bcb2717j19af91dcda1ab257@mail.gmail.com> <877i79pkwz.fsf-genuine-vii@john.fremlin.org>
On Wed, Nov 12, 2008 at 2:34 PM, John Fremlin <john@example.com> wrote: > "Nguyen Vu Hung" <vuhung16plus@example.com> writes: >> On Wed, Nov 12, 2008 at 12:30 PM, John Fremlin <john@example.com> wrote: >>> "Nguyen Vu Hung" <vuhung16plus@example.com> writes >>>> cputime_t idletime = cputime_add(init_task.utime, init_task.stime); >>> >>> This just adds up how much time (user + system) has been spent in the >>> init_task, so how much time has been spent with no actual task running. >> On a heavy-load web server which server which serves dozens TB every months >> I see: # I've just read http://kilobug.free.fr/hurd/pres-en/abstract/html/node2.html #I know it is for GNU/Hurd so Dr. S. may disagree. > Why do you think that it is heavily loaded? I can hear that my HDD is screaming. My understanding is that: the second number in /proc/uptime indicates the time that the kernel has nothing to do in the *kernel mode*. Network activities, file systems activities are all in user mode so it is nothing to do with /proc/uptime. Well, my couriourity is satisfied but this number is somewhat useless from the point of view of a sysadmin who is watching httpd. -- Best Regards, Nguyen Hung Vu ( Nguyễn Vũ Hưng ) vuhung16plus{remove}@example.com , YIM: vuhung16 , Skype: vuhung16dg A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html
- Follow-Ups:
- [tlug] Re: /proc/uptime
- From: John Fremlin
- References:
- [tlug] /proc/uptime
- From: Nguyen Vu Hung
- [tlug] Re: /proc/uptime
- From: John Fremlin
- Re: [tlug] Re: /proc/uptime
- From: Nguyen Vu Hung
- [tlug] Re: /proc/uptime
- From: John Fremlin
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Microcontrollers + linux: Digikey, ARM, NXP serial port
- Next by Date: [tlug] Re: [tlug-admin] Bonenkai December Suggestions
- Previous by thread: [tlug] Re: /proc/uptime
- Next by thread: [tlug] Re: /proc/uptime
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links