Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-05-2014, 10:46 AM   #1
LQ Newbie
Registered: Feb 2014
Posts: 4

Rep: Reputation: Disabled
Talking kdump monitor / script help

hi all, if I wanted to check if the /var/crash fs had data in there already, preventing a kdump file from being written should it be needed, how would i go about scripting this? I would want it on a schedule in cron maybe, then to mount the fs at /var/crash, then by some method determine if it requires clearing, and then clear the fs, then unmount. If it needs clearing, to send an alert / message, if it doesn't need clearing, do nothing and unmount the fs. any ideas or script examples would be welcome, thanks all.
Old 02-06-2014, 12:56 PM   #2
Prince Imhotep
Registered: Jan 2014
Posts: 45

Rep: Reputation: Disabled
you might want ot try watch command.

Good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] kdump hnasr2001 Linux - General 1 03-07-2013 06:17 PM
Any kdump experts out there? jackiebaron Linux - General 4 08-03-2012 08:35 AM
Kdump not actually dumping anything MikeyCarter Linux - Software 0 03-07-2011 12:20 PM
Kdump ram mannmaniyar Linux - General 0 02-28-2011 08:56 AM
Problems using kdump zman2245 Linux - Software 0 05-18-2010 02:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration