An open API service indexing awesome lists of open source software.

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

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
[![asciicast](https://asciinema.org/a/UtFDMk6jMEzySFRzSPFVMSNS7.png)](https://asciinema.org/a/UtFDMk6jMEzySFRzSPFVMSNS7)