<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    This is not exact accurate but I will give you some idea;<br>
    <br>
    count_clerk+=`ps -ef | grep clerk | wc -l`<br>
    count_report+=`ps -ef | grep report | wc -l`<br>
    num=$((num1 + num2))<br>
    count=$((count_clerk + count_report))<br>
    FPUSERS=$count export FPUSERS<br>
    <br>
    <br>
    You could also run this as a user program inside filepro.<br>
    <br>
    Create a script as /usr/local/bin/FP_USERS;<br>
    <br>
    <font face="Courier New, Courier, monospace">count_clerk+=`ps -ef |
      grep clerk | wc -l`<br>
      count_report+=`ps -ef | grep report | wc -l`<br>
      num=$((num1 + num2))<br>
      count=$((count_clerk + count_report))<br>
      echo $count</font><br>
    <br>
    Then inside a filepro processing table write;<br>
    <br>
    user fpusers = /usr/local/bin/FP_USERS;n(4,.0)=fpusers;close
    fpusers;msgbox n<br>
    <br>
    Hope this helps,<br>
    <br>
    Richard D. Williams<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/23/2019 8:39 AM, Cindy Youngman
      via Filepro-list wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABxCSe5k-qE96fAk_59EUtZFD=PK8UvM0ddTWR5xKsyso391GQ@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">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: <a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20190923/cda5da08/attachment.html"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20190923/cda5da08/attachment.html></a>
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>


</pre>
    </blockquote>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt=""  width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>