Peekaboo is a System Monitoring CLI tool built in Rust. It allows you to monitor various system parameters such as CPU usage, memory usage, disk usage, and network usage.
- Monitor CPU usage
- Monitor memory usage
- Monitor disk usage
- Monitor network usage
- Save and display user names
-
Clone the repository:
git clone https://github.com/ashmit0920/Peekaboo.git
-
Extract the cloned directory, and add it to your environment's
PATH
variable for easy access:- Search for "Edit environment variables" in your Windows Search bar and click on the search result.
- Under "System Variables" (for all users), select "Path" => "Edit". In case you lack the permissions to edit System variables, just edit the Path variable under "User Variables".
- A table pops up showing the directories included in the current PATH. Click on "New" ⇒ "Browse..." to select the cloned Peekaboo directory. Click on ⇒ "OK" (Don't "Cancel") ⇒ "OK" ⇒ "OK".
- (For older Windows) If you didn't see a pop-up table, it is time to change your computer.
-
To display the help menu:
peek -h
-
To store a user name:
peek --name <name>
The user name will be stored and will be displayed on subsequent runs.
-
To display system information
peek -s
-
To monitor CPU usage:
peek -c
-
To monitor memory usage:
peek -m
-
To monitor disk usage:
peek -d
-
To monitor network usage:
peek -n
-
To monitor all of the above at once:
peek --showall