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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
168 B
Fish
Raw Normal View History

2021-12-13 10:44:16 +01:00
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
2021-12-13 10:44:16 +01:00
end