Solved: What is the differece between Dmesg and messages
dmesg:
- Purpose: Displays kernel ring buffer messages.
- Content: Contains messages related to kernel operations, hardware initialization, and driver activities.
- Access: Directly accessed via the
dmesgcommand. - Volatility: Temporary; messages are stored in memory and may be overwritten as the buffer fills.
- Common Use: Troubleshooting hardware and driver issues, especially during boot.
/var/log/messages:
- Purpose: General system log file.
- Content: Contains a wide range of system messages, including boot logs, application logs, and other system activities.
- Access: Viewed using text editors or commands like
cat,less, ortail. - Persistence: Stored on disk; persists across reboots.
- Common Use: Monitoring system events, diagnosing issues, and auditing.
and now to something completely different – CCVS, CCAS, CCTE, CCCS, CCSM elite
Read more here: Source link
