postgresql
Использование
log postgresql [-h] [--to_file]
Описание
Чтение журналов сервиса postgresql (/var/log/postgresql/postgresql-13-main.log*).
Аргументы
--to_file- Redirect output to file (/tmp/cli-stdout.txt).
Примеры использования
Useful shortcuts:q - exith - help\(slash) - search&(ampersand) - show only lines containing a substring (like grep); &<enter> exits this modeF - follow mode (like tail -f; press Ctrl-C to exit this mode)