Counting FilePro licenses
Flavius Moldovan
flaviusm at hotmail.com
Thu Mar 10 18:57:27 PST 2011
John,
Thank you for taking the time to reply. Your script looks very promising but I don't have "fplmdump" on my system. Is this file supposed to come with the FilePro package or I need to get it from somewhere else?
What is the solution recommended by Support for killing the sessions?
Thank you,
Flavius.
On Mar 10, 2011, at 9:09 AM, John Sica wrote:
> Flavius,
>
> Possibly the script pasted below might help.
>
> Every 4 seconds it will show all the filepro processes that count against the license manager, the filepro license count by line number, the session number and the user associated with that session. When you don't see a user associated with that session, then you have a problem. Filepro did not (or was not able to for some reason) close the license associated with that session. There is no way to kill those sessions without a reboot (that I can find). Support has a recommended way of killing sessions that will allow filepro to exit properly, but I've not tested it yet.
>
> Hope this helps,
>
> John
>
> Start paste
> -------------------------------------------------------------
> while true
> do
>
> cls
> echo
> echo Watching for your FilePro license issues...
> echo
>
> ps -ef | grep -E "dclerk|rclerk" | grep -v "grep -E"
> ps -ef | grep -E "dreport|rreport" | grep -v "grep -E"
>
> CLERK=`ps -ef | grep -E "dclerk|rclerk" | grep -v "grep -E" | wc -l`
> REPORT=`ps -ef | grep -E "dreport|rreport" | grep -v "grep -E" | wc -l`
>
> echo
> echo There are a total of $CLERK *clerks and $REPORT *reports currently in use \(`fplmdump | grep nattch`\)
>
> echo
> echo fplmdump info ---
>
> #fplmdump | grep type= | grep count= | grep Session
> #echo
>
> for DETAILS in `fplmdump | grep type= | grep count= | grep Session`
> do
>
> # tack the username to the end of the line
> if [ "$TMP" = Z ]
> then
> echo $NAME
> TMP=""
> fi
>
> if [ "$TMP" = Y ]
> then
> TMP=Z
> NAME=`ps -ef|grep "$DETAILS "|grep -v grep|cut -c1-8 |sort -u`
> fi
>
> if [ $DETAILS = Session ]
> then
> TMP=Y
> fi
>
> echo $DETAILS" \c"
>
> done
>
> echo $NAME
>
> NAME=""
>
> sleep 5
>
> done
>
> sc
> exit
> ------------------------------------------------------------------------
>
>
>
>
>
>
> On 3/10/2011 7:25 AM, Rkreiss at verizon.net] wrote:
>> As far as I am aware there is no way, at present, to know the active user count from within filepro.
>>
>> You haven't what OS the system is running on.
>>
>> Since only *clerk& *report count against the user license, one could count the number of process running these programs. This would only be an approxmate count as one can run a report from within *clerk and this would only count as 1.
>>
>> Being at a menu does not take a user count.
>>
>> Richard Kreiss
>> > From phone
>>
>> -----Original Message-----
>> From: Flavius Moldovan<flaviusm at hotmail.com>
>> Sent: Wednesday, March 09, 2011 10:42 PM
>> To: filePro List<filepro-list at lists.celestial.com>
>> Subject: Counting FilePro licenses
>>
>> Hello,
>>
>> I need to manage the number of users that connect to FilePro (version 5.6) by closing existing idle FilePro users/sessions (I cannot get the company to buy licenses for more users for now).
>> I wonder if anybody can help me with the following questions as well as other ideas:
>>
>> 1) Is there a way to query FilePro license manager to list how many licenses are in use (runtime and development)?
>> 2) What FilePro processes/programs count against a runtime/development license?
>> e.g. Does the "runmenu" count against a license or only "dclerk" etc.?
>>
>> Thank you,
>> Flavius.
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
>
>
More information about the Filepro-list
mailing list