ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/latest/latest_display.inc.php
(Generate patch)

Comparing projects/cms/source/reports/php/latest/latest_display.inc.php (file contents):
Revision 1.10 by pjm2, Fri Mar 23 23:55:37 2001 UTC vs.
Revision 1.11 by tdb, Sun Oct 13 12:41:16 2002 UTC

# Line 11 | Line 11 | showStat("I.P. Address", "packet.attributes.ip", $inpu
11  
12   printLine("Load");
13  
14 < showStat("Load 1", "packet.load.load1", $input);
15 < showStat("Load 5", "packet.load.load5", $input);
16 < showStat("Load 15", "packet.load.load15", $input);
14 > showStat("Load 1", "packet.load.load1", $input, "load");
15 > showStat("Load 5", "packet.load.load5", $input, "load");
16 > showStat("Load 15", "packet.load.load15", $input, "load");
17  
18  
19   printLine("Memory graphs");
20  
21 < showBar("Swap Used", "packet.swap.free", "packet.swap.total", "Mb", $input, 'swap');
22 < showBar("Memory Used", "packet.memory.free", "packet.memory.total", "Mb", $input, 'swap');
21 > showBar("Swap Used", "packet.swap.free", "packet.swap.total", "Mb", $input, "swap", 'swap');
22 > showBar("Memory Used", "packet.memory.free", "packet.memory.total", "Mb", $input, "mem", 'swap');
23  
24  
25   printLine("CPU graphs");
26  
27 < showBar("User CPU", "packet.cpu.user", 100, "%", $input);
28 < showBar("Swap CPU", "packet.cpu.swap", 100, "%", $input);
29 < showBar("Idle CPU", "packet.cpu.idle", 100, "%", $input);
30 < showBar("Kernel CPU", "packet.cpu.kernel", 100, "%", $input);
31 < showBar("IO wait CPU", "packet.cpu.iowait", 100, "%", $input);
27 > showBar("User CPU", "packet.cpu.user", 100, "%", $input, "cpu");
28 > showBar("Swap CPU", "packet.cpu.swap", 100, "%", $input, "cpu");
29 > showBar("Idle CPU", "packet.cpu.idle", 100, "%", $input, "cpu");
30 > showBar("Kernel CPU", "packet.cpu.kernel", 100, "%", $input, "cpu");
31 > showBar("IO wait CPU", "packet.cpu.iowait", 100, "%", $input, "cpu");
32  
33  
34   printLine("Operating System");
# Line 42 | Line 42 | showStat("System Name", "packet.os.sysname", $input);
42  
43   printLine("Processes");
44  
45 < showStat("Total Processes", "packet.processes.total", $input);
46 < showStat("CPU Processes", "packet.processes.cpu", $input);
47 < showStat("Sleeping Processes", "packet.processes.sleeping", $input);
48 < showStat("Zombie Processes", "packet.processes.zombie", $input);
49 < showStat("Stopped Processes", "packet.processes.stopped", $input);
45 > showStat("Total Processes", "packet.processes.total", $input, "proc");
46 > showStat("CPU Processes", "packet.processes.cpu", $input, "proc");
47 > showStat("Sleeping Processes", "packet.processes.sleeping", $input, "proc");
48 > showStat("Zombie Processes", "packet.processes.zombie", $input, "proc");
49 > showStat("Stopped Processes", "packet.processes.stopped", $input, "proc");
50  
51  
52   printLine("Uptime");
# Line 66 | Line 66 | showStat("Last sequence number", "packet.attributes.se
66  
67   printLine("Users");
68  
69 < showStat("Number of users", "packet.users.count", $input);
69 > showStat("Number of users", "packet.users.count", $input, "users");
70   showStat("User list", "packet.users.list", $input);
71  
72   ?>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines