linux cli
List open files
lsof -i
lsof -i :3306
lsof # All open files in linux. Many lines come out.i means internet(IPv4 and IPv6).
Netstat
List active internet connections, port
netstat -anptProcess
See if the process is up
ps -ef | grep mariadbService (daemon) control
Assume sudo
systemctl start mariadb
systemctl stop mariadb
systemctl restart mariadb
systemctl enable mariadb
systemctl disable mariadb
systemctl status mariadb
service mariadb stop # systemctl is recommended way.Listing
Where are the init services registered?
Link
This is a soft link. A hard link can't link to a directory.
System information
Last updated