Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 6fb0170

Browse files
committed
aggiunto sorting (cpu, mem, pid) + pulizia finale
1 parent ceb6dfd commit 6fb0170

5 files changed

Lines changed: 204 additions & 51 deletions

File tree

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align="center">SimpleProcessMonitor</h1>
22

33
<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">
55
</p>
66

77
<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,22 +16,24 @@
1616
Outside the program (from the terminal):
1717

1818
```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>]
2020
```
2121

2222
Inside the program:
2323

2424
```
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
3739
```

SimpleProcessMonitor

1.36 KB
Binary file not shown.

0 commit comments

Comments
 (0)