GithubHelp home page GithubHelp logo

pst's Introduction

pst

This is TUI process monitor written in Go.

Features

  • Monitor process's list, info, tree, open files,
  • Kill process

Support OS

  • Mac
  • Linux

Requirements

  • ps
  • lsof

Installation

$ git clone https://github.com/skanehira/pst
$ cd pst
$ go install

Options

You can change the process info to be displayed with environment PS_ARGS.

Default PS_ARGS value is pid,ppid,%cpu,%mem,lstart,user,command.

e.g make alias and use it.

alias pst="env PS_ARGS=%cpu,%mem,lstart pst"

Usage

$ pst -h
Usage of pst:
  -log
        enable output log
  -proc string
        use word to filtering process name when starting

# run tui
$ pst

Default, log file will generate $HOME/pst.log if it's not exist.

Keybindings

common keybindings

key description
Ctrl + c stop pst
j move down
k move up
h move left
l move right
g move to top
G move to bottom
Ctrl + f next page
Ctrl + b previous page
Tab focus next panel
Shift + Tab focus previous panel

input

key description
Enter next process

processes panel

key description
K kill select process

process tree panel

key description
K kill select process
Enter expand child process

pst's People

Contributors

skanehira avatar

Watchers

James Cloos 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.