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
+20-15Lines changed: 20 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,36 +1,41 @@
1
1
# ProcessPerformance
2
-
ProcessPerformance is a tool that allows you to collect performance data and memory and network of running processes.
2
+
ProcessPerformance is an easy-to-use command-line tool that provides runtime information about the CPU, memory, and network resources consumed by any combination of running processes. It does not inject code in the program sources or the binaries, avoiding the overhead caused by that measurement technique. ProcessPerformance is implemented as an open-source .NET Core application, which runs on Linux, macOS, and Windows.
3
3
4
4
## Prerequisites
5
-
[.NET Core Runtime 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1) or higher
5
+
[.NET Core Runtime 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1) or higher.
6
6
7
7
## Usage
8
-
To run ProcessPerformance you just need to execute:
8
+
To run ProcessPerformance on Windows, you just need to execute:
9
9
10
10
```bash
11
11
ProcessPerformance.exe
12
12
```
13
+
On Linux and macOS:
14
+
15
+
```bash
16
+
dotnet run ProcessPerformance
17
+
```
13
18
14
19
This will start the process performance reporter with default parameters.
15
20
16
21
## Options
17
-
*`-help`Displays the usage message
18
-
*`-network:NETWORK_IP` Specify the network interface IP (disable by default).
19
-
*`-interval:MILISENCONS` Specify the interval time in milisecons (default is 1000).
20
-
*`-csv`Specify output format as CSV (disable by default).
21
-
*`process_1 ... process_n` A list of process names (if empty, all running processes are used).
22
-
*`Ctrl + c` interrupts the execution.
22
+
*`-help`Display the command line arguments.
23
+
*`-network:NETWORK_IP` Specify P address of the network interface used to measure data transmission (disabled by default).
24
+
*`-interval:MILLISECONDS` The interval used to gather the runtime information of resource consumption, expressed in milliseconds. The default value is 1,000 (one second).
25
+
*`-csv` Show the output in comma-separated values (CSV) format (disabled by default).
26
+
*`process_1 ... process_n` A space-separated list of the names or PIDs (process identifiers) of the processes to be monitored. If no process is passed, the overall system resources are displayed.
27
+
*`Ctrl + c` Terminate the execution of ProcessPerformance.
23
28
24
29
## Example
25
-
An example of use is monitoring Google Chrome and Microsoft Teams applications every 5 seconds, including system network traffic.
30
+
An example of use is monitoring Google Chrome and Microsoft Teams applications every 5 seconds, including system network traffic:
26
31
27
32
```bash
28
-
ProcessPerformance.exe -network:192.168.0.100 -interval:500 chrome teams
33
+
ProcessPerformance.exe -network:192.168.0.100 -interval:5000 chrome teams
29
34
30
-
chrome+teams (34 ths) = CPU: 5,18 % | Memory: 3.999 MB |Process: Sent 0 KB (0 kbps) - Received 0 KB (0 kbps) | Network: Sent 12 KB (89 kbps) - Received 4 KB (29 kbps)
31
-
chrome+teams (26 ths) = CPU: 1,69 % | Memory: 3.761 MB |Process: Sent 3 KB (24 kbps) - Received 29 KB (237 kbps) | Network: Sent 42 KB (219 kbps) - Received 62 KB (431 kbps)
32
-
chrome+teams (20 ths) = CPU: 0,00 % | Memory: 3.294 MB |Process: Sent 46 KB (350 kbps) - Received 96 KB (542 kbps) | Network: Sent 169 KB (918 kbps) - Received 287 KB (1.622 kbps)
33
-
chrome+teams (24 ths) = CPU: 11,53 % | Memory: 3.425 MB |Process: Sent 93 KB (382 kbps) - Received 201 KB (864 kbps) | Network: Sent 242 KB (562 kbps) - Received 380 KB (716 kbps)
35
+
chrome+teams (34 processes) = CPU: 5.18 % | Memory: 3,999 MB |Processes: Sent 0 KB (0 kbps) - Received 0 KB (0 kbps) | Network: Sent 12 KB (89 kbps) - Received 4 KB (29 kbps)
36
+
chrome+teams (26 processes) = CPU: 1.69 % | Memory: 3,761 MB |Processes: Sent 3 KB (24 kbps) - Received 29 KB (237 kbps) | Network: Sent 42 KB (219 kbps) - Received 62 KB (431 kbps)
37
+
chrome+teams (20 processes) = CPU: 0.00 % | Memory: 3,294 MB |Processes: Sent 46 KB (350 kbps) - Received 96 KB (542 kbps) | Network: Sent 169 KB (918 kbps) - Received 287 KB (1,622 kbps)
38
+
chrome+teams (24 processes) = CPU: 11.53 % | Memory: 3,425 MB |Processes: Sent 93 KB (382 kbps) - Received 201 KB (864 kbps) | Network: Sent 242 KB (562 kbps) - Received 380 KB (716 kbps)
0 commit comments