dotfiles/fish/.config/fish/functions/pfp.fish

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

7 lines
170 B
Fish
Raw Permalink Normal View History

function pfp --description 'Select a process to run perf top'
set proc (ps -ef | fzf | awk '{print $2}')
if test -n "$proc"
perf top -p $proc
end
end