Changeset 20 for measure_scripts
- Timestamp:
- Oct 22, 2007, 5:04:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
measure_scripts/traffic.php
r19 r20 25 25 function Ping() 26 26 { 27 //$File = fopen('/a/log/ping_nix.txt', 'r');28 //$Row = fgets($File);29 //fclose($File);30 27 exec('ping nix.cz -c 1 |grep time=', $Row); 31 $Parts = explode(' ', $Row );28 $Parts = explode(' ', $Row[0]); 32 29 if(count($Parts) > 6) 33 30 {
Note:
See TracChangeset
for help on using the changeset viewer.