Admin Books

DOWNLOAD Free e-Books for Linux Admin Servers :

VPSinfo php application for vps reporting


vpsinfo shows the following output:

Output from top;
Processed /proc/user_beancounters (VPS resources);
Output from netstat -nt (current TCP connections);
Output from netstat -ntl (listening TCP ports);
Output from pstree (tree view of running processes);
Output from ls -a /tmp (and ls -al /tmp);
Output from vnstat (an application that monitors traffic at the network interface) using its various commandline switches;
Output from mytop (an application that monitors MySQL) or from mysqlreport (a perl script which generates a mysql status report);
Status monitoring of daemon processes;
Summary section showing:
Values for oomguarpages and privvmpages (or free RAM and swap usage on a dedicated machine);
Data transfer today through the network interface (from vnstat);
Current number of TCP connections;
Current number of Apache and MySQL threads, and MySQL queries (from mytop or mysqlreport)
Disk usage.

Requirements
Linux;
PHP: vpsinfo was initially developed with v. 4.3.10 and should run fine with later releases;
The beanc helper app if running on a Virtuozzo v. 3 or OpenVZ server;
PHP safe mode off. Safe mode disables the ability to run programs outside the script directory (reference).

Optional Third-party Software
These applications are not required to run vpsinfo, but if installed they are used to gather additional information:

vnstat: an application to monitor data transfer at the network interface. Highly recommended!
mytop: an application similar to 'top' but which monitors a MySQL server.
mysqlreport: a perl script that generates an analysis of MySQL performance.


Download:http://www.labradordata.ca/home/13