How to show running processes on the web server

Asked

Viewed 52 times

0

well my doubt is the following there is some plugin in php where I can view the processes php, html etc... running on my server, Cpanel has a similar plugin and wanted to know if you have any way to get it.

  • I don’t know if there is something ready for this, but I had to do something related once, I used an open socket requesting shell_exec() executions with the commands I needed to analyze, and I printed the answers, like: $folders = shell_exec('ls -l'); echo "<pre>$folders</pre>"; as the answer will be a text, you can parse to format the view, but on shared hosting servers you can find some flaw.

  • Very interesting this script you gave me, the processes shown in it are those that are currently running ?

  • You want to check only PHP processes, or all processes running?

  • So Mauro, all the processes run on it that are in the folder of my site, but if there are only ones that shows PHP would be welcome.

  • There’s this thread in the American community. https://stackoverflow.com/questions/17335968/how-to-get-list-of-php-processes-running-on-server-with-php

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.