Changeset 842
- Timestamp:
- Dec 31, 2016, 12:57:08 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 18 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigLinux/Generators/Latency.php
r824 r842 22 22 exec('fping -e -r '.$RetryLimit.' -t '.$Timeout.' -a '.implode(' ', $Hosts).' 2>/dev/null', $Output); 23 23 24 $this->Database->query('BEGIN'); 24 25 foreach($Output as $Index => $Line) { 25 26 $IP = substr($Line, 0, strPos($Line, ' ')); … … 27 28 $Value = substr($Line, 0, strpos($Line, ' ')); 28 29 //echo($IP.' '.$Value."\n"); 29 $this->Database->insert('NetworkInterfaceLatency', array('Interface' => $HostInterface[$IP], 30 $this->Database->insert('NetworkInterfaceLatency', array('Interface' => $HostInterface[$IP], 30 31 'Value' => $Value, 'Time' => TimeToMysqlDateTime($Time))); 31 32 } 33 $this->Database->query('COMMIT'); 32 34 } 33 35 -
trunk/Readme.txt
r828 r842 31 31 htmldoc - Pro generování PDF z HTML 32 32 33 Ubuntu: apt-get install htmldoc php7-mbstrin 33 Ubuntu: apt-get install htmldoc php7-mbstring 34 34 35 35 6) Speedtest
Note:
See TracChangeset
for help on using the changeset viewer.