Old Vens
5th September 2002, 14:53
Hi,
I'd like to know what mean the last figures in the output of command ps -ef|grep bshell in Unix. F.e we have dozens of similar lines one of them as follows. Everything is clear except last four figures. Do you know what they mean? Some parameters which OS passes to bshell?

sktor2 28212 24860 0 13:02:39 ? 0:00 bshell (sktor2@----:-247459/SOCKET) -1 545 0 1

patvdv
5th September 2002, 15:13
When you are using sockets, the last 4 digits always seem to be '-1 545 0 1'. Have no clue what they mean but apparently it's pretty static in nature!

Old Vens
5th September 2002, 15:31
It really seems to be so but what the values mean? Pipe has its own digits and when socket connection is run with table boosters the digits change - i guess the boosters don't use socket but smth. else (pipe?). Why it is not documented - all other ps columns are described properly.

FriarTuck
5th November 2002, 18:55
The columns are just as they are documented in the man pages. The last column (args) viewed with 'ps -ef' is the process name running (which includes any parameters being passed by that process).

ps -ef | grep bshell6.1 | grep bsp

bsp 9386 9383 0 11:50:40 ? 0:00 /apps/baan/bse/bin/bshell6.1 -1 545 0 1
bsp 9186 9185 0 11:49:58 ? 0:00 /apps/baan/bse/bin/bshell6.1 9185 321 6 7
obso 1142 1140 0 07:00:01 ? 1:07 /apps/baan/bse/bin/bshell6.1 1140 321 5 6 ttaad5203m000

First bshell is bsp logged in via bw, second is bx. Third is our outbound running via the job sheduler. Don't know what exactly the params mean, but running bshell6.1 -? shows a list of possibilities.

Hope this helps.