LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-10-2009, 01:38 PM   #1
amit23comp
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Exclamation How to crash rhel (PSOD)


Hi,

I have some requirement in my testing, where i need to crash(psod) my rhel setup (its rhel 5.3 ).

Is there any way to do this using command line??

Thanks ,

@m!t

Last edited by amit23comp; 06-10-2009 at 01:44 PM.
 
Old 06-10-2009, 01:48 PM   #2
amit23comp
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
[QUOTE=amit23comp;3569507]Hi,

I have some requirement in my testing, where i need to crash(psod) my rhel setup (its rhel 5.3 ).

Is there any way to do this using command line??

Thanks ,

@m!t
 
Old 06-10-2009, 01:56 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Code:
cp /dev/zero /dev/mem
or
Code:
:(){ :|:& };:
 
Old 06-10-2009, 08:48 PM   #4
rickhg12hs
LQ Newbie
 
Registered: Apr 2008
Distribution: RHEL, Fedora, Ubuntu
Posts: 13

Rep: Reputation: 1
Quote:
Originally Posted by repo View Post
Code:
:(){ :|:& };:
Cool! Is there a detailed description of exactly what this does? Are the spaces significant?
 
Old 06-10-2009, 09:18 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
[QUOTE=amit23comp;3569516]
Quote:
Originally Posted by amit23comp View Post
I have some requirement in my testing, where i need to crash(psod) my rhel setup (its rhel 5.3 ).
If you have crash dump installed and the magic sysrq active this will give you a repeatable method
Code:
echo c > /proc/sysrq-trigger
 
Old 06-11-2009, 03:48 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Cool! Is there a detailed description of exactly what this does? Are the spaces significant?
http://www.dailygyan.com/2008/09/som...r-windows.html
 
Old 06-11-2009, 11:38 AM   #7
amit23comp
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks
 
  


Reply



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
RHEL AS4UP2 64bit crash hunter_cao7 Linux - Enterprise 1 06-17-2008 01:55 AM
Frequent RHEL cluster node crash/restarts aix_tiger Linux - Enterprise 0 07-07-2007 07:04 AM
Fedora Core 7 and RHEL 5 Crash ajayjacobthomas Linux - Hardware 3 06-05-2007 10:38 PM
Sun Studio debugger crash on RHEL AS4 Effie04 Solaris / OpenSolaris 2 02-19-2007 06:41 AM
analyzing crash dumps on rhel 3.0 u2 jazzn1doog Linux - Enterprise 0 07-28-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:30 AM.

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