/SimpleProcessMonitor

Yet another (simple) process monitor!

Primary LanguageCMIT LicenseMIT

SimpleProcessMonitor

SimpleProcessMonitor: screenshot

SimpleProcessMonitor is a lightweight program to monitor your processes (similiar to top/htop).

Project for the Course of "Operating Systems", held by Prof. Giorgio Grisetti 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.

License

Usage

Outside the program (from the terminal):
./SimpleProcessMonitor [help | terminate <pid> | kill <pid> | suspend <pid> | resume <pid> | interval <time_ss> | sort <cpu|mem|pid>]

Inside the program:

monitor | back                            - Go back to monitoring processes
terminate                                 - Terminate process with pid
kill                                      - Kill process with pid
suspend                                   - Suspend process with pid
resume                                    - Resume process with pid
interval                                  - Change monitoring refresh interval
                                            Measured in seconds, only integers allowed
                                            Default is 3 seconds, minimum is 1 second
highlight                                 - Highlight process with pid
unhighlight                               - Unhighlight currently highlighted process
sort                                      - Sort processes by cpu, mem or pid
                                            Default is cpu
help                                      - Print help dialog
exit | quit                               - Exit program