batmush
4th February 2005, 16:57
Hi guys,
I tried to find out (baanboard archive) what is bshell_pid but no success. <pid> is from Task Manager or licmon but what is bshell_pid?
The "bshcmd -k" does not work with <pid> only.
Thanks.
fbernaus
17th March 2005, 14:28
Syntax is:
bshcmd -k <pid> <bshell_pid>
You need know the <bshell_pid>, this is the process id assigned by the Operating System to the bshell. Then you need to know the <pid> which is the particular process inside the bshell you want to kill.
If you want to know what are the processes being run from a bshell, type:
bshell -p <bshell_pid>
Regards,
Fermin.
norwim
17th March 2005, 15:37
Hi there,
I met this misunderstanding at many customer sites .... 'killing a bshell doesn't work' .... somehow the parameter 'k' seems to be so selfexplaining that many people stop reading the documentation.
To kill a bshell, find out the PID (process id choosen by OS) of this bshell and use bshcmd6.1 -e PID (I recommend to send a wakeup signal und grant a second wait time, so better: bshcmd6.1 -e -u1 -w1 PID).
The parameter -k is used to kill a sub-session WITHIN the bshell .... if you use
bshcmd6.1 -p -s -u1 -w PID you will get a clearer picture. Within a bshell there may be many sessions running, each has its one {PID} ... these {PID} are are choosen from the bshell itself and start with 1, 0 being the bshell itself.
hth
Norbert