V
V
Vladislav Shkaev2016-04-16 13:15:08
linux
Vladislav Shkaev, 2016-04-16 13:15:08

What are the ways to monitor a linux webserver in real time via webmuzzle?

There is a simple clean php-fpm + nginx virtual web server, full root access without admin panel installed. I got the idea to write my own admin panel, with the necessary functionality.
The panel opens as a simple website via htpps.
Question: what are the ways to monitor a web server with real-time statistics output through a web interface?
By statistics I mean: At least CPU, Memory. Also relevant is the output of running processes, the quota.
Interested in the process of obtaining data. The only thing that I have on the Internet is the php ssh2 module that allows you to execute commands through php, well, it seems to me that this is not the best solution.
In which direction to dig, I will be glad to any material and ideas.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2016-04-16
@proxid

Webmin already exists.
Your question is incomprehensible - what does it mean, what are the ways to monitor a web server with output through a web interface?
Maybe monitoring the server itself?
Well, there are only three options:
Execute console commands, parse the response
See system files in /proc, /dev
use standard php tools, such as php.net/manual/en/function.sys-getloadavg.php

Z
zelsky, 2016-04-16
@zelsky

What for ? If you have root. Then ssx + top or xtop. Delov then.

R
Roman Popov, 2016-04-17
@Roman_Popov

SSH + top
Welcome to the Linux way!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question