On Mon, Nov 17, 2003 at 02:56:54PM +0530, LakshSri wrote:
Try "netstat --programs --listening --extend" from "#" prompt!
YES, this is something what I was wanting so far. But stil it is not the exact thing. I just enhanced it with extra --extend
# netstat --programs --listening --extend --extend tcp 0 0 *:smtp *:* LISTEN root 4044 1178/tcpserver
You get the pid, right? You can grep that in ps output(Worst come worst that is. ) I am sure there could be more elegent solutions.
Shridhar
------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
