output of top on a linux box

Pradnyesh Sawant spradml at gmail.com
Wed Apr 11 19:21:15 CEST 2007

> Can you pull the same information from /proc/stat as opposed to using
> a pipe to top? The first line(s) should contain (at least):
> cpu usermode, lowprio, system, idle, hz.
Thanks a lot for the help. I finally decided to go with your suggestion.
warm regards,
Pradnyesh Sawant
Be yourself......everyone else is taken. --Anon

More information about the Python-list mailing list