Ignore:
Timestamp:
Feb 13, 2008, 2:24:11 PM (17 years ago)
Author:
george
Message:

Oprava měřících skriptů

File:
1 edited

Legend:

Unmodified
Added
Removed
  • measure_scripts/monitor_sample.php

    r27 r30  
    77include('wow.php');
    88
    9 GetNetworkStat();
     9//GetNetworkState();
    1010while(1)
    1111{
    12   $NetworkStat = GetNetworkState();
     12  $NetworkState = GetNetworkState();
    1313  file_get_contents($Config['AddNewValueUrl'].'?MeasureId=3&Value='.MemoryUsage());
    1414  file_get_contents($Config['AddNewValueUrl'].'?MeasureId=4&Value='.CpuUsage());
     
    1818  file_get_contents($Config['AddNewValueUrl'].'?MeasureId=8&Value='.WoWAccountCount());
    1919  file_get_contents($Config['AddNewValueUrl'].'?MeasureId=10&Value='.WoWGMOnline());
    20   file_get_contents($Config['AddNewValueUrl'].'?MeasureId=11&Value='.round($NetworkStat['eth1']['down_avg']));
    21   file_get_contents($Config['AddNewValueUrl'].'?MeasureId=12&Value='.round($NetworkStat['eth1']['up_avg']));
     20  file_get_contents($Config['AddNewValueUrl'].'?MeasureId=11&Value='.round($NetworkState['eth1']['down_avg']));
     21  file_get_contents($Config['AddNewValueUrl'].'?MeasureId=12&Value='.round($NetworkState['eth1']['up_avg']));
    2222  file_get_contents($Config['AddNewValueUrl'].'?MeasureId=13&Value='.WoWCharacterCount());
    2323  file_get_contents($Config['AddNewValueUrl'].'?MeasureId=14&Value='.WoWGuildCount());
Note: See TracChangeset for help on using the changeset viewer.