ltannous
15th November 2005, 22:16
How can I find out which users are accessing BaaN. I need to delete the users that are not using BaaN. Is there a log that shows users last login date?
norwim
16th November 2005, 08:42
Hi there,
"licmon6.1 -w" shows users active.
"last" lists logins on OS (unix) level.
hth
Norbert
ltannous
17th November 2005, 06:06
This licmon6.1 -w will tell me who is in at the current time. Is there a log some where that shows me when the last time a user actuall logged into baan?
Markus Schmitz
17th November 2005, 09:04
My preferred method is this:
Enable History for all users in the user management. This will log for each user, when he started and finished any session in the file $BSE/lib/TIME.HIS.
You can easily analyze this file after a month or so, with the following command (in Unix):
cut -f 2 -d "|" TIME.HIS | sort -u
The cut will select the user names only in the file and the sort will return a unique list of users.
Regards
Markus
Brendan Shine
17th November 2005, 18:25
As users register and unregister Baan licenses you will also see that info in the $BSE/log/log.lic6.x file.
So if you manage (i.e., keep history) your log files when they roll, you could get the information that way as well.
vishbaan
22nd November 2005, 09:38
hi,
we find-out using licmon6.1 the users logged-in to baan.
1) certain times we want to delete the user log-ins; we used bshcmd option but it fails to delete if the user log-in is registered but the user did output to console and he no longer runs any process actually. But the user did output to console and not connected to baan, license count still appears for his log-in. How to delete this log-in and have the license released..?
2) sometimes when a process started by an is hanging, it is taking a lot of time to kill all the user processes using bshcmd. It appears bshcmd also tries to get in to user terminal; It takes the same time as the Option Dialog->Start Shell option in the event of a long running/hanging process. Is there anyother way to kill such hanging processes and release license.
thanks for ur help
VISH
victor_cleto
22nd November 2005, 12:23
Search the threads under Tools Administration and Installation. Monitoring users, killing users or releasing licenses has been discussed too many times already (and for both UNIX and Windows flavours).
ltannous
23rd November 2005, 05:52
hi,
we find-out using licmon6.1 the users logged-in to baan.
1) certain times we want to delete the user log-ins; we used bshcmd option but it fails to delete if the user log-in is registered but the user did output to console and he no longer runs any process actually. But the user did output to console and not connected to baan, license count still appears for his log-in. How to delete this log-in and have the license released..?
2) sometimes when a process started by an is hanging, it is taking a lot of time to kill all the user processes using bshcmd. It appears bshcmd also tries to get in to user terminal; It takes the same time as the Option Dialog->Start Shell option in the event of a long running/hanging process. Is there anyother way to kill such hanging processes and release license.
thanks for ur help
VISHwe kill the license daemon and restart it. The users that are logged in will still remain active and the license count will correct itself
vishbaan
24th November 2005, 10:25
hi
after stopping the license server and started again; it resets the license to 0.
then as the users start a session then the license count is incremented per user.
here I had a problem:
there are some automated processes we have (sessions are called automatically; let us say sales order lines created now the license count became 0 and other users captured the license by starting session; my this automated session when it calls for the next session Generate O/B, it runs out of license and throws fatal error.
is there a way to reserve license after restarting license server...!
if you have a clue pls
VISH
Nandan
24th November 2005, 19:35
http://www.baanboard.com/baanboard/showthread.php?t=22310&highlight=licmon6.1+-c
http://www.baanboard.com/baanboard/showthread.php?t=16076&highlight=licmon6.1+-c
Hopefully should work on wondows the same way as it works on Unix.
ltannous
26th November 2005, 03:36
hi
after stopping the license server and started again; it resets the license to 0.
then as the users start a session then the license count is incremented per user.
here I had a problem:
there are some automated processes we have (sessions are called automatically; let us say sales order lines created now the license count became 0 and other users captured the license by starting session; my this automated session when it calls for the next session Generate O/B, it runs out of license and throws fatal error.
is there a way to reserve license after restarting license server...!
if you have a clue pls
VISH
You can write a simple shell script that checks the number of users logged in
licmon6.1 -u and if you have 20 licenses total you can write if licmon6.1 -u =19, message, No more license, else bshell6.1.
Change the ipc_info so your bshell now points to your script. When a user logs in, the script will check if the user count is less than 19 and allow that user to login, if it is = 19, the user cant login, keeping a free license available for your automated job.
vishbaan
27th November 2005, 09:43
dear fnds
nandan : clearing the hung license for a particular user helps
Itannous : tks on your help in setting the total license
infact the licmon6.1 the options I learn from you guys.
Is it possible to have a list of support options for all exe in $BSE\bin, this will help, very often I am stuck at this point
tks have a nice day
VISH
norwim
28th November 2005, 14:41
Hi there,
nearly all executables in $BSE/bin accept the option -U to show valid parameters. There are exceptions, but usually these commands show the switch for help if -U is invalid.
I never found an executable that did any harm when started with -U.
hth
Norbert
vishbaan
30th November 2005, 11:25
tks norbert.
Itanous,
Its a good idea. But is it possible to do it in Windows to write what you suggested.
instead of a shell script
"licmon6.1 -u =19, message, No more license, else bshell6.1.
Change the ipc_info so your bshell now points to your script. When a user logs in, the script will check if the user count is less than 19 and allow that user to login, if it is = 19, the user cant login, keeping a free license available for your automated job"
thanks again
VISH