commit - 809a0cb53708c2842f9fcd0fd1122094cd2f7575
commit + 4a206fc9175ec29f3356e0b5c39fd970b9933e33
blob - 317336b57816b01e248841c162bfb6d37cd71591
blob + ff8d53e934c2ebe0de0152ddb94ade37727ff8c5
--- commands.c
+++ commands.c
};
struct prot1 systatcs[] = {
- { "interface", "Interface",
+ { "interface", "Interface",
{ SYSTAT, "-d 3", "ifstat", NULL, NULL, NULL } },
- { "net", "Network connection",
- { SYSTAT, "-d 3", "netstat", NULL, NULL, NULL } },
- { "mbuf", "Network data memory buffer",
+ { "net", "Network connection",
+ { SYSTAT, "-d 3", "netstat", NULL, NULL, NULL } },
+ { "mbuf", "Network data memory buffer",
{ SYSTAT, "-d 3", "mbuf", NULL, NULL, NULL } },
- { "queues", "Active Packet Filter queue",
+ { "queues", "Active Packet Filter queue",
{ SYSTAT, "-d 3", "queues", NULL, NULL, NULL } },
- { "rules", "Active Packet Filter rule",
+ { "rules", "Active Packet Filter rule",
{ SYSTAT, "-d 3", "rules", NULL, NULL, NULL } },
- { "states", "Packet Filter connection state",
+ { "states", "Packet Filter connection state",
{ SYSTAT, "-d 3", "state", NULL, NULL, NULL } },
- { "packet-filter", "Packet Filter ",
- { SYSTAT, "-d 3", "pf", NULL, NULL, NULL } },
- { "sensors", "Supported hardware sensor reading",
+ { "packet-filter", "Packet Filter ",
+ { SYSTAT, "-d 3", "pf", NULL, NULL, NULL } },
+ { "sensors", "Supported hardware sensor reading",
{ SYSTAT, "-d 3", "sensors", NULL, NULL, NULL } },
- { "pigs", "CPU resource hog program",
+ { "pigs", "CPU resource hog program",
{ SYSTAT, "-d 3", "pigs", NULL, NULL, NULL } },
- { "virtual-memory", "Virtual memory usage",
+ { "virtual-memory", "Virtual memory usage",
{ SYSTAT, "-d 3", "vmstat", NULL, NULL, NULL } },
- { "cpu", "CPU usage",
- { SYSTAT, "-d 3", "cpu", NULL, NULL, NULL } },
- { "uvm", "UVM subsystem",
+ { "cpu", "CPU usage",
+ { SYSTAT, "-d 3", "cpu", NULL, NULL, NULL } },
+ { "uvm", "UVM subsystem",
{ SYSTAT, "-d 3", "uvm", NULL, NULL, NULL } },
- { "swap", "Swap space usage",
- { SYSTAT, "-d 3", "swap", NULL, NULL, NULL } },
- { "pool", "Kernel pool usage",
- { SYSTAT, "-d 3", "pool", NULL, NULL, NULL } },
- { "pcache", "Kernel pool per CPU cache",
- { SYSTAT, "-d 3", "pcache", NULL, NULL, NULL } },
- { "malloc", "Kernel memory allocation type",
+ { "swap", "Swap space usage",
+ { SYSTAT, "-d 3", "swap", NULL, NULL, NULL } },
+ { "pool", "Kernel pool usage",
+ { SYSTAT, "-d 3", "pool", NULL, NULL, NULL } },
+ { "pcache", "Kernel pool per CPU cache",
+ { SYSTAT, "-d 3", "pcache", NULL, NULL, NULL } },
+ { "malloc", "Kernel memory allocation type",
{ SYSTAT, "-d 3", "malloc", NULL, NULL, NULL } },
- { "bucket", "Kernel malloc bucket",
+ { "bucket", "Kernel malloc bucket",
{ SYSTAT, "-d 3", "bucket", NULL, NULL, NULL } },
{ 0, 0, { 0 } }
};