mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-07 07:56:17 +00:00
scripts/who: Add the process id to the output
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
61ff1309ca
commit
7ac492aec2
@ -9,5 +9,5 @@
|
||||
for i in `lsof -t /dev/dri/card0`; do
|
||||
who=`readlink /proc/$i/exe`
|
||||
count=`grep /dev/dri/card0 /proc/$i/maps | wc -l | cut -f1 -d\ `
|
||||
echo "$who: $count"
|
||||
echo "$who [$i]: $count"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user