diff --git a/base/.profile b/base/.profile index f7524db9..26e17ecf 100755 --- a/base/.profile +++ b/base/.profile @@ -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="$?"