equivalent of PS in PHP?



My search yielded me nothing. I am looking for classes/modules in PHP
that can give me output similar to the output of unix command "ps".
Additionally, are there classes/modules that can kill processes based
on process IDs?

Though I can execute a system command, I do not have a consistent
method that will work across platforms like Linux, SunOS, AIX, HP-UX
and Windows* and was hoping that PHP will help reduce complexity.

.



Relevant Pages

  • Re: Handling log file parsing
    ... If you are on *nix with PHP, have a look at a command named: tail ... It is NOT a PHP command but a UNIX command, so you'll need exec, passthru, etc to pull that trick. ...
    (comp.lang.php)
  • 2>&1 arg in exec(perl.... + "sh: /perl not found error" TIA for help
    ... I have the following line in a php file: ... this same line of code when run from the unix command line ... I've tried putting the following in both the php and perl programs: ...
    (comp.lang.php)
  • Re: equivalent of PS in PHP?
    ... You could call a little perl script that does the process list: ... I don't know if a similar portable interface exists for php. ... that can give me output similar to the output of unix command "ps". ...
    (comp.lang.php)
  • Running a Unix Command-Line App via PHP?
    ... I'm developing a web site in PHP for an Apache server. ... I have a particular stand-alone application that takes a text file as ... Unix command line. ...
    (comp.lang.php)