Difference between revisions of "Journalctl -r"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
  [[journalctl]] -r | egrep -i "error|critical"
+
  [[journalctl]] -r | egrep -i "[[error]]|critical|[[Killed process]]"
  
 
  journalctl -r | grep "[[No space left on device]]"
 
  journalctl -r | grep "[[No space left on device]]"
Line 7: Line 7:
  
 
  journalctl -r | grep [[CRON]]
 
  journalctl -r | grep [[CRON]]
 +
 +
[[journalctl -r grep oom]]
 +
 +
 +
journalctl -r | grep -v audit | grep -v sshd | grep -v CRON
 +
 +
 +
[[nagios3]][1076]: Warning: The check of service 'HTTP' on host 'localhost' could not be performed due to a fork() error: '[[Cannot allocate memory]]'.  The check will be rescheduled.
 +
 +
Dec 18 14:50:34 weo1 nagios3[1076]: SERVICE ALERT: localhost;Current Load;CRITICAL;SOFT;2;CRITICAL - load average: 19.29, 7.04, 3.24
  
 
== Related ==
 
== Related ==
Line 13: Line 23:
 
* <code>[[systemctl enable]]</code>
 
* <code>[[systemctl enable]]</code>
 
* <code>[[journalctl --disk-usage]]</code>
 
* <code>[[journalctl --disk-usage]]</code>
 +
* [[oom-killer]]
 +
* [[apt.systemd.daily]]
  
 
== See also ==
 
== See also ==

Latest revision as of 10:08, 19 December 2024

journalctl -r | egrep -i "error|critical|Killed process"
journalctl -r | grep "No space left on device"


journalctl -r | grep CRON
journalctl -r grep oom


journalctl -r | grep -v audit | grep -v sshd | grep -v CRON


nagios3[1076]: Warning: The check of service 'HTTP' on host 'localhost' could not be performed due to a fork() error: 'Cannot allocate memory'.  The check will be rescheduled.
Dec 18 14:50:34 weo1 nagios3[1076]: SERVICE ALERT: localhost;Current Load;CRITICAL;SOFT;2;CRITICAL - load average: 19.29, 7.04, 3.24

Related[edit]

See also[edit]

Advertising: