On 10/02/2010 06:19 PM, Craig White wrote: > On Sat, 2010-10-02 at 17:42 -0400, Jim wrote: >> What is the 6749 in this command ? >> >> >> # netstat -nltp | grep 22 >> tcp 0 0 0.0.0.0:22 >> 0.0.0.0:* LISTEN 6749/sshd >> tcp 0 0 0.0.0.0:8822 >> 0.0.0.0:* LISTEN 1666/smfpd >> tcp 0 0 :::22 > ---- > try running the command without the 'grep' portion and read the header > at the top of the column > > Craig > > # netstat -nltp 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:33824 0.0.0.0:* LISTEN 1364/rpc.statd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1302/rpcbind tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6749/sshd tcp 0 0 0.0.0.0:8822 0.0.0.0:* LISTEN 1666/smfpd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1418/cupsd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1628/sendmail: acce tcp 0 0 :::53345 :::* LISTEN 1364/rpc.statd tcp 0 0 :::111 :::* LISTEN 1302/rpcbind tcp 0 0 :::22 :::* LISTEN 6749/sshd tcp 0 0 ::1:631 :::* LISTEN 1418/cupsd Active Internet connections (only servers) , what netstat command would be used see if it is also a Client . This box acts as Server and Client at different times -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines