sebaz Posted January 23, 2004 Share Posted January 23, 2004 it needs to dump all its information to an xml file. What im trying to do is create a cron that will run this app, dump its system stats on a xml, THEN, get php to parse that xml read the info and put it on a sig, after thats done FTP it to a web space. So far i have the ftp/pic part working, however all i have that i can get from my system is the uptime, as it is. So if i get a system monitor app that could read my system stats put on a xml file then read it with php i could have all that cooool crappola as HD space..cpu usage..etc etc. Im doing this to learn more php and see how php handles xml parsing. So there you have it anyone know a system monitor app that can dump its info into an xml, OR another way to get system stats with another app? Thanx guys. Link to comment Share on other sites More sharing options...
Tim Dorr Veteran Posted January 23, 2004 Veteran Share Posted January 23, 2004 You can get disc, memory, and cpu usage from the command line. I'm gonna have to convert my script to the Unix/BSD platform when I get my G5. Your best bet is to run some regex's on the output from top. Link to comment Share on other sites More sharing options...
Recommended Posts