diff options
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index ef348a2a9..b119c55c1 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2172,6 +2172,30 @@ USE_FEATURE_MDEV_CONFIG( \ | |||
2172 | "Options:\n" \ | 2172 | "Options:\n" \ |
2173 | "\t-n ADJUST\tAdjust the scheduling priority by ADJUST" | 2173 | "\t-n ADJUST\tAdjust the scheduling priority by ADJUST" |
2174 | 2174 | ||
2175 | #define nmeter_trivial_usage \ | ||
2176 | "format_string" | ||
2177 | #define nmeter_full_usage \ | ||
2178 | "Nmeter monitors your system in real time.\n\n" \ | ||
2179 | "Format specifiers:\n" \ | ||
2180 | "%Nc or %[cN] monitor CPU. N - bar size, default 10\n" \ | ||
2181 | " (displays: S:system U:user N:niced D:iowait I:irq i:softirq)\n" \ | ||
2182 | "%[niface] monitor network interface 'iface'\n" \ | ||
2183 | "%m monitor allocated memory\n" \ | ||
2184 | "%[mf] monitor free memory\n" \ | ||
2185 | "%[mt] monitor total memory\n" \ | ||
2186 | "%s monitor allocated swap\n" \ | ||
2187 | "%f monitor number of used file descriptors\n" \ | ||
2188 | "%Ni monitor total/specific IRQ rate\n" \ | ||
2189 | "%x monitor context switch rate\n" \ | ||
2190 | "%p monitor forks\n" \ | ||
2191 | "%[pn] monitor # of processes\n" \ | ||
2192 | "%b monitor block io\n" \ | ||
2193 | "%Nt show time (with N decimal points)\n" \ | ||
2194 | "%Nd milliseconds between updates (default=1000)\n" \ | ||
2195 | "%r print <cr> instead of <lf> at EOL" | ||
2196 | #define nmeter_example_usage \ | ||
2197 | "nmeter '%250d%t %20c int %i bio %b mem %m forks%p'" | ||
2198 | |||
2175 | #define nohup_trivial_usage \ | 2199 | #define nohup_trivial_usage \ |
2176 | "COMMAND [ARGS]" | 2200 | "COMMAND [ARGS]" |
2177 | #define nohup_full_usage \ | 2201 | #define nohup_full_usage \ |