Monday, August 21, 2017

Scentific Linux CentOS investigate system error

Scentific Linux CentOS investigate system error


Some simple commands to check system errors in centos or scentific linux:

To check the list of errors:
> grep -i error /var/log/messages

To check login:
> tail --lines=200 /var/log/secure

To check when the system is shutdown:
> grep -i shutdown /var/log/messages

Under centos the /var/log/messages is equivalent to /var/log/syslog in Ubuntu

download file now

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.