What is the difference between the following
processes (where user_1 is currently on the system
and user_2 is not)?
UID PID PPID C STIME TTY TIME CMD
user_1 2677 2672 0 12:36:35 pts/3 0:00 /bin/ksh
user_2 2438 1 0 10:27:13 ? 0:00 [ ksh ]
user_1 2755 2753 1 13:53:43 pts/5 0:00 -ksh
Does [ ksh ] always represent a defunct(?) session
while -ksh represents an active one?
Finally, is there some way to cause the users'
defunct(?) Korn Shells to close automatically when
they log off (as opposed to doing a "kill -9")?
The reason that this is important is because the
users (especially user_2) have child processes
associated with their defunct(?) shells that
refuse to be killed before the parent dies; that
is, the children processes get called again by
their parent after a "kill -9 <child_process>".
Any help would be appreciated.