An awesome task manager written in python. :computer:
An awesome task manager written in python. A more awesome top like thing in your terminal !
Inspired by vtop
ptop
is compaible with both Python2.x and Python3.x and is tested on Linux and MaxOSx (should be invoked as root) environments.
$ pip install ptop
or
$ git clone https://github.com/darxtrix/ptop
$ cd ptop/
$ pip install -r requirements.txt # install requirements
$ sudo python setup.py install
The latest version is 1.0. Older versions of ptop
can be updated using:
$ pip install --upgrade ptop
Checkout this blog post for more on the latest developments https://medium.com/@darxtrix/releasing-ptop-1-0-a-task-manager-written-using-python-879f63745034
$ ptop
$ ptop -t <theme> # custom theme
$ ptop -csrt 500 # custom refresh time for cpu stats
$ ptop -h # help
For suggesting new features please add to this issue
colorful
elegant
simple
dark
light
$ git clone https://github.com/darxtrix/ptop
$ cd ptop
$ pip install -r requirements.txt
$ python setup.py develop
Note : ptop will create a log file called .ptop.log
in the home directory of the user.
ptop.core
: Defines a basic Plugin
class that other plugins in the ptop.plugins
inherit.ptop.interfaces
: The interface to the ptop built using npyscreen.ptop.plugins
: This module contains all the plugin sensors supported i.e Disk Sensor
,Memory Sensor
,Process Sensor
, etc. ( Any new plugin should be added here).ptop.statistics
: Generate continuous statistics using background thread jobs by locating plugins in the plugins directory.ptop.utils
: Custom thread classes.For details please check Contributors.md
MIT © Ankush Sharma