Yea, that's my #1 concern now that I know its worth pursuing as a more well developed product. I'm hope to step away from PHP totally for the next iteration. This was more-so a proof-of-concept for the sake of feedback.
I was thinking about not forking processes to read a file, not to avoid the use of php, if you're comfortable with that.
What ideas do you have about reading the stats? You'll have to use a server side language anyway (or do you plan to read data from a third party service with a restful api?)
edit: if you want to have a zero-install tool I'd suggest to go with python plus bottle (a one file webframework), so that you would be able to clone and use it from any directory.
Comments
Nice interface, but it's a bit strange to me that it uses shell exec for every kind of measure.
e.g. # uptime.php <?php echo (int) (shell_exec('cat /proc/uptime')/(60*60));
Yea, that's my #1 concern now that I know its worth pursuing as a more well developed product. I'm hope to step away from PHP totally for the next iteration. This was more-so a proof-of-concept for the sake of feedback.
I was thinking about not forking processes to read a file, not to avoid the use of php, if you're comfortable with that.
What ideas do you have about reading the stats? You'll have to use a server side language anyway (or do you plan to read data from a third party service with a restful api?)
edit: if you want to have a zero-install tool I'd suggest to go with python plus bottle (a one file webframework), so that you would be able to clone and use it from any directory.
Yes, seems incredibly insecure approach, although the interface is beautiful.