Add alias for realtime process showing
This commit is contained in:
parent
ed1af0ea75
commit
7fbc41cbd1
@ -248,6 +248,12 @@ else
|
||||
alias ll="ls -Ahl $lsarguments"
|
||||
fi
|
||||
|
||||
# Oneoffs and weird oneliners
|
||||
if [ "$(uname)" = "Linux" ]; then
|
||||
# Shows realtime and low-nice processes
|
||||
alias rtps="LIBPROC_HIDE_KERNEL=1 ps -eo pid,class,rtprio,ni,stat,comm --sort=+pcpu | awk '\$4!=0.0 {print}' | awk 'NR>1'"
|
||||
fi
|
||||
|
||||
# Set up a default PS1 for bash
|
||||
_ps1bash() {
|
||||
exitcode="$?"
|
||||
|
Loading…
Reference in New Issue
Block a user