Super User is a question and answer site for computer enthusiasts and power users. 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

We can use netstat to list all software ports,but how to list all hardware ports,is there such a tool?

share|improve this question

Under Linux:

cat /proc/ioports
share|improve this answer

well, they are 'different' ports - tcp ports are more in terms of IO than actual ports (USB, PCI slots ect)

If you want hardware information you can use lshw or (i believe ) dmidecode. If you want to know what's going on in terms of I/O in general you can use iotop

share|improve this answer
Does dmidecode show information about the port number of a device? – io2 May 6 '11 at 1:26
Not that kind of port. – Ignacio Vazquez-Abrams May 6 '11 at 1:27

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.