Linux Logs/Backlog

Source: Internet
Author: User
Tags dmesg

when troubleshooting, be sure to develop the habit of looking at the log, the system is the core of a log/var/log/messages.
#cat/etc/logrotate.conf This is a log-cut profile.
Kill-hup is a new configuration file from the freshman.

Killall process name, kill service. or killall-9 process name.


#tail/var/log/messages Look at some of the system kernel logs, the longest view of a log.
#ls/var/log/wtmp This log is to view the log login history, with last view, can not use cat.
# Ls/var/log/btmp This log is to view the history of invalid logins, viewed with LASTB.
#ls/var/log/maillog This log is a log that is related to the message.
#/var/log/secure Verify that the relevant normal or failed logs are recorded in this file,
#/VAR/LOG/DMESG is a number of hardware-related logs during system 1 startup.
# DMESG View some real-time updates to the log.

Linux Logs/Backlog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.