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

5 lines
133 B
Fish

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