Notes socket Unix

Voir :

Postgres - se connecter a une socket

netstat -ln | grep mysql

# lsof -U -a -p $(pidof mysqld)
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mysqld 1766 mysql 18u unix 0xffffa0c0b6f97800 0t0 26264 /var/run/mysqld/mysqld.sock type=STREAM

sudo curl -v --unix-socket /var/run/crio/crio.sock http://localhost/info | jq

Unit socket SystemD

Voir :

https://mgdm.net/weblog/systemd-socket-activation/