Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux kernel log --dmesg     - Hadoop 2.7.1 Installation and Configuration under RedHat Linux 6.5 (Server)

- CentOS iptables firewall configuration (Linux)

- Parse Server supports iOS and Android push messaging (Programming)

- Java Foundation - Variables and data types (Programming)

- Oracle 11g dataguard main library backup and recovery to the test environment in one database error (Database)

- Analyzing Linux server architecture is 32-bit / 64-bit (Server)

- Nginx + ownCloud + PHP + MySQL to build personal private cloud under CentOS7 (Server)

- About Linux backdoor (Linux)

- CentOS 6.5 Telnet SecureCRT use management tools (Linux)

- How to achieve the MySQL Oracle table associated with the two operations update (Database)

- UNIX and class UNIX system security check notes (Linux)

- Volatile keyword in C language understanding (Programming)

- Examples of testing and installation Mesos on CentOS (Linux)

- A step by step teach have to install multi-node cluster configuration Hadoop (Server)

- Git 2.5 increase in the working tree, triangle improved workflow performance (Linux)

- To generate a certificate using OpenSSL under Linux (Server)

- Linux Getting Started tutorial: Experience KVM Virtual Machine chapter (Linux)

- C # function (Programming)

- MongoDB start under Linux (Database)

- Java garbage collection and heap memory layout (Programming)

 
         
  Linux kernel log --dmesg
     
  Add Date : 2017-01-08      
         
         
         
  Sometimes mysqld or Linux systems, or other processes running on the system, it will be some strange problems, such as suddenly hung up, such as a sudden reboot and so on. Can not find the problem in the software, then we should suspect a hardware problem, or kernel, then we can use dmesg to see:

NAME
      dmesg - print or control the kernel ring buffer

SYNOPSIS
      dmesg [-c] [-r] [-n level] [-s bufsize]

DESCRIPTION
      dmesg is used to examine or control the kernel ring buffer.

      The program helps users to print out their bootup messages. Instead of copying the messages by hand, the user need
      only:
              dmesg> boot.messages
      and mail the boot.messages file to whoever can debug their problem.

OPTIONS
      -c Clear the ring buffer contents after printing.

      -r Print the raw message buffer, i.e., do not strip the log level prefixes.

      -s bufsize
              Use a buffer of size bufsize to query the kernel ring buffer. This is 16392 by default. (The default kernel
              syslog buffer size was 4096 at first, 8192 since 1.3.54, 16384 since 2.1.113.) If you have set the kernel
              buffer to be larger than the default then this option can be used to view the entire buffer.

      -n level
              Set the level at which logging of messages is done to the console. For example, -n 1 prevents all messages,
              except panic messages, from appearing on the console. All levels of messages are still written to / proc / kmsg,
              so syslogd (8) can still be used to control exactly where kernel messages appear. When the -n option is used,
              dmesg will not print or clear the kernel ring buffer.

              When both options are used, only the last option on the command line will have an effect.

SEE ALSO
      syslogd (8)

Direct execution: dmesg or dmesg> dmg.txt Hardware information can be obtained and kernel startup.
     
         
         
         
  More:      
 
- Use Docker containers (Linux)
- Timing task Crontab under Linux system (Linux)
- Linux dynamic libraries and Guide (Programming)
- CentOS 7 - use cgroups limit process resource (Linux)
- OpenSUSE GPG Comments (Linux)
- Build your own Git server under Linux (Server)
- pscp use Detailed Windows and Linux each file transfer tool (Linux)
- Python variable type (Programming)
- Commonly used Linux system camouflage method (Linux)
- Java Set and List in the relationship and difference (Programming)
- Open remote MySQL database connection managed under CentOS (Database)
- Git / Github use notes (Linux)
- Ubuntu simple method to track multiple time zones (Linux)
- Json Applications of FastJson (Programming)
- Bash difference in single quotes and double quotes (Programming)
- SSH does not require a password to log on to a Linux server (Server)
- Security: set limits on password (Linux)
- To install Xen in Ubuntu 12.04 (Linux)
- Use matplotlib scientific drawing in Linux (Linux)
- Oracle to create an external table (Database)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.