In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly analyzes the relevant knowledge points of how to print log timestamps in Linux system, the content is detailed and easy to understand, the operation details are reasonable, and has a certain reference value. If you are interested, you might as well follow the editor to have a look, and follow the editor to learn more about "how the Linux system prints log timestamps".
How does the Linux system print log timestamps?
When compiling the Linux kernel, configure: make menuconfig-> Kernel hacking-> show timing information on printks
When this option is selected, the kernel is started with a timestamp in front of the log information.
As you can see from the output below, the time is accurate to microseconds (us).
It is as follows:
Uncompressing Linux... Done, booting the kernel. [0.000000] Linux version 2.6.35.7 + (bshen@bamboo) (gcc version 4.4.1 (Sourcery gaming + Lite 2010q1-202)) # 109 PREEMPT Mon Nov 14 15:11:15 CST 2011 [0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 [0.000000] CPU: VIVT data cache, VIVT instruction cache
What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.
This is the end of the introduction on "how the Linux system prints log timestamps". More related content can be searched for previous articles, hoping to help you answer questions and questions, please support the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.