Raghu Chinthoju wrote: > > Hi Group, > > Can we find out what processes are listening on what TCP/IP ports on a UNIX > host? > I there a straight forward command to find that out?
Yes. "lsof -i". Some Linux distributions include it. If your system doesn't have it you can get the source from: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ Supported platforms are: AIX 4.3.[23], 5L, and 5.1 Apple Darwin 1.[23] and 1.4 for Power Macintosh systems BSDI BSD/OS 4.1 for Intel-based systems DEC OSF/1, Digital UNIX, Tru64 UNIX 4.0, and 5.[01] FreeBSD 4.[234] and 5.0 for Intel-based systems HP-UX 11.00 and 11.11 Linux 2.1.72 and above for Intel-based systems NetBSD 1.5 for Alpha, Intel, and SPARC-based systems NEXTSTEP 3.[13] OpenBSD 2.[89] and 3.0 for Intel-based systems Caldera OpenUNIX 8 SCO OpenServer Release 5.0.[46] for Intel-based systems SCO UnixWare 7.1.1 for Intel-based systems Solaris 2.6, 7, 8, and 9 BETA -paul
