Zabbix的启动管理方式
启动:# /usr/local/zabbix-3.2.6/sbin/zabbix_server
# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1221/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1079/master
tcp 0 0 0.0.0.0:8027 0.0.0.0:* LISTEN 35705/nginx
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 35530/php-fpm
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 10391/mysqld
tcp 0 0 :::22 :::* LISTEN 1221/sshd
tcp 0 0 ::1:25 :::* LISTEN 1079/master
udp 0 0 0.0.0.0:68 0.0.0.0:* 898/dhclient
# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1221/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1079/master
tcp 0 0 0.0.0.0:8027 0.0.0.0:* LISTEN 35705/nginx
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 101277/zabbix_serve
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 35530/php-fpm
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 10391/mysqld
tcp 0 0 :::22 :::* LISTEN 1221/sshd
tcp 0 0 ::1:25 :::* LISTEN 1079/master
udp 0 0 0.0.0.0:68 0.0.0.0:* 898/dhclient
关闭:# pkill -9 zabbix
此时,再观察端口的变化。
页:
[1]