On Tue, 7 Oct 2003, Rich Smrcina wrote: > Unless it was changed at install time, DB2 will, by default, listen on > 50000 and up. On the machine where DB2 connect is installed, issue > netstat -l. Look for db2cdb2inst1, if it's there, then DB2 Connect is > listening. Then 'grep db2cdb2inst1 /etc/services', this should tell you > which port DB2 is listening on.
I quite like lsof. It can tell you what files programs have open, and in this form which network connexions postfix and postgresql have open: lsof -c po -a -i -c introduces a partial program name: specify enough to make as near unique as you want. -a means "and" -i means you want Internet connexion. Many other options, as you'd expect. -- Cheers John. Join the "Linux Support by Small Businesses" list at http://mail.computerdatasafe.com.au/mailman/listinfo/lssb Copyright John Summerfield. Reproduction prohibited.
