[Ilugc] help regarding process scheduling on SMP
- From: 0@xxxxxxxxxxx (0)
- Date: Wed, 02 Nov 2011 17:33:13 +0530
Is there any way (command) to find which are the Processors (multi
processor environment) are used to run a process ,
man top
Search for "SMP", there is a field "Last used CPU" which can be enabled.
Here is the snippet,
j: P -- Last used CPU (SMP)
A number representing the last used processor. In a true SMP
environment this will likely change frequently since the kernel
intentionally uses weak affinity. Also, the very act of running top
may break this weak affinity and cause more processes to change CPUs
more often (because of the extra demand for cpu time).
--
0
Other related posts: