list process which are run on specific processor.
ps -ax -o pid,cpuid,args,user|awk '$2 == 3{print $0}'
ps -ax -o pid,cpuid,args,user|awk '$3 == "/usr/bin/ceph-osd" {print $0}'
ref: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/sec-cpuset.html
https://codywu2010.wordpress.com/2015/09/27/cpuset-by-example/
沒有留言:
張貼留言