Hello,
I am trying to show server load on a web page. The server load is fetched in PHP by executing the shell command "/proc/loadavg" and displaying the output as it is.
However, I want to display the same output using Javascript (jQuery is fine) and have it updated every 10 seconds.
How do I do so? I was thinking of using Ajax query but I think that is overcomplicating things