lamp - How do I find out a server's load? -


I am creating a PHP script that will capture some information from servers and databases at regular intervals. Server LAMP is running.

Is there a way to output server load or other data that can indicate performance or load on the server including MyScall?

just try

  cat / proc / loadavg  

or

  uptime  

The printout of the current load of the server is 1 minute / 10 minutes / 15 minute interval.

Maybe you can have a look or nagios


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -