in Linux

Killing zombie process & emacs Copy paste in putty

Note down a few tricks,

1, killing zombie process, first find out the zombie process by ps or top command,
top
# ps aux | awk '{ print $8 " " $2 }' | grep -w Z
or
ps aux | grep 'Z'

2, by kill command to kill the zombie process,
kill -9 PID no.

3, or by kill the zombie’s parent:
find out the zombie’s parent,
pstree -p -s PID no.
then kill the parent process by PID,
kill -9 PID no.

4, use emacs to select, copy and paste in putty
some differences between the linux opened terminal and connected through the putty. When I tried the select, copy and paste, because of the key board mapping.

To select, The Ctl + Space cannot work, needs to use Ctl + shift + 2 or Ctl + @
To copy, the Alt + w cannot work, needs to use Esc + w

Reference link:
1, http://www.cyberciti.biz/tips/killing-zombie-process.html
2, http://askubuntu.com/questions/111422/how-to-find-zombie-process
3, http://unix.stackexchange.com/questions/116239/ctrl-space-not-getting-through-ssh

Write a Comment

Comment