![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| List TCP ports with process | vimes | SUN Solaris | 7 | 10-30-2008 11:22 AM |
| What prot is a process listening on? | Le Badger | UNIX for Dummies Questions & Answers | 2 | 11-02-2007 09:39 AM |
| unix process that frees ports | FunnyCats | UNIX for Dummies Questions & Answers | 2 | 10-05-2006 06:18 AM |
| Restrict the number of IP ports that may be dynamically allocated to a process (SUN) | itsupplies | UNIX for Advanced & Expert Users | 2 | 07-18-2003 06:49 AM |
| TCP Listening Ports | jacobsa | UNIX for Dummies Questions & Answers | 3 | 05-24-2002 05:26 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
No process ID for listening ports
How can I have ports that are listening without processes being associated with them?
Code:
root@ldv002 # netstat -ltnup Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:5600 0.0.0.0:* LISTEN 1949/esmd tcp 0 0 0.0.0.0:6305 0.0.0.0:* LISTEN 3651/xinetd tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 5408/snmpd tcp 0 0 0.0.0.0:34540 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:1006 0.0.0.0:* LISTEN 5488/rpc.statd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3087/portmap tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 3669/vsftpd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3694/sendmail: acce tcp 0 0 :::22 :::* LISTEN 3634/sshd udp 0 0 0.0.0.0:514 0.0.0.0:* 3044/syslogd udp 0 0 0.0.0.0:161 0.0.0.0:* 5408/snmpd udp 0 0 0.0.0.0:49471 0.0.0.0:* 5408/snmpd udp 0 0 0.0.0.0:68 0.0.0.0:* 2892/dhclient udp 0 0 0.0.0.0:59742 0.0.0.0:* - udp 0 0 0.0.0.0:1000 0.0.0.0:* 5488/rpc.statd udp 0 0 0.0.0.0:1003 0.0.0.0:* 5488/rpc.statd udp 0 0 0.0.0.0:111 0.0.0.0:* 3087/portmap Code:
root@ldv002 # lsof -i tcp:5600 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME esmd 1949 root 4u IPv4 338848 TCP *:esmmanager (LISTEN) [/root] root@ldv002 # lsof -i tcp:34540 [/root] root@ldv002 # lsof -i tcp:59742 [/root] |
|
||||
|
Code:
$ man netstat
...
..
Active Internet connections (TCP, UDP, raw)
...
...
PID/Program name
Slash-separated pair of the process id (PID) and process name of the process that owns the socket.
--program causes this column to be included. You will also need superuser privileges to see this
information on sockets you donāt own. This identification information is not yet available
for IPX sockets.
.....
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|