18 |
|
|
19 |
|
printLine("Memory graphs"); |
20 |
|
|
21 |
< |
showBar("Swap Free", "packet.swap.free", "packet.swap.total", "Mb", $input); |
22 |
< |
showBar("Memory Free", "packet.memory.free", "packet.memory.total", "Mb", $input); |
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'); |
23 |
|
|
24 |
|
|
25 |
|
printLine("CPU graphs"); |
52 |
|
printLine("Uptime"); |
53 |
|
|
54 |
|
showStat("Uptime (um... seconds)", "packet.os.uptime", $input); |
55 |
+ |
|
56 |
+ |
|
57 |
+ |
printLine("Disks"); |
58 |
+ |
|
59 |
+ |
showDisks("packet.disk", "Kb", $input); |
60 |
|
|
61 |
|
|
62 |
|
printLine("Packet"); |
69 |
|
showStat("Number of users", "packet.users.count", $input); |
70 |
|
showStat("User list", "packet.users.list", $input); |
71 |
|
|
72 |
< |
?> |
72 |
> |
?> |