pipeview of PID
This commit is contained in:
parent
64a269a16a
commit
827fe99782
5
bash/pv_of_pid.sh
Normal file
5
bash/pv_of_pid.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# get interactive pipeview of all files a PID has opened. Works also with forked PIDs (takes last pid, of pidof, which is usually the oldest pid)
|
||||
pv -d $(pidof firefox |awk '{print $NF;exit}')
|
||||
|
Loading…
Reference in New Issue
Block a user