1820390 Members
3466 Online
109623 Solutions
New Discussion юеВ

How to collect log

 
Md. Alamgir Khan
Occasional Advisor

How to collect log

Dear all,

I have hp9000 (rp4440/7420/8420) servers.
Please help me. How can I collect the copy for these following logs?

1. MP log
2. /var/adm/syslog/syslog.log
3. dmesg
4. /etc/rc.log
5. core dump generated


Best regards,
Alamgir Khan
4 REPLIES 4
Jeeshan
Honored Contributor

Re: How to collect log

here is some thought

>>1. MP log
login with putty and then save the session outputs in settings menu.session>logging> then choose log file name.

>>2. /var/adm/syslog/syslog.log
do ftp

>>3. dmesg

#dmesg >/tmp/dmesg.txt
and then do ftp

>>4. /etc/rc.log
do ftp

>>5. core dump generated

find coredump using find command
a warrior never quits
Md. Alamgir Khan
Occasional Advisor

Re: How to collect log

Hi

How can I generate core dump?

Best regards,
Alamgir Khan
Dennis Handly
Acclaimed Contributor

Re: How to collect log

>How can I generate core dump?

Normally the intention is to not create them. :-)
You can send SIGQUIT to a dummy process.
Or you can write a C application with an error.

Note a core dump isn't really a log.
Are you sure you weren't asking about a crash dump of the kernel?
Avinash20
Honored Contributor

Re: How to collect log

To find core files:
$ find / -name core* ├в exec file {} \;

To generate the core
$ kill -TRAP pid_#_of_process├В ├В ├В 
$ kill -ILL├В pid_#_of_process├В 
"Light travels faster than sound. That's why some people appear bright until you hear them speak."