Using top on SMP machines

I've been trying to sort out some user problems where multiple users are running on an SMP machine. You can use top to figure out where processes are running. When you run top, you can hit the "1" key to get a separate usage listing for each processor. If you want to see where a particular process is running, hit "f" to select columns, then hit "j" to add the CPU column. Then the top output will now show you the CPU number for each process.

UPDATE: If you need to see all of the threads associated with a process, hit "H" in top and you'll get them all. Along with the above option, you can see just how badly abused your CPUs are.

No comments:

Post a Comment