Idle Users

mshawnlane

New Member
We are using QAD version 9. I want to be able to exit users that have been idle for 30 minutes or so. I know in QAD there is an option. I have tried that. I am wanting a script that runs in Linux to automatically exit them from QAD. Any help would be appreciated.

Thanks.....Shawn
 
You do not mention the OS

In unix/linux most times the response is around the use of the "ps" command.

Additionally you can link this to a "promon" that can take "piped" commands and produce output that you can read and react as necessary.

Mfg/Pro's "idle" setting in the control file only considers users sitting in the menu (inquiries and reports also, I think) but will never close a session when the user has an open transaction.

On the other hand, there are some reports that take long (e.g. GL or Inv Valuation) and you do not want to kill a session that seems to be idle.

Just as you can use the promon to check activity for a certain user, you can create a file (keyfile) with all the selections you will make (e.g. disconnect a user) and do something like this:

promon DBNAME < keyfile > myoutput
 
You do not mention the OS

In unix/linux most times the response is around the use of the "ps" command.

Additionally you can link this to a "promon" that can take "piped" commands and produce output that you can read and react as necessary.

Mfg/Pro's "idle" setting in the control file only considers users sitting in the menu (inquiries and reports also, I think) but will never close a session when the user has an open transaction.

On the other hand, there are some reports that take long (e.g. GL or Inv Valuation) and you do not want to kill a session that seems to be idle.

Just as you can use the promon to check activity for a certain user, you can create a file (keyfile) with all the selections you will make (e.g. disconnect a user) and do something like this:

promon DBNAME < keyfile > myoutput

The operating system we use is Linux Enterprise 3.0. Thank you for your suggestions. I will try and see if that will work.
 
Back
Top