Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It's also possible for users to deal with this themselves by ssh'ing to psnxserv and killing their own process.  Potentially useful commands follow:

...

 

Show all running user processes:

 

Code Block
languagebash

ps -f -u $USERNAME

 

...

Kill a specific process using its process ID (PID):
Code Block
languagebash

kill <PID>

 

...

Kill a specific process that doesn't want to die (and was not killed by> "kill <PID>"):
Code Block
languagebash

kill -9 <PID>

 

...

Kill 

...

all

...

 user 

...

owned 

...

processes, including current ssh session, shell and the pkill command itself.

...

  This is a quick way to 

...

remove the

...

 majority of processes.  The user should then ssh in again

...

 (if necessary) and deal with the hard-to-kill processes.
Code Block
languagebash
):
pkill -U $USERNAME

 

Note that you may have to reconnect after running "pkill" and may have to try a number of times (possibly using the -9 option, as shown with the "kill" command).

...