draw image graph with uptime command
| From: | Daniel Masur | Date: | Fri, 04 Jan 2002 07:54:00 +0000 |
| Subject: | draw image graph with uptime command | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79430@lists.php.net to get a copy of this message | ||
what i want to do is, parsing the "uptime" command in suse, get the stats
for 1, 5 and 15 minute cpu utilisation, and draw an image.
just like the taskmanager in win windows 2000, xp, and nt.anybody did this
before?
should look like this:
/
| ____________ /
| / \ /
| ___/ \/
| /
|/______________________
uptime: 68days
parsing the uptime command, isnt a problem, but how to coordinate the 3
values in the image.
also i have the ability, to save all values in a mysql db.
anybody can help?
ps, i never worked with images in php before...