mac查看端口号
➜ ~ sudo lsof -i -P | grep -i "listen"
Password:
redis-ser 460 cony 6u IPv4 0x47d052259f528cb7 0t0 TCP localhost:6379 (LISTEN)
php-fpm 468 cony 6u IPv4 0x47d052259cdd9097 0t0 TCP localhost:9000 (LISTEN)
php-fpm 556 cony 0u IPv4 0x47d052259cdd9097 0t0 TCP localhost:9000 (LISTEN)
php-fpm 557 cony 0u IPv4 0x47d052259cdd9097 0t0 TCP localhost:9000 (LISTEN)
node 3436 cony 15u IPv6 0x47d0522595155a87 0t0 TCP *:7001 (LISTEN)
node 3437 cony 17u IPv4 0x47d05225a161d3bf 0t0 TCP localhost:50717 (LISTEN)
nginx 3914 root 30u IPv4 0x47d05225a14b5097 0t0 TCP *:80 (LISTEN)
nginx 3915 nobody 30u IPv4 0x47d05225a14b5097 0t0 TCP *:80 (LISTEN)
php-fpm 4834 cony 0u IPv4 0x47d052259cdd9097 0t0 TCP localhost:9000 (LISTEN)
mysqld 7516 cony 19u IPv4 0x47d05225a1df4ea7 0t0 TCP localhost:3306 (LISTEN)
QQ 12817 cony 37u IPv4 0x47d05225a8b67ea7 0t0 TCP localhost:4300 (LISTEN)
QQ 12817 cony 38u IPv4 0x47d05225a98223bf 0t0 TCP localhost:4301 (LISTEN)
phpstorm 13001 cony 148u IPv4 0x47d05225a983479f 0t0 TCP localhost:6942 (LISTEN)
phpstorm 13001 cony 342u IPv4 0x47d05225a9835097 0t0 TCP localhost:63342 (LISTEN)
多线程下载工具
axel -n 20 https://mirrors.aliyun.com/centos/7.3.1611/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
进程监控工具
htop
更多参考
网友评论