Add watch+ps alias
This commit is contained in:
parent
c1c64a82b5
commit
ed05698f6b
5
zshrc
5
zshrc
|
@ -173,7 +173,12 @@ alias wotgobblemem='ps -o time,ppid,pid,nice,pcpu,pmem,user,comm -A | sort -n -k
|
|||
|
||||
# ps aliases
|
||||
alias px='ps faux|grep -v grep|grep -iE -e VSZ -e '
|
||||
## ps with fzf
|
||||
alias fpx="ps -ef | fzf --bind 'ctrl-r:reload(ps -ef)' --header 'Press CTRL-R to reload' --header-lines=1 --color fg:188,bg:233,hl:103,fg+:222,bg+:234,hl+:104"
|
||||
alias pxf="ps -ef | fzf --bind 'ctrl-r:reload(ps -ef)' --header 'Press CTRL-R to reload' --header-lines=1 --color fg:188,bg:233,hl:103,fg+:222,bg+:234,hl+:104"
|
||||
## ps last entries with watch|tail|grep
|
||||
alias wps="watch \"ps faux | tail --lines=30 -- | grep --invert-match --extended-regexp '(tail|ps faux|grep)' --\""
|
||||
alias psw="watch \"ps faux | tail --lines=30 -- | grep --invert-match --extended-regexp '(tail|ps faux|grep)' --\""
|
||||
|
||||
# Décompression
|
||||
alias untargz='tar -zxvf'
|
||||
|
|
Loading…
Reference in New Issue