question about html using shell script |
question about html using shell script |
joellpr |
Nov 6 2012, 01:20 PM
Post
#1
|
Group: Members Posts: 1 Joined: 6-November 12 Member No.: 18,069 |
Hi,
I'm totally new in html, I'm looking the way to representate the healt of the status of the system resources, let's say CPU, RAM, IO usage, but if the % of use is over the 90% I would like to see a circle in red color, if the % of use if between 60% and 89% I would like to see a circle in yellow color, finally if the % of use is below of 59% I would like to see a circle in green color. the input will be a csv file, something like: Date Time ,CPU, Memory, Disk, Swap, 11/05 17:00, 9, 94, 100, 63, and I would like to use a shell or perl script to use such input file to create/generate a HTML something like the attaches chart. I appreciate any help. Regards, Attached thumbnail(s) |
Darin McGrew |
Nov 7 2012, 01:19 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Perhaps one of these CGI or PHP server-info scripts will meet your needs:
http://cgi.resourceindex.com/Programs_and_...er_Maintenance/ http://php.resourceindex.com/Complete_Scri...tem_Statistics/ |
Lo-Fi Version | Time is now: 17th April 2024 - 12:53 AM |