User slots

Started by Michael Greer, March 18, 2025, 11:00:35 AM

Previous topic - Next topic

Michael Greer

I have a customer using facetterm to connect to a linux box and run a Pxplus app.  When they make the first connection their user slot (tcb(27)) shows up as -20.  When I connect a second time from the same IP address the user slot shows up as 20.  Is this the same user slot?  Why is one positive and one negative.  Thanks!

Devon Austen

A positive number means a user slot is being used, while negative means it is sharing an existing user slot.
Principal Software Engineer for PVX Plus Technologies LTD.

Michael Greer

Devon,

Can you share the rules for when PxPlus shares user slots.  If I have a +20 and -20, is that the *same* user slot.  One would think.  In my current context folks are logging in to unix and then firing up the PxPlus application.  If they initiate 2 sessions does this burn off one or 2 slots?

Thanks!
Michael

Devon Austen

QuoteIf I have a +20 and -20, is that the *same* user slot.

Yes it means they are both using the same user slot. The +20 session acquired the user slot, the -20 session is using the user slot acquired by the first. This is because they are coming from the same client.

QuoteIf they initiate 2 sessions does this burn off one or 2 slots?

It should use up one user slot since it is the same client.
Principal Software Engineer for PVX Plus Technologies LTD.