A simple script that allows you to see unix processes with the name and their cpu usage
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
Pipfile
Pipfile.lock
README.md
process

README.md

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 <pid> and this will print specific details of the process.
  • To generate the cpu_usage bar graph of specific pid use this command graph <pid>

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 <pid>

Terminal Cast

asciicast