LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-03-2004, 09:36 PM   #1
Tomnet
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Question how to detect that computer is crashed?


hello,
I am new here. But I do have a question: 'how to detect that computer is crashed or not'.
So far, I just know there could be caused by two ways, software or hardware... But I really don't have any idea to detect the computer is crased. If I could tell, I may make a detective program to prevent it or to reboot computer...
If anyone could answer me this question, It will be very appreciated......
 
Old 08-03-2004, 09:52 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
I'm afraid that is best achieved by setting up two
machines that monitor each other via the network
interface... you can try a local daemon type of
process, but it depends on which level the machine
dies on to make that feasible ...


Cheers,
Tink
 
Old 08-03-2004, 09:55 PM   #3
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Well, what is your definition of 'crashed'? If crashed is a hard lockup during use of the OS, then you just reboot and try again (but in an ideal world you would find and solve the problem, then post the solution on LQ ). But if your definition of crashed is a OS/hardware failure which requires an OS format or new hardware, then it could be harder to fix. If either one happens, you should be able to know if it happened or not . Anyhoo, you can use e2fsck to check your hard drive for corruption, bad blocks/superblocks/etc., and you can use Memtest86:
http://memtest86.org
to check your RAM. The longer it runs without crashing, the better your RAM is. A day or two without crashing means you have no problems with RAM. For the CPU, I think Prime95 can do that (don't know the link, sorry). Be careful about overclocking, that can start system crashes (freezes when it gets too hot, how ironic ).
 
Old 08-03-2004, 10:40 PM   #4
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
One of the best ways to tell is to press the num lock key, if the light doesn't change it crashed

-Joey
 
Old 08-04-2004, 12:03 AM   #5
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Unless your numlock key doesn't work for some reason . Even if it does, sometimes it just doesn't want to turn on (for me, at least), and the comp didn't lock up. Hehe .
 
  


Reply


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
Help! computer crashed and grub wont go away frostbute669 Linux - Software 1 09-02-2005 11:46 PM
detect computer architecture diamonds Linux - Newbie 5 07-30-2005 06:08 PM
lost login screeen after computer crashed sirpelidor Linux - General 2 07-12-2005 07:01 PM
crashed computer 3 times in less than 10 minutes, beat that! Mr. New General 2 06-17-2005 05:02 PM
HELP! Computer crashed w/ Mandrake 9.1 install devans Linux - Software 2 09-18-2003 12:51 PM


All times are GMT -5. The time now is 06:07 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration