source: client/shared/lib/httpd/bandwidth.sh @ 1d1e06d

Last change on this file since 1d1e06d was 4ee02ce, checked in by ramon <ramongomez@…>, 13 years ago

Versión 1.0.4, #531: Corregir permisos de ficheors.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@3161 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 474 bytes
Line 
1#!/bin/bash
2echo "Content-type: text/html"
3echo ""
4echo "<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
6echo "<TEXTAREA class='example1' NAME='contenido' ROWS='35' COLS='50'  >"
7echo "  DISK     ||   NET "
8echo "Read:Write || Recv:Send "
9echo $(tail -n1  /tmp/bandwidth)
10#echo " $(dstat -dn  -f 1 1 ) "
11echo "</TEXTAREA>"
12echo "</body></html>"
Note: See TracBrowser for help on using the repository browser.