Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. $ sudo netstat -ap | grep postg
  2. tcp 0 0 localhost:postgresql 0.0.0.0:* LISTEN 1567/postgres
  3. udp 0 0 localhost:57504 localhost:57504 ESTABLISHED 1567/postgres
  4. unix 2 [ ACC ] STREAM LISTENING 27116 1567/postgres /var/run/postgresql/.s.PGSQL.5432
  5.  
  6. $ sudo netstat -ap | grep mysql
  7. tcp6 0 0 [::]:mysql [::]:* LISTEN 23683/mysqld
  8. tcp6 0 0 [::]:33060 [::]:* LISTEN 23683/mysqld
  9. unix 2 [ ACC ] STREAM LISTENING 1169294 23683/mysqld /var/run/mysqld/mysqld.sock
  10. unix 2 [ ACC ] STREAM LISTENING 1169513 23683/mysqld /var/run/mysqld/mysqlx.sock
  11. unix 2 [ ] DGRAM 1169211 23683/mysqld
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement