View Single Post
  #5  
Old 9th December 2006, 18:04
rdmandel rdmandel is offline
Junior Member
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default netstat -tap

netstat - tap shows what it is supposed to show as per the how-to with some strangeness:
1) I have uninstalled mysql, but it still shows up;
2) it shows my host as GX270.tech-trans:domain when the hostname and hostname -f commands show the proper name (GX270.tech-transfer.com) but maybe this is an abrreviation for the netstat format.

tcp 0 0 *:mysql *:* LISTEN 3829/mysqld
tcp 0 0 *:ftp *:* LISTEN 4138/proftpd: (acce
tcp 0 0 GX270.tech-trans:domain *:* LISTEN 3671/named
tcp 0 0 localhost:domain *:* LISTEN 3671/named
tcp 0 0 *:smtp *:* LISTEN 4039/master
tcp 0 0 localhost:953 *:* LISTEN 3671/named
tcp6 0 0 *:imaps *:* LISTEN 3746/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 3783/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 3763/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 3728/couriertcpd
tcp6 0 0 *:www *:* LISTEN 4181/apache2
tcp6 0 0 *:ssh *:* LISTEN 4068/sshd
tcp6 0 0 *:smtp *:* LISTEN 4039/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 3671/named
tcp6 0 0 *:https *:* LISTEN 4181/apache2

And this from ps aux | grep mysql

root 3812 0.0 0.5 2616 1284 ? S 08:29 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 3829 0.0 5.8 101732 14948 ? Sl 08:29 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/GX270.tech-transfer.com.pid --skip-locking
root 3830 0.0 0.1 1548 500 ? S 08:29 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root 4315 0.0 0.3 2876 792 tty1 R+ 09:10 0:00 grep mysql

Last edited by rdmandel; 9th December 2006 at 18:13.
Reply With Quote