]> git.phdru.name Git - dotfiles.git/blobdiff - bin/cgmem_which
bin/cgmem_*: Mounted memory cgroup at `/sys/fs/cgroup/memory`
[dotfiles.git] / bin / cgmem_which
index 81ef03f8331071f4a315658c52f03c843c58e4d9..ed03705eb3ca4af789763c4436e1ccb17e2411f8 100755 (executable)
@@ -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