Sonstiges > Infrastruktur

Portabfrage

(1/1)

HRaq:
Hallo Leute,

es gibt doch eine Abfrage unter DOS, welcher Port aktuell durch welches Programm/Prozess genutzt wird. Mir will das Ding im Moment nicht einfallen. Könnt Ihr helfen?

Gruß Henning

Glombi:
Meinst Du
netstat -a


NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a  Displays all connections and listening ports.
-e  Displays Ethernet statistics. This may be combined with the -s option.
-n  Displays addresses and port numbers in numerical form.
-p proto  Shows connections for the protocol specified by proto; proto may be TCP or UDP. If used with the -s option to display per-protocol statistics, proto may be TCP, UDP, or IP.
-r  Displays the routing table.
-s  Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the -p option may be used to specify a subset of the default.
interval  Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once.


Andreas

MartinG:
Übers Netzwerk wäre nmap noch eine Alternative....

HRaq:
Hallo,

ich meinte den netstat-Befehl, war mir nicht eingefallen.  :-:

Danke....

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln