1 |
< |
<? |
1 |
> |
<?php |
2 |
|
|
3 |
|
# Display the following data. |
4 |
|
|
36 |
|
|
37 |
|
printLine("Memory graphs"); |
38 |
|
|
39 |
< |
showBar("Swap Used", "packet.swap.free", "packet.swap.total", "b", $input, "swap", 'swap'); |
40 |
< |
showBar("Memory Used", "packet.memory.free", "packet.memory.total", "b", $input, "mem", '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 |
|
|
53 |
|
|
54 |
|
printLine("Disks"); |
55 |
|
|
56 |
< |
showDisks("packet.disk", "b", $input); |
56 |
> |
showDisks("packet.disk", "MB", $input); |
57 |
|
|
58 |
|
|
59 |
|
printLine("Disk IO"); |
66 |
|
showNet("packet.net", $input); |
67 |
|
|
68 |
|
|
69 |
+ |
printLine("Mail Queue Sizes"); |
70 |
+ |
|
71 |
+ |
showMailQ("packet.mailq", $input); |
72 |
+ |
|
73 |
+ |
|
74 |
|
printLine("Uptime"); |
75 |
|
|
76 |
< |
showStat("Seconds Uptime", "packet.os.uptime", $input); |
76 |
> |
showUptime("Uptime", "packet.os.uptime", $input); |
77 |
|
|
78 |
|
|
79 |
|
printLine("Users"); |