mahesh.bhosle
Mon Jan 22 2024
journalctl
command can be used to check the system log on the server. you can use the --since
and/or --until
options to specify a time range.
eg:
• To filter log between 1st Jan 2024 to 10th Jan 2024: journalctl --since "2024-01-01" --until "2024-01-10"
• To filter log between 5am to 6am for 1st Jan 2024: journalctl --since "2024-01-01 5:00:00"" --until "2024-01-10 6:00:00""