How do I get rid of idle PROGRESS Users

bruwlo

New Member
We are running Progress 8.2 on a IBM RS6000 with AIX 4.3.2. We use OMNIX software running in character mode. Users connect to the system through standard telnet sessions. We have reached the max. limit of our Progress license and have to manually log out inactive users to provide logins.
How can we automatically (aix script) get rid of idle Progress users without damaging the database/s they were connected to?
 
Norman Biggar said:
You could use the who -T option to identify the inactive users.
You could then run an automated promon to disconnect the user.
Or (riskier) kill off that user's unix session and rely on Progress Watchdog (prowdog database) to disconnect them.

Here's a thread from a while back.
http://www.progresstalk.com/showthread.php?postid=115464#post115464


Thanks for the info Norman, but how do I run an automated promon to disconnect the user?

Loutjie
 
Somthing along the lines of
Code:
echo "8" > promon.in
echo "1" >> promon.in
grep [i]username database[/i].lg | tail -1 | cut -f1 -d "," | cut -f2 -d "m" >> promon.in
echo "x" >> promon.in
echo "q" >> promon.in
promon [i]database[/i] < promon.in > promon.out
The "grep" command may require tuning depending on how you connect to the database. All you are trying to do is get a line with the user number into promon.in
 
Back
Top