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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .