XML for formatting (Re: Environment monitoring)

Jakob Oestergaard jakob at unthought.net
Thu Oct 16 08:12:36 EDT 2003


On Tue, Oct 14, 2003 at 08:45:12PM -0400, Robert G. Brown wrote:
...
> rgb at lilith|T:105>cat /proc/1214/stat
> 1214 (pine) S 1205 1214 1205 34816 1214 0 767 0 872 0 22 15 0 0 15 0 0 0
> 14510 12034048 1413 4294967295 134512640 137380700 3221217248 3221190168
> 4294959106 0 0 134221827 1073835100 3222429229 0 0 17 0 0 0 22 15 0 0

While this has nothing to do with your (fine as always ;) rant, I just
need to add a comment (which has everything to do with /proc
stupidities):

> (which, as you can see, contains the information on the pine application
> within which I am currently working on my laptop).
> 
> What?  You find that hard to read?

Imagine I had a process with the (admittedly unlikely but entirely
possible) name 'pine) S 1205 ('

Your stat output would read:
1214 (pine) S 1205 () S 1205 1214 1205 34816 1214 0 767 0 872 0 22 15 0 0 15 0 0 0
14510 12034048 1413 4294967295 134512640 137380700 3221217248 3221190168
4294959106 0 0 134221827 1073835100 3222429229 0 0 17 0 0 0 22 15 0 0

Parsing the ASCII-art in /proc/mdstat is at least as fun  ;)

-- 
................................................................
:   jakob at unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list