disconnect user

I would like to disconnect a progress user from the linux prompt. Any ideas on how to do this without simply kill the linux process. i.e using the same commands that promon uses only without starting promon to do it.



Thanks!!
 
One other thing...

I did try to create a key file to input the disconnect, however, I ran into an issue.

If there are more than 1 screen filled with users (option 8), then I can input a q, followed by a 1 and then the usr number.

If there are less than 1 screen filled with users , I have to input a 1 then the usr number.

I seem to be at an impasse here. So I was wondering if there was a way to execute the disconnect that is in promon from the command line.

i.e. promon db-path/db 1:##, where prmon treats the 1:## as an input value that can perfrom the disconnect.

Any ideas?
 
A lot depends on what version of Progress you are running. For instance, in some releases killing the user is safer than disconnecting it.

Having said that, if you are on a reasonably modern release you could use:

proshut dbname -C disconnect <usernum>

(BTW -- under the covers proshut & promon are the same executable...)
 
Back
Top