>Hello all :)
>
>How can I kill a process from another virtual terminal (tty1 or tty2).
>When I use command ps (or ps aux) I don't see any processes that were
>(are) running on the tty0 terminal.  For example lets say that I am
>running a program that crashed and froze my machine, but I can switch 
to
>tty1 (via ALT-F2) what can I do to kill the process on the first
>terminal?

Since I'm just basically a newbie myself, I couldn't tell you exactly 
what your problem is, but I might be able to help.  The -a option to ps 
displays all the processes that have a controlling  terminal, and
-x displays all the ones that don't have one (such as daemons started at 
boot-up).  To display all the processes running on you're system, type:

ps -ax       (you might want to add "| more", as there are a lot)

Then find the process you want to kill and type:

kill [process-id]

Good luck,
Chris

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to