asked on
ASKER
ASKER
netstat -tunap
lsof -c mysqld |grep -i TCP
root@mx2:~# lsof -c mysqld |grep TCP
mysqld 3376 mysql 13u IPv4 14377 TCP *:3306 (LISTEN)
orlsof -i TCP:3306
root@mx2:~# lsof -i TCP:3306
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
mysqld 3376 mysql 13u IPv4 14377 TCP *:3306 (LISTEN)
Replacing with whichever port number you needASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.
TRUSTED BY
to show about process name - run "netstat -nltp"