System idle time under Linux
Thomas Jollans
thomas at jollybox.de
Wed Sep 29 10:56:22 EDT 2010
On Wednesday 29 September 2010, it occurred to Hugo Léveillé to exclaim:
> Thanks, will take a closer look on that
>
> But to get me started, how would you get, via python, the info from that
> ?
Parse the files. They may be very special files, but they are just files.
>
> Thanks alot
>
>
> On Thu, 30 Sep 2010 02:01 +1300, "Lawrence D'Oliveiro"
>
> <ldo at geek-central.gen.new> wrote:
> > /proc/stat or /proc/uptime, depending. See the proc(5) man page.
More information about the Python-list
mailing list