This is TUI process monitor written in Go.
- Monitor process's list, info, tree, open files,
- Kill process
- Mac
- Linux
- ps
- lsof
$ git clone https://github.com/skanehira/pst
$ cd pst
$ go install
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"
$ 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.
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 |
key | description |
---|---|
Enter | next process |
key | description |
---|---|
K | kill select process |
key | description |
---|---|
K | kill select process |
Enter | expand child process |