muheeb
30th May 2002, 17:20
Hi all,


I have a serious problem in running bshcmd6.1!

I run the command: bshcmd6.1 -s -p -u5 -w5 <pid>, where pid
is a bshell id I got from ps -ef.

Some pids it works and give output, and some doesn't give anything although this bshell is openned with lot of sessions.

What could be the problem here with the command?

Thanks.

Francesco
30th May 2002, 18:20
When bshcmd doesn't report back, it means that the bshell you are trying to reach is either extremely busy, or extrememly dead.

Take a look at the bshell.# file in the $BSE/tmp dir. In the first case, you sometimes find your response there.

telgar
30th May 2002, 20:25
When I use bshcmd6.1 I use the following:

bshcmd6.1 -p -s -w 10 <pid>

I get my pid the same way that you do, when I do not get a result from this, I have found that the user is just sitting on a session or menu, not that they are processing. I usually have my dbase admin check the pid for me, if your dbase admin can not find any activity, you know that they are not processing. Sometimes I have found that this is due to loss of connection for just a moment.

Gerhard
31st May 2002, 08:35
My experience is, that this depends on permissions. If you run that command as root, you will (nearly) always get a result.