[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [FW1] netstat
I'm fond of using lsof because it will actually tell you if a process bound to a port is still actually listening (it's nice to be able to check if syslog is still running but not listening). If you want to check sendmail, as root: # lsof -i tcp:25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sendmail 3809 root 6u IPv6 0xf64ac2d8 0t0 TCP *:smtp (LISTEN) lsof can be found on www.sunfreeware.com in Solaris pkg format as well as the source. Chris -----Original Message----- From: Alexander Banthien [mailto:[email protected]] Sent: Monday, February 05, 2001 8:07 AM To: FW1 List (E-mail) Subject: [FW1] netstat Hi Solaris-people, (sorry: currently no solaris man pages available so can't find out for myself) on a Solaris 2.6 System: how do I find out which applications (or PID) bind a port (as `netstat -ap` does in Linux). Thanks for the help! Alexander -- ---------------------------------------------------------- Alexander Banthien JusTec GmbH Haslacher Str. 126 79115 Freiburg Germany Tel:+49 (0) 761 401269 00 Fax:+49 (0) 761 401269 13 WWW: http://www.justec.de E-Mail: [email protected] ---------------------------------------------------------- ============================================================================ ==== To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ============================================================================ ==== ================================================================================ To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================================================
|