Find # of User Licenses

Richard D. Williams richard at appgrp.net
Mon Sep 23 11:33:03 PDT 2019


This is not exact accurate but I will give you some idea;

count_clerk+=`ps -ef | grep clerk | wc -l`
count_report+=`ps -ef | grep report | wc -l`
num=$((num1 + num2))
count=$((count_clerk + count_report))
FPUSERS=$count export FPUSERS


You could also run this as a user program inside filepro.

Create a script as /usr/local/bin/FP_USERS;

count_clerk+=`ps -ef | grep clerk | wc -l`
count_report+=`ps -ef | grep report | wc -l`
num=$((num1 + num2))
count=$((count_clerk + count_report))
echo $count

Then inside a filepro processing table write;

user fpusers = /usr/local/bin/FP_USERS;n(4,.0)=fpusers;close 
fpusers;msgbox n

Hope this helps,

Richard D. Williams




On 9/23/2019 8:39 AM, Cindy Youngman via Filepro-list wrote:
> Hi all,
>
> Is there a environment variable or command I can run to determine the user
> count for filePro?  I've PFVER but it only gives me the version not the
> user count.
>
> Thanks,
> Cindy Youngman
> FutureSoft Tech
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190923/cda5da08/attachment.html>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>



---
This email has been checked for viruses by AVG.
https://www.avg.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190923/50f35b66/attachment.html>


More information about the Filepro-list mailing list