lkml.org 
[lkml]   [2004]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectabout /proc/*/stat
If I look at /proc/meminfo, I see each number prefixed with a short
identifying name. Looking at /proc/*/stat, however, I have to count
fields to get to the field I want. I realise that it's probably not
possible to change the format of this file (since it's read by
ps(1), among others), but I wonder if you have any tools that parse
it, similar to /proc/meminfo -- i.e. primarily for debugging?

If not, I have a shell script that works well and which I would then
publicise. I just don't want to push yet another software doing
The Same Thing out there...

--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck

invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: madduck.bogus@madduck.net

"no, 'eureka' is greek for 'this bath is too hot.'"
-- dr. who
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.047 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site