[root@localhost ~]# ls -l /var/lib/
mysql
total 20560
-rwxrwxrwx 1 mysql mysql 10485760 avr 13 19:14 ibdata1
-rwxrwxrwx 1 mysql mysql 5242880 avr 14 10:18 ib_logfile0
-rwxrwxrwx 1 mysql mysql 5242880 avr 8 14:08 ib_logfile1
drwxrwxrwx 2 mysql mysql 4096 avr 8 14:08 mysql
-rwxrwxrwx 1 mysql mysql 310 avr 8 12:16 mysql.sock
-rwxrwxrwx 1 mysql mysql 0 avr 8 12:15 mysql.sock~
drwxrwxrwx 2 mysql mysql 4096 avr 8 14:08 test
[root@localhost ~]# netstat -ntlp
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2346/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2052/rpcbind
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2547/cupsd
tcp 0 0 0.0.0.0:34679 0.0.0.0:* LISTEN 2071/rpc.statd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2394/sendmail: acce
tcp 0 0 :::80 :::* LISTEN 2424/httpd
tcp 0 0 :::22 :::* LISTEN 2257/sshd
[root@localhost ~]# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT esp -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT
udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- a
[root@localhost ~]# ps aux | grep mysqld
root 2286 0.0 0.3 4704 496 ? S 10:18 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/tmp/mysql.sock --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid
mysql 2346 0.0 0.8 136452 1404 ? Sl 10:18 0:00 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --socket=/tmp/mysql.sock
root 3385 0.0 0.4 4076 764 pts/2 S+ 10:40 0:00 grep mysqld