Wednesday, June 22, 2016

top output on all cpu cores

wanna check 'top' command on all cpu cores?

first type

then press '1' over top output


Also, wanna check which specific CPU core a specific process is running?

check this out:

# ps o pid,psr,comm `pidof gvim`
12063   7 gvim

so, 'gvim' command is running on cpu core '7'.

want to check every process and the core in which it is running?

# ps -eo psr,comm,pid

No comments:

Post a Comment