918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Rev | Line | |
---|
[3f73876] | 1 | #!/bin/bash |
---|
| 2 | echo "Content-type: text/html" |
---|
| 3 | echo "" |
---|
| 4 | echo "<html><head><meta http-equiv='Refresh' content='11,URL=./bandwidth.sh'> <link rel='stylesheet' type='text/css' href='oglive.css' /> <title>Bash as CGI </title></head><body>" |
---|
| 5 | |
---|
| 6 | echo "<TEXTAREA class='example1' NAME='contenido' ROWS='35' COLS='50' >" |
---|
| 7 | echo " DISK || NET " |
---|
| 8 | echo "Read:Write || Recv:Send " |
---|
| 9 | echo $(tail -n1 /tmp/bandwidth) |
---|
| 10 | #echo " $(dstat -dn -f 1 1 ) " |
---|
| 11 | echo "</TEXTAREA>" |
---|
| 12 | echo "</body></html>" |
---|
Note: See
TracBrowser
for help on using the repository browser.