simple command line to browser page

this is a simple html/php page for showing commands from the line in a browser. use it as a template for whatever you need. <html> <head> <title></title> <body> <form method=GET> <input type=”radio” name=”choice” value=”1″>uptime<br> <input type=”radio” name=”choice” value=”2″>whoami<br> <input type=”radio” name=”choice” value=”3″>df -h<br> <input type=”radio” name=”choice” value=”4″>du -h<br> <input type=”radio” name=”choice” value=”5″>ps -ef<br> <input type=”radio” … Read More

simple snmp counter script

this is a simple little script to count the errors and other things out put over snmp during the course of one minute. i didnt leave the output portion of this script on the bottom of it since i was using it for a couple of different things. #!/bin/bash -x # count is a “counter” … Read More