You are here: Re: equivalent of PS in PHP? « PHP Programming Language « IT news, forums, messages
Re: equivalent of PS in PHP?

Posted by petersprc on 07/23/07 21:50

You could call a little perl script that does the process list:

http://search.cpan.org/~durist/Proc-ProcessTable-0.41/ProcessTable.pm

I don't know if a similar portable interface exists for php.

On Jul 23, 12:29 pm, Shekar <shekari...@gmail.com> wrote:
> 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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация