Re: [PLUGIN] VestaCP Tools Plugin
Posted: Sun Mar 04, 2018 3:10 pm
It may be interesting to add another tab, with basic info about de server.
For example, CPUs, Disk drive and RAM
This could be handy to check disk usage on VestaCP, for example.
I'd do a PR myself but I don't know the first thing about JSON and PHP to parse bash output.
In bash, it could be done with a couple of commands (maybe on PHP with 'exec' could be an option):
Disk information: df -h
RAM information: free -h
CPU information: lscpu (also lshw -class processor)
For example, CPUs, Disk drive and RAM
This could be handy to check disk usage on VestaCP, for example.
I'd do a PR myself but I don't know the first thing about JSON and PHP to parse bash output.
In bash, it could be done with a couple of commands (maybe on PHP with 'exec' could be an option):
Disk information: df -h
RAM information: free -h
CPU information: lscpu (also lshw -class processor)