Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 03-22-2007, 06:31 AM   #1
LQ Newbie
Registered: Nov 2006
Posts: 14

Rep: Reputation: 0
Smile handling linux kernel crash using a shell script

I am writing a shell script which runs for n number of values everytime ( an infinite loop ).

For some values the system crashes and the whole script stops.
Is there anyway I can handle the kernel crash and still continue with the script without stopping?

Thanks in Advance.
Old 03-22-2007, 01:29 PM   #2
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
Well I believe you must check your script rather then getting it running even after panic. Try trapping the expecttion generated by the script.


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
handling multiple files in shell scripts. wilsonsamm Linux - General 7 07-05-2006 06:36 PM
file handling shell script ankit_mcgill Programming 6 04-29-2006 12:32 AM
Shell Script.. Date format handling C-RAF. Programming 2 02-14-2006 08:34 AM
How to find out kernel version in a shell script? ta0kira Slackware 3 10-05-2004 04:54 AM
Need help w/ shell handling 3 commands/2 pipes sptchamp Programming 3 07-15-2004 09:37 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:51 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