Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a process which is latency sensitive and running it on a shared virtual box for costs reasons.

How can I analyze how busy (utilization) on this box ? In particular, I'm concerned about large context switching times between my processses and other users processes which will affect the response time of my application.

The top command only shows my processes...


share|improve this question
up vote 0 down vote accepted

You can use the following command to count the number of context switches since boot time.

cat /proc/stat |grep ctxt

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.