Introduction
CPU Status is a small Perl script written as a CGI that uses the Unix-Processors Perl module from CPAN. It works under either the Solaris or Linux operating systems with either SPARC or Intel CPUs.
In a nutshell, what it does is go through all CPUs on your system (even uniprocessor machines) and reports back the CPU ID, current state, frequency in MHz and the type. This way you can tell if one or more of your CPUs is disabled due to operator control or failure as well as identify what a machine's resources are remotely.
Demo
See the output from a 12-CPU Enterprise 4500 server (static).
Installation
To install the software, extract the tarball in the directory of your Webserver's document root where you wish to place the cpu-status directory. This is required for several images that the program's output calls for.
As for the CGI itself, simply copy the "cpu-status.cgi" file to your Webserver's /cgi-bin/ directory and make sure that the location of your Perl interpreter is correct on the first line. Also, modify the line that reads "my $filepath = "/cpu-status";" to reflect the location of your installation directory.
Changes
v0.2 - Adds uptime output in report.
Download
You can grab the latest copy, which is currently cpu-status-v0.2.tar.gz
Previous Versions:
cpu-status-v0.1.tar.gz