Shin Code log

Logs of solution for code
April 28, 2023

Check postgres status macos

Check postgres status macos

Use the command:

ps auxwww | grep postgres

And look for something like: /Library/PostgreSQL/15/bin/postmaster
pgctl will same folder. Execute it with 'status' param: `/Library/PostgreSQL/15/bin/pgctl status`