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][tlug] Re: /proc/uptime
- Date: Wed, 12 Nov 2008 13:35:13 +0000
- From: John Fremlin <john@example.com>
- Subject: [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> <78d7dd350811112354t3d1555c7s2164a3045373eaf3@mail.gmail.com>
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
"Nguyen Vu Hung" <vuhung16plus@example.com> writes: > 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. That means the CPUs are probably waiting for the disks. > 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. No. It indicates the amount of time any one of the cores has nothing to do. Look at the top output to see the instantaneous load. [...]
- Follow-Ups:
- Re: [tlug] Re: /proc/uptime
- From: Nguyen Vu Hung
- 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
- Re: [tlug] Re: /proc/uptime
- From: Nguyen Vu Hung
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] linux netbooks?
- Next by Date: Re: [tlug] Re: /proc/uptime
- Previous by thread: Re: [tlug] Re: /proc/uptime
- Next by thread: Re: [tlug] Re: /proc/uptime
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links