Journal[edit]

Log[edit]

表示[edit]

journalctl -u プロセス名

設定[edit]

永続化[edit]

mkdir -p /var/log/journal
chown root:systemd-journal /var/log/journal
systemd-tmpfiles --create --prefix /var/log/journal
chmod u+rwx,g+rwxs,o-rwx /var/log/journal
systemctl restart systemd-journald

journalctl --flush   # Rocky Linux 9 では必要

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2025-09-14 (日) 13:04:53