Messages in this thread | | | From | Denis Vlasenko <> | Subject | Re: /proc/stat weirdness | Date | Sun, 21 Apr 2002 20:04:23 -0200 |
| |
On 21 April 2002 13:04, Mark Hahn wrote: > > I was curious about top showing unwieldy numbers for idle% > > (start top, hold down [space] and you'll see). > > you need to be more explicit. unweildy? do you mean > very large?
Yes, stuff like 1231687123,23%
> > top reads /proc/stat in order to get these percents. > > A little script which cats /proc/stat continually > > and greps for 'cpu ' yield: > > cpu 39778 0 46829 337191 > > cpu 39778 0 46831 337192 > > cpu 39778 0 46833 337193 > > cpu 39778 0 46834 337194 > > cpu 39778 0 46835 337195 > > cpu 39778 0 46836 337196 > > cpu 39778 0 46838 337197 <<< > > cpu 39778 0 46840 337196 <<< > > your clock jumped back; do you have a via-based computer?
Nope. It's a HP Vectra, a loyal Intel based box. Right now I ssh'ed to my NFS server, ran top and held [space] down. I saw it there too. What do you see on your box?
I modified top to show 'raw' counter difference too: 0000001b 00000014 00000000 000001cb 5.3% user, 3.9% system, 0.0% nice, 90.7% idle ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ and it's easy to notice that last number turns into ffffffff sometimes. -- vda - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |