Usually when we look at logs, we use the two commands you mentioned. During the process, we either turn the page to read it, or read it online, and wait for some situation to appear in the log. However, I use Xiaoniao Cloud’s Linux cloud server. It only cost 0.2/day when I bought it during the golden autumn cloud season https://www.niaoyun.com/#/act/2021autumn/?utm_source=p. The performance is very stable. Check it out When checking the server log, I do this: use the cat command to view the linux server log file cat /var/log/messages cat /var/log/dmesg This is the hardware log file Description /var/log/message After the system starts Information and error logs are one of the most commonly used logs in red hat Linux /var/log/secure Security-related log information /var/log/maillog Mail-related log information /var/log/cron and scheduled tasks Related log information/var/log/spooler Log information related to uucp and news devices/var/log/boot.log Log information related to daemon start and stop
Usually when we look at logs, we use the two commands you mentioned. During the process, we either turn the page to read it, or read it online, and wait for some situation to appear in the log. However, I use Xiaoniao Cloud’s Linux cloud server. It only cost 0.2/day when I bought it during the golden autumn cloud season https://www.niaoyun.com/#/act/2021autumn/?utm_source=p. The performance is very stable. Check it out When checking the server log, I do this: use the cat command to view the linux server log file cat /var/log/messages cat /var/log/dmesg This is the hardware log file Description /var/log/message After the system starts Information and error logs are one of the most commonly used logs in red hat Linux /var/log/secure Security-related log information /var/log/maillog Mail-related log information /var/log/cron and scheduled tasks Related log information/var/log/spooler Log information related to uucp and news devices/var/log/boot.log Log information related to daemon start and stop