ptop

1.0last stable release 6 years ago
Complexity Score
N/A
Open Issues
27
Dependent Projects
0
Weekly Downloadsglobal
76

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

ptop

An awesome task manager written in python. A more awesome top like thing in your terminal !

Inspired by vtop

Some Screenshots

Installation

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

Upgrading ptop

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

Usage

$ ptop

$ ptop -t <theme>   # custom theme

$ ptop -csrt 500    # custom refresh time for cpu stats 

$ ptop -h           # help

Features

  • Killing a process :heavy_check_mark:
  • Showing system ports and files used by a process :heavy_check_mark:
  • Network Monitor :heavy_check_mark:
  • Process search :heavy_check_mark:
  • Sorting on the basis of process lifetime and memory used :heavy_check_mark:
  • Responsiveness with terminal :heavy_check_mark:
  • Custom refresh times for different stats like memory info, process info etc :heavy_check_mark:
  • Rolling version updates :heavy_check_mark:

For suggesting new features please add to this issue

Supported themes

  • colorful
  • elegant
  • simple
  • dark
  • light

Developing ptop

$ 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.

Contributions Guide

  • Pull requests are awesome and always welcome. Please use the issue tracker to report any bugs.
  • For starters, we have filtered some newbie issues.
  • Feel free to shoot your queries at the ptop gitter channel.

Main modules :

  • 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.

Main Dependencies

  • npyscreen
  • psutil
  • drawille

Contributors

  • vinusankars
  • Deepak Narayanan
  • Smeet Vora
  • Santiago Castro
  • Yu-Jie Lin

For details please check Contributors.md

License

MIT © Ankush Sharma

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
1.50
Test Coverage
No Data
Follows Semver
No
Github Stars
548
Dependenciestotal
0
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute ptop in your own private PyPI registry

pip install ptop
Processing...
Done

7 Releases

PyPI on Cloudsmith

Getting started with PyPI on Cloudsmith is fast and easy.