[UFO Chicago] Shell scripting, timeouts
Fri, 14 Feb 2003 15:41:25 -0800 (PST)
--- Jordan Bettis <firstname.lastname@example.org> wrote:
>> You can do the cpu time check in a portable way too:
heh, nifty. I went delving into the source code for 'ps'
and 'top'. It's very...um...enlightening... In a scary
sort of way. My code parses /proc/PID/stat, which works in
linux. I know Solaris also has a /proc interface. The
Linux interface is marginally documented in the 'ps' code.
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day