My CPU is acting strange
I am using fedora 11, and in a previous thread I was told how to use the top command in the terminal, but I must have done something b/c now my processor is acting really strange and maxing out some of my cores when nothing else is running in the background! Can any of you guys help? I shall place the top results now. Thank you for your time! :)
Code:
top - 00:19:44 up 1:58, 2 users, load average: 3.15, 2.40, 1.85 |
Looks like you have two instances of top running. They may be racing each other.
|
But one of the times it was overloading with firefox, is there a way that I can kill the process?
|
In top press K and give the PID of that process and the relevant signal 9\15 and kill it.
|
im sorry but could you show me an example? like do i just press k, then a number 9-15 then I type in the name or what do I do?
|
start TOP & press K ,when you do that it would ask you PID to KILL,enter the PID ( process ID ) you see hit enter and it would ask you for the signal to send ,by default it would select 15 ,select what ever you want 9 or 15 :) and hit enter.
Or you can even do ps -ef | grep -i "firefox" and then get the PID and kill it with killall command or do pgrep firefox and kill it with kill command Or pkill -9 firefox |
Wow thank you very much!
|
one more,if you want to kill all the process owned by a user kill -9 echo $(lsof -t -u <username>) or pkill -u <username>
|
I also recommend
top -u <username> to cut down num procs shown to a manageable number http://linux.die.net/man/1/top |
All times are GMT -5. The time now is 06:55 AM. |