X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fcgmem_which;h=ed03705eb3ca4af789763c4436e1ccb17e2411f8;hb=HEAD;hp=81ef03f8331071f4a315658c52f03c843c58e4d9;hpb=8fb8aca8fa89a88c48f75addae7b2722f675671d;p=dotfiles.git diff --git a/bin/cgmem_which b/bin/cgmem_which index 81ef03f..ed03705 100755 --- a/bin/cgmem_which +++ b/bin/cgmem_which @@ -1,2 +1,2 @@ #! /bin/sh -grep -Flw $$ /sys/fs/cgroup/*/tasks | cut -d/ -f5 +grep -Flw $$ /sys/fs/cgroup/memory/*M/tasks | cut -d/ -f6