Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have to design a program to monitor USB ports of a linux server to detect when an external hard drive is plugged in and removed.

Now I have one confusion in my mind about it. I have my own VPS. so if i design a program then how can i check it without physically plugging external drive as i'm working on vps. does it mean that there is no other way except that I install OS on my own computer at home and then plugin hard drive myself and check it?

actually I have to develop this program for 3 different OS thats why I'm asking.

share|improve this question
Does your VPS software allow you to connect and disconnect USB devices from servers? If so, no problem. Otherwise, you'll need to use a physical machine to test. – David Schwartz Apr 11 '12 at 11:37
No. VPS doesn't provide this kind of services. – Kashif Apr 11 '12 at 20:39
Then either switch VPS software or use a physical machine. – David Schwartz Apr 11 '12 at 20:40
what if i install vmware on my windows and then try it? i have never played with vmware so don't know about it. what do you suggest. can it work? – Kashif Apr 11 '12 at 20:41
Yes, it works with Vmware. – David Schwartz Apr 11 '12 at 20:51
up vote 0 down vote accepted

If I were you I would check it on a physical machine.

It's not a high cost and you will be assured that it actually works properly.

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.