NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
where/how, please ? (Score:1)
Need to do the same thing.. parse the psinfo structure. An additional complication is that it also needs to run, almost out of the box, in a Linux machine (and I find that the /proc filesystems are not POSIX compliant)
My solution, for now, is to actually install Proc::ProcessTable on the server, do a shell call from inside C to a script, parse the output from the script and then pack and send onto the client (this is for server process information). sysinfo (native C call) had possibilities, but didnt give
Re:where/how, please ? (Score:2)
The other link, which I haven't looked at in depth yet but which looked promising, can be found here [sun.com]. It's from a Sun support forum and I think they took a different approach.
Enjoy!
Re:where/how, please ? (Score:2)
Reply to This
Parent