- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory fault(coredump)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
04-23-2018 11:27 AM
04-23-2018 11:27 AM
Memory fault(coredump)
I think I am going to mention 3 issues here
Server underwent a planned reboot on 21 Apr
crontab -l has this
0 0 * * 0,3 /var/opt/ignite/create_recovery_image.sh
This script failed on Apr 22. It didnt get triggerred.
To investigate the reason - I was browsing this 11.23 HPUX server and then I was trying to see /var/mail/root
I want to see what happened on 22 Apr
# ls -lrt /var/mail/root
-rw-rw---- 1 root mail 89551281 Apr 23 19:00 /var/mail/root
#
As you can see it is a large file.
I was not sure how to grep for that 22 Apr date
I didnt want to do this but I did a vi /var/mail/root
server was knackered I felt for a second. I pressed ctrl C
I get this message "
Memory fault(coredump)
and then I got the prompt back
Server is alright
1. why did the script fail
2. how do I grep for an event in a very large file (not very important for me at the moment)
3. should I worry about memory fault (core dump)
Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2018 11:48 AM
04-23-2018 11:48 AM
Re: Memory fault(coredump)
> 89551281 Apr 23 19:00 /var/mail/root
> I was not sure how to grep for that 22 Apr date
You can of course use mailx to read root's mail. The messages should be sorted by date received.
You can use "h $" to go to the end. And "z-" to go back a page. Or binary search with "h message-number".
>1. why did the script fail
You need to check the mail or cron logs.
> 2. how do I grep for an event in a very large file
You need to find the pattern and just grep for it. grep doesn't care how large it is. :-)
>3. should I worry about memory fault (core dump)
No, use "file core" and if from vi, just remove it.