|
1 | 1 | <h1 align="center">SimpleProcessMonitor</h1> |
2 | 2 |
|
3 | 3 | <p align="center"> |
4 | | - <img width="100%" src="https://user-images.githubusercontent.com/62136803/181089867-f2475e41-0a3a-4b7c-b8f0-e2597cfdead5.jpg" alt="SimpleProcessMonitor: screenshot"> |
| 4 | + <img width="100%" src="https://user-images.githubusercontent.com/62136803/190913216-1330e136-27f3-41e3-a853-23a298a8693e.png" alt="SimpleProcessMonitor: screenshot"> |
5 | 5 | </p> |
6 | 6 |
|
7 | 7 | <p align="center">SimpleProcessMonitor is a lightweight program to monitor your processes (similiar to top/htop).<br><br><a href="https://gitlab.com/grisetti/sistemi_operativi_2021_22/-/blob/main/so_2021_22_projects.txt">Project</a> for the Course of <a href="https://gitlab.com/grisetti/sistemi_operativi_2021_22">"Operating Systems"</a>, held by <a href="https://sites.google.com/dis.uniroma1.it/grisetti/home">Prof. Giorgio Grisetti</a> in the 2nd semester of the 3rd year of the Bachelor's Degree Course in Computer and System Engineering (A.Y. 2021/2022) at Sapienza University of Rome.</p> |
|
16 | 16 | Outside the program (from the terminal): |
17 | 17 |
|
18 | 18 | ```bash |
19 | | -./SimpleProcessMonitor [interval <time>] [terminate <pid>] [kill <pid>] [suspend <pid>] [resume <pid>] |
| 19 | +./SimpleProcessMonitor [help | terminate <pid> | kill <pid> | suspend <pid> | resume <pid> | interval <time_ss> | sort <cpu|mem|pid>] |
20 | 20 | ``` |
21 | 21 |
|
22 | 22 | Inside the program: |
23 | 23 |
|
24 | 24 | ``` |
25 | | -monitor | back - Go back to monitoring processes |
26 | | -terminate - Terminate process with pid |
27 | | -kill - Kill process with pid |
28 | | -suspend - Suspend process with pid |
29 | | -resume - Resume process with pid |
30 | | -interval - Change monitoring refresh interval |
31 | | - Measured in seconds, only integers allowed |
32 | | - Default is 3 seconds, minimum is 1 second |
33 | | -highlight - Highlight process with pid |
34 | | -unhighlight - Unhighlight currently highlighted process |
35 | | -help - Print help dialog |
36 | | -exit | quit - Exit program |
| 25 | +monitor | back - Go back to monitoring processes |
| 26 | +terminate - Terminate process with pid |
| 27 | +kill - Kill process with pid |
| 28 | +suspend - Suspend process with pid |
| 29 | +resume - Resume process with pid |
| 30 | +interval - Change monitoring refresh interval |
| 31 | + Measured in seconds, only integers allowed |
| 32 | + Default is 3 seconds, minimum is 1 second |
| 33 | +highlight - Highlight process with pid |
| 34 | +unhighlight - Unhighlight currently highlighted process |
| 35 | +sort - Sort processes by cpu, mem or pid |
| 36 | + Default is cpu |
| 37 | +help - Print help dialog |
| 38 | +exit | quit - Exit program |
37 | 39 | ``` |
0 commit comments