Coder Social home page Coder Social logo

ptop's Introduction

ptop

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

ptop-image

Inspired by vtop

Some Screenshots

ptop usage 01

ptop usage 02

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

Usage

$ ptop

$ ptop -t <theme>   # custom theme

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

$ ptop -h           # help

Features

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

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

Contributors

For details please check Contributors.md

License

MIT © Ankush Sharma

ptop's People

Contributors

darxtrix avatar vinusankars avatar sdeepaknarayanan avatar bryant1410 avatar livibetter avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.