dotfiles/fish/.config/fish/functions/psmem.fish

7 lines
168 B
Fish

function psmem --description 'Show memory usage of a process'
set proc (ps -ef | fzf | awk '{print $2}')
if test -n "$proc"
ps_mem -p $proc
end
end