Process listing

hey guys. i’m needing a php script that will get me a list of the user’s processes. this isn’t for anything naughty - i’m helping a friend.

if anyone could help me out that would be great - or if you could tell me if it’s possible - that’s be great too.

thanks in adv. :smiley:

[center]200TH POST[/center]
[center] :thumb: :party: :beer: :party: :beer: :party: :beer: :party: :thumb: [/center]

errr I’ve never heard of doing such a thing with any programming language but I believe I can say that this is Definitely NOT possible! :to:

Are you talking about seeing what processes are running on the server? What OS? $top will list those (linux/Unix). It depends on what privelges are given to the web server user (and what OS) If it’s on linux/unix I doubt that the apache user has those privelges, at leats they shouldn’t. You can run commands using backticks (Linux/Unix). Like:


echo `top | grep "httpd"`;

I don’t use windows for servers so I don’t know if there is a difference (php syntax) from running dos commands via php.

  • also using exec(); does the same thing as backticks.

no,the processes running client-side. is this possible? could i use js or vbs?