Main Menu

Search

LINUX: JOURNALCTL Command To Display Logging From Particular Time

LINUX: JOURNALCTL Command To Display Logging From Particular Time

Below command can be used. 

journalctl -xe --since "1 min ago"

You can change 1 minute to any minutes you want.


You can also specify the day and hours as well. For e.g. below commands.


journalctl -xe --since "1 day ago"


journalctl -xe --since “2 days ago"


journalctl -xe --since "1 hour ago"


journalctl -xe --since “2 hours ago"

No comments:

Post a Comment