- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: query on /var/log/messages
Operating System - Linux
1753633
Members
5773
Online
108798
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 10:19 PM
тАО07-24-2006 10:19 PM
query on /var/log/messages
Hi,
1. Would like to know if any logs pertaining to core dumps is seen in /var/log/messages file ? In other words, if an application dumps core, is there any message/print of log given out by the OS/kernel in /var/log/messages or any other log files?
2. Is there any way to find out when the kernel has asked the application to dump core ? any log files/messages like kill signal,etc for this scenario?
Thanks,
Rohith
1. Would like to know if any logs pertaining to core dumps is seen in /var/log/messages file ? In other words, if an application dumps core, is there any message/print of log given out by the OS/kernel in /var/log/messages or any other log files?
2. Is there any way to find out when the kernel has asked the application to dump core ? any log files/messages like kill signal,etc for this scenario?
Thanks,
Rohith
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 12:26 AM
тАО07-25-2006 12:26 AM
Re: query on /var/log/messages
Does the output from "dmesg" show anything?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 12:57 AM
тАО07-25-2006 12:57 AM
Re: query on /var/log/messages
Generally there isn't going to be any entry in the messages file when an application core dumps. There might be a few exceptions if its a daemon or some OS process.
If the application itself has its own logs then a core dump might be captured there. What application(s) are you working with (or is this a more general question)?
If you are working on an ongoing problem where an application is crashing then perhaps you can trace it and capture what is going on;
strace -o /var/tmp/strace.log -f -p
Where pid is the PID of you main application process.
Note; this will dump a lot of text so if you are not able to predict when the dump might occur you will probably want to rotate the strace.log regularly.
David
If the application itself has its own logs then a core dump might be captured there. What application(s) are you working with (or is this a more general question)?
If you are working on an ongoing problem where an application is crashing then perhaps you can trace it and capture what is going on;
strace -o /var/tmp/strace.log -f -p
Where pid is the PID of you main application process.
Note; this will dump a lot of text so if you are not able to predict when the dump might occur you will probably want to rotate the strace.log regularly.
David
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP