Re: ps command in php
| From: | Mike Migurski | Date: | Mon, 06 Oct 2003 07:18:38 +0000 |
| Subject: | Re: ps command in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165150@lists.php.net to get a copy of this message | ||
>I'm trying to have the output of the "ps -ef" command in Linux to my
>browser. Can anyone help how to properly have the output in proper
>format. I've used the passthru() function but the output is scrambled.
What do you mean by 'scrambled'? The following works for me:
echo '<pre>',
ps -ef, '</pre>';
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html