https://github.com/mraza007/unix-processes
A simple script that allows you to see unix processes with the name and their cpu usage
https://github.com/mraza007/unix-processes
Last synced: 9 months ago
JSON representation
A simple script that allows you to see unix processes with the name and their cpu usage
- Host: GitHub
- URL: https://github.com/mraza007/unix-processes
- Owner: mraza007
- License: mit
- Created: 2018-10-31T17:07:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T04:07:59.000Z (about 7 years ago)
- Last Synced: 2025-03-25T20:06:20.515Z (10 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unix-processes
A simple script that allows you to see unix/linux/mac processes with the name and their cpu usage
### Installion
- `git clone repo` and `cd repo/`.
- Make sure you have pipenv installed if you do then activate using `pipenv shell`
- Install dependencies using `pipenv install`
- Add the script to your path
##### Usage
- It's really simple to use this script `process --list` to list the current processes
- To look up a process `process look ` and this will print specific details of the process.
- To generate the cpu_usage bar graph of specific `pid` use this command `graph `
**Note**:In order to generate a cpu usage graph install `pip3 install termgraph ` and add to the path. and it might take a little longer to generate the graph.
**Some Processes might require root permission when looking up ``**
##### Terminal Cast
[](https://asciinema.org/a/UtFDMk6jMEzySFRzSPFVMSNS7)