Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Linux VPS, but recently it's been running slow. Every time I contact the provider, they work on it for 2-3 days, the service seems to speed up (looks like a reboot occurred), but then after about a week the service is bogged down again.

I know I can use programs like top to view the information on the system usage from within my walled garden, but is it possible to view the host information from within there as well?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

As a rule, no. Unless you know what virtualization is in use, and that platform supports passing said information through the hypervisor via a special utility. Most virtualization enforces a fairly firm "none of your business" stance on seeing the physical hardware state.

share|improve this answer
    
That's what I thought. Thanks for the confirmation. –  Kruug Jan 17 '13 at 20:14

One hint you might get, depending on various kernel versions and options is the %st figure from top as a percentage (or vmstat -s or /proc/stat as a cumulative counter). This keeps track of the CPU "stolen" in a guest (so that CPU stats add up).

share|improve this answer
    
So, would this be what my personal guest is utilizing? –  Kruug Jan 17 '13 at 21:49
    
@Kruug No, it's CPU that the guest is not being given, usually because it's reached some limit, or possibly because the VM host is over-committed. This has a reasonably coherent discussion, though it may not be fully applicable to your situation: axibase.com/cloud/2010/07/22/… –  mr.spuratic Jan 18 '13 at 18:05

Your Answer

 
discard

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.