title: Command to know whether my program is using only one CPU or multiple CPUs in a multiple processor machine
body: <p>Is there any command to know whether my program is using only one processor or multiple processors? </p>
  
  <p>My program is not multi-threaded, so at a time only one CPU is being used by my program, but time to time switching between the CPU's can happen. </p>
  
  <p>Can I see this switching sequence for my program? Is there any command?</p>