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.9 by pjm2, Sat Mar 17 22:35:16 2001 UTC vs.
Revision 1.14 by tdb, Fri Feb 11 14:05:31 2005 UTC

# Line 9 | Line 9 | showStat("Machine Name", "packet.attributes.machine_na
9   showStat("I.P. Address", "packet.attributes.ip", $input);
10  
11  
12 + printLine("Operating System");
13 +
14 + showStat("Operating System Release", "packet.os.release", $input);
15 + showStat("Operating System Version", "packet.os.version", $input);
16 + showStat("Operating System Name", "packet.os.name", $input);
17 + showStat("Operating System Platform", "packet.os.platform", $input);
18 + showStat("System Name", "packet.os.sysname", $input);
19 +
20 +
21 + printLine("CPU graphs");
22 +
23 + showBar("User CPU", "packet.cpu.user", 100, "%", $input, "cpu");
24 + showBar("Swap CPU", "packet.cpu.swap", 100, "%", $input, "cpu");
25 + showBar("Idle CPU", "packet.cpu.idle", 100, "%", $input, "cpu");
26 + showBar("Kernel CPU", "packet.cpu.kernel", 100, "%", $input, "cpu");
27 + showBar("IO wait CPU", "packet.cpu.iowait", 100, "%", $input, "cpu");
28 +
29 +
30   printLine("Load");
31  
32 < showStat("Load 1", "packet.load.load1", $input);
33 < showStat("Load 5", "packet.load.load5", $input);
34 < showStat("Load 15", "packet.load.load15", $input);
32 > showStat("Load 1", "packet.load.load1", $input, "load");
33 > showStat("Load 5", "packet.load.load5", $input, "load");
34 > showStat("Load 15", "packet.load.load15", $input, "load");
35  
36  
37   printLine("Memory graphs");
38  
39 < showBar("Swap Used", "packet.swap.free", "packet.swap.total", "Mb", $input, 'swap');
40 < showBar("Memory Used", "packet.memory.free", "packet.memory.total", "Mb", $input, 'swap');
39 > showBar("Swap Used", "packet.swap.free", "packet.swap.total", "MB", $input, "swap", 'swap');
40 > showBar("Memory Used", "packet.memory.free", "packet.memory.total", "MB", $input, "mem", 'swap');
41 > showStat("Swap Pages in (per sec)", "packet.pages.pageins", $input, "paging");
42 > showStat("Swap Pages out (per sec)", "packet.pages.pageouts", $input, "paging");
43  
44  
45 < printLine("CPU graphs");
45 > printLine("Processes");
46  
47 < showBar("User CPU", "packet.cpu.user", 100, "%", $input);
48 < showBar("Swap CPU", "packet.cpu.swap", 100, "%", $input);
49 < showBar("Idle CPU", "packet.cpu.idle", 100, "%", $input);
50 < showBar("Kernel CPU", "packet.cpu.kernel", 100, "%", $input);
51 < showBar("IO wait CPU", "packet.cpu.iowait", 100, "%", $input);
47 > showStat("Total Processes", "packet.processes.total", $input, "proc");
48 > showStat("CPU Processes", "packet.processes.cpu", $input, "proc");
49 > showStat("Sleeping Processes", "packet.processes.sleeping", $input, "proc");
50 > showStat("Zombie Processes", "packet.processes.zombie", $input, "proc");
51 > showStat("Stopped Processes", "packet.processes.stopped", $input, "proc");
52  
53  
54 < printLine("Operating System");
54 > printLine("Disks");
55  
56 < showStat("Operating System Release", "packet.os.release", $input);
37 < showStat("Operating System Version", "packet.os.version", $input);
38 < showStat("Operating System Name", "packet.os.name", $input);
39 < showStat("Operating System Platform", "packet.os.platform", $input);
40 < showStat("System Name", "packet.os.sysname", $input);
56 > showDisks("packet.disk", "MB", $input);
57  
58  
59 < printLine("Processes");
59 > printLine("Disk IO");
60  
61 < 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);
61 > showDiskIO("packet.diskio", $input);
62  
63  
64 < printLine("Uptime");
64 > printLine("Network IO");
65  
66 < showStat("Uptime (um... seconds)", "packet.os.uptime", $input);
66 > showNet("packet.net", $input);
67  
68  
69 < printLine("Disks");
69 > printLine("Mail Queue Sizes");
70  
71 < showDisks("packet.disk", "Kb", $input);
71 > showMailQ("packet.mailq", $input);
72  
73  
74 < printLine("Packet");
74 > printLine("Uptime");
75  
76 < showStat("Last sequence number", "packet.attributes.seq_no", $input);
76 > showUptime("Uptime", "packet.os.uptime", $input);
77  
78  
79   printLine("Users");
80  
81 < showStat("Number of users", "packet.users.count", $input);
81 > showStat("Number of users", "packet.users.count", $input, "users");
82   showStat("User list", "packet.users.list", $input);
83 +
84 +
85 + printLine("Packet");
86 +
87 + showStat("Last sequence number", "packet.attributes.seq_no", $input);
88 +
89  
90   ?>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines