Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

HP Collection Log method

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Crash log collection method

Upload "crashinfo-ia64.setup" to any directory on the host through FTP and BINARY mode, such as / tmp directory

# cd / tmp

# chmod + x crashinfo-ia64.setup

#. / crashinfo-ia64.setup

The following files will be generated after execution:

-rwxrwxrwx 2200 9720136 Jan 5 17:47 crashinfo

-rwxrwxrwx 2200 9720136 Jan 5 17:47 crashinfo-a-i

-rwxr-x--x 1 root sys 3719914 Jan 5 17:45 crashinfo-ia64.setup

-rwxr-xr-x 1 200 200 536 Jan 5 17:47 crashinfo.install

Drwxrwxrwx 2 root sys 96 Jan 5 17:47 libp4.bandao

-rw-rw-rw- 1,200 107008 Jan 5 17:47 xportdbg-lp64.o

Enter the directory / var/adm/crash where the crash file is located at the point of failure

There may be multiple crash.x directories under the / var/adm/crash directory. Please select the crash.x directory corresponding to this failure time, usually crash.0. In this example, it is assumed to be crash.0.

Copy crashinfo to the crash.x directory

# cp / tmp/crashinfo / var/adm/crash/crash.0

Enter the crahs.0 directory

# cd / var/adm/crash/crahs.0

Before you execute this command, make sure that there is enough space in your / var directory, which is usually greater than 1G

#. / crashinfo- c-v-t > / tmp/crashinfo-mmdd.out

Then analyze the crashinfo-mmdd.out log.

From this log, you can see that the network, cpu, memory, and other information are all about the status of the system before crash, and you can also view the process.

Getsysinfo log collection:

After the attachment getsysinfo.zip is decompressed, upload the 'getsysinfo.sh' to the host's / tmp directory in FTP and BINARY mode.

# cd / tmp

# chmod 777 getsysinfo.sh

# sh getsysinfo.sh

The generated log is / tmp/sysinfo.tgz

Download / tmp/sysinfo.tgz locally through FTP and in BINARY mode

This tool actually packages some system log files of os, and the resulting sysinfo.tgz is actually a bunch of system files, such as syslog.log,shutdownlog.

Collect hardware logs:

Using IDC tools to collect, first enter the ip address, as well as the user name and password, where the password of the user name is hardware, not os.

Kmeminfo:

Extract the zip file, then execute kmeminfo-ia64.setup, a command will come out, and then the command will be executed, and then you can use the kmeminfo command.

Such as direct. / kmeminfo or. / kmeminfo-u

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report