You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+77-78Lines changed: 77 additions & 78 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,84 +9,83 @@ This program aims to collect Linux system information including hostname, kernel
9
9
10
10
```
11
11
EXAMPLES:
12
-
mprober hostname # Show the hostname
13
-
mprober kernel # Show the kernel version
14
-
mprober uptime # Show the uptime
15
-
mprober uptime -m # Show the uptime and refresh every second
16
-
mprober uptime -p # Show the uptime without colors
17
-
mprober uptime -l # Show the uptime with darker colors (fitting in with light themes)
18
-
mprober uptime -s # Show the uptime in seconds
19
-
mprober time # Show the RTC (UTC) date and time
20
-
mprober time -m # Show the RTC (UTC) date and time and refresh every second
21
-
mprober time -p # Show the RTC (UTC) date and time without colors
22
-
mprober time -l # Show the RTC (UTC) date and time with darker colors (fitting in with light themes)
23
-
mprober cpu # Show load average and current CPU stats on average
24
-
mprober cpu -m 1000 # Show load average and CPU stats on average and refresh every 1000 milliseconds
25
-
mprober cpu -p # Show load average and current CPU stats on average without colors
26
-
mprober cpu -l # Show load average and current CPU stats on average with darker colors (fitting in with light themes)
27
-
mprober cpu -s # Show load average and current stats of CPU cores separately
28
-
mprober cpu -i # Only show CPU information
29
-
mprober memory # Show current memory stats
30
-
mprober memory -m 1000 # Show memory stats and refresh every 1000 milliseconds
31
-
mprober memory -p # Show current memory stats without colors
32
-
mprober memory -l # Show current memory stats with darker colors (fitting in with light themes)
33
-
mprober memory -u kb # Show current memory stats in KB
34
-
mprober network # Show current network stats
35
-
mprober network -m 1000 # Show network stats and refresh every 1000 milliseconds
36
-
mprober network -p # Show current network stats without colors
37
-
mprober network -l # Show current network stats with darker colors (fitting in with light themes)
38
-
mprober network -u kb # Show current network stats in KB
39
-
mprober volume # Show current volume stats
40
-
mprober volume -m 1000 # Show current volume stats and refresh every 1000 milliseconds
41
-
mprober volume -p # Show current volume stats without colors
42
-
mprober volume -l # Show current volume stats without colors
43
-
mprober volume -u kb # Show current volume stats in KB
44
-
mprober volume -i # Only show volume information without I/O rates
45
-
mprober volume --mounts # Show current volume stats including mount points
46
-
mprober process # Show a snapshot of the current processes
47
-
mprober process -m 1000 # Show a snapshot of the current processes and refresh every 1000 milliseconds
48
-
mprober process -p # Show a snapshot of the current processes without colors
49
-
mprober process -l # Show a snapshot of the current processes with darker colors (fitting in with light themes)
50
-
mprober process -i # Show a snapshot of the current processes but not including CPU usage
51
-
mprober process -u kb # Show a snapshot of the current processes. Information about memory size is in KB
52
-
mprober process --truncate 10 # Show a snapshot of the current processes with a specific truncation length to truncate user, group, program's names
53
-
mprober process --top 10 # Show a snapshot of current top-10 (ordered by CPU and memory usage) processes
54
-
mprober process -t # Show a snapshot of the current processes with the start time of each process
55
-
mprober process --pid-filter 3456 # Show a snapshot of the current processes which are related to a specific PID
56
-
mprober process --user-filter user1 # Show a snapshot of the current processes which are related to a specific user
57
-
mprober process --group-filter gp1 # Show a snapshot of the current processes which are related to a specific group
58
-
mprober process --tty-filter tty # Show a snapshot of the current processes which are related to specific tty names matched by a regex
59
-
mprober process --program-filter ab # Show a snapshot of the current processes which are related to specific program names or commands matched by a regex
60
-
mprober web # Start a HTTP service on port 8000 to monitor this computer. The default time interval is 3 seconds
61
-
mprober web -m 2 # Start a HTTP service on port 8000 to monitor this computer. The time interval is set to 2 seconds
62
-
mprober web -p 7777 # Start a HTTP service on port 7777 to monitor this computer
63
-
mprober web --addr 127.0.0.1 # Start a HTTP service on 127.0.0.1:8000 to monitor this computer
64
-
mprober web -a auth_key # Start a HTTP service on port 8000 to monitor this computer. APIs need to be invoked with an auth key
65
-
mprober web --only-api # Start a HTTP service on port 8000 to serve only HTTP APIs
66
-
mprober benchmark # Run benchmarks
67
-
mprober benchmark --disable-cpu # Run benchmarks except for benchmarking CPU
68
-
mprober benchmark --enable-memory # Benchmark the memory
69
-
70
-
USAGE:
71
-
mprober [SUBCOMMAND]
72
-
73
-
OPTIONS:
74
-
-h, --help Print help information
75
-
-V, --version Print version information
76
-
77
-
SUBCOMMANDS:
78
-
hostname Show the hostname
79
-
kernel Show the kernel version
80
-
uptime Show the uptime
81
-
time Show the RTC (UTC) date and time
82
-
cpu Show CPU stats
83
-
memory Show memory stats
84
-
network Show network stats
85
-
volume Show volume stats
86
-
process Show process stats
87
-
web Start a HTTP service to monitor this computer
88
-
benchmark Run benchmarks to measure the performance of this environment
89
-
help Print this message or the help of the given subcommand(s)
12
+
mprober hostname # Show the hostname
13
+
mprober kernel # Show the kernel version
14
+
mprober uptime # Show the uptime
15
+
mprober uptime -m # Show the uptime and refresh every second
16
+
mprober uptime -p # Show the uptime without colors
17
+
mprober uptime -l # Show the uptime with darker colors (fitting in with light themes)
18
+
mprober uptime -s # Show the uptime in seconds
19
+
mprober time # Show the RTC (UTC) date and time
20
+
mprober time -m # Show the RTC (UTC) date and time and refresh every second
21
+
mprober time -p # Show the RTC (UTC) date and time without colors
22
+
mprober time -l # Show the RTC (UTC) date and time with darker colors (fitting in with light themes)
23
+
mprober cpu # Show load average and current CPU stats on average
24
+
mprober cpu -m 1000 # Show load average and CPU stats on average and refresh every 1000 milliseconds
25
+
mprober cpu -p # Show load average and current CPU stats on average without colors
26
+
mprober cpu -l # Show load average and current CPU stats on average with darker colors (fitting in with light themes)
27
+
mprober cpu -s # Show load average and current stats of CPU cores separately
28
+
mprober cpu -i # Only show CPU information
29
+
mprober memory # Show current memory stats
30
+
mprober memory -m 1000 # Show memory stats and refresh every 1000 milliseconds
31
+
mprober memory -p # Show current memory stats without colors
32
+
mprober memory -l # Show current memory stats with darker colors (fitting in with light themes)
33
+
mprober memory -u kb # Show current memory stats in KB
34
+
mprober network # Show current network stats
35
+
mprober network -m 1000 # Show network stats and refresh every 1000 milliseconds
36
+
mprober network -p # Show current network stats without colors
37
+
mprober network -l # Show current network stats with darker colors (fitting in with light themes)
38
+
mprober network -u kb # Show current network stats in KB
39
+
mprober volume # Show current volume stats
40
+
mprober volume -m 1000 # Show current volume stats and refresh every 1000 milliseconds
41
+
mprober volume -p # Show current volume stats without colors
42
+
mprober volume -l # Show current volume stats without colors
43
+
mprober volume -u kb # Show current volume stats in KB
44
+
mprober volume -i # Only show volume information without I/O rates
45
+
mprober volume --mounts # Show current volume stats including mount points
46
+
mprober process # Show a snapshot of the current processes
47
+
mprober process -m 1000 # Show a snapshot of the current processes and refresh every 1000 milliseconds
48
+
mprober process -p # Show a snapshot of the current processes without colors
49
+
mprober process -l # Show a snapshot of the current processes with darker colors (fitting in with light themes)
50
+
mprober process -i # Show a snapshot of the current processes but not including CPU usage
51
+
mprober process -u kb # Show a snapshot of the current processes. Information about memory size is in KB
52
+
mprober process --truncate 10 # Show a snapshot of the current processes with a specific truncation length to truncate user, group, program's names
53
+
mprober process --top 10 # Show a snapshot of current top-10 (ordered by CPU and memory usage) processes
54
+
mprober process -t # Show a snapshot of the current processes with the start time of each process
55
+
mprober process --pid-filter 3456 # Show a snapshot of the current processes which are related to a specific PID
56
+
mprober process --user-filter user1 # Show a snapshot of the current processes which are related to a specific user
57
+
mprober process --group-filter gp1 # Show a snapshot of the current processes which are related to a specific group
58
+
mprober process --tty-filter tty # Show a snapshot of the current processes which are related to specific tty names matched by a regex
59
+
mprober process --program-filter ab # Show a snapshot of the current processes which are related to specific program names or commands matched by a regex
60
+
mprober web # Start a HTTP service on port 8000 to monitor this computer. The default time interval is 3 seconds
61
+
mprober web -m 2 # Start a HTTP service on port 8000 to monitor this computer. The time interval is set to 2 seconds
62
+
mprober web -p 7777 # Start a HTTP service on port 7777 to monitor this computer
63
+
mprober web --addr 127.0.0.1 # Start a HTTP service on 127.0.0.1:8000 to monitor this computer
64
+
mprober web -a auth_key # Start a HTTP service on port 8000 to monitor this computer. APIs need to be invoked with an auth key
65
+
mprober web --only-api # Start a HTTP service on port 8000 to serve only HTTP APIs
66
+
mprober benchmark # Run benchmarks
67
+
mprober benchmark --disable-cpu # Run benchmarks except for benchmarking CPU
68
+
mprober benchmark --enable-memory # Benchmark the memory
69
+
70
+
Usage: mprober <COMMAND>
71
+
72
+
Commands:
73
+
hostname Show the hostname
74
+
kernel Show the kernel version
75
+
uptime Show the uptime
76
+
time Show the RTC (UTC) date and time
77
+
cpu Show CPU stats
78
+
memory Show memory stats
79
+
network Show network stats
80
+
volume Show volume stats
81
+
process Show process stats
82
+
web Start a HTTP service to monitor this computer
83
+
benchmark Run benchmarks to measure the performance of this environment
84
+
help Print this message or the help of the given subcommand(s)
0 commit comments