LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I tell what process froze my computer? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-tell-what-process-froze-my-computer-197911/)

LX-i 06-26-2004 07:39 AM

How can I tell what process froze my computer?
 
Hello.

I'm pretty new to Linux, and was just getting going when my power supply died. Now I've gotten the new power supply, but the machine has locked up on me three times. Once was when I was installing FireFox, and twice, it was just sitting there. I had the Folding@Home client and Ximian Evolution running the last two times.

Linux seems to know that the computer was shut down uncleanly, and offers to do file system integrity checks. Is there a way to tell what process did something it shouldn't? I can certainly use the process of elimination to determine if it's one of the two processes I specifically launched, but I've been around computers long enough to know that it very well could be a background process that's causing the problem.

Any ideas? Thanks... :)

scuzzman 06-26-2004 07:47 AM

issue this command:

Code:

[user@domain ~]$ ps -au
this will list all processes, including the momory and CPU usage foreach, for every user

Code:

[user@domain ~]$ man ps
for more information

LX-i 06-26-2004 08:06 AM

Thanks... When I do "ps -au", I only get what's in that terminal. However, after checking the man pages, the -A switch lists all processes.

Thanks again... :)

twilli227 06-26-2004 09:52 PM

How about trying ps -aux | less
This will show all processes, you can page down a line at a time with the "enter" key, or page down a whole page at a time with the the space bar.
The ps -aux will be piped ( | ) to the "less" pager

LX-i 06-26-2004 09:57 PM

Well, after some testing, it appears that it's the Folding@Home client that's doing me in. Oh well - guess I'll only have 2 machines going after it instead of 3. Thanks to those who have posted... :)


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