how many users?
Bruce Easton
bruce at stn.com
Mon Dec 2 09:20:39 PST 2013
Regarding my last note about exception to the command example, the
portion "grep -v grep" would filter out from the count any process line
that has "grep" anywhere in it (part of a file/format/processing name),
so it would be safer to leave that out and just subtract 1 from the
count returned (for the grep command itself).
On 12/2/13 12:03 PM, Bruce Easton wrote:
> Richard, I would use different techniques to get some number of "filepro
> users" depending on the exact requirements. For instance, finding the
> number of unique logins using Inquire, Update, Add, is quite different
> than finding the total processes using *clerk or *report or *runmenu.
> Should users only running Index Maint. be counted? Or are you only
> interested in those who have locked records? What if they are in *clerk
> and haven't even selected a file yet? etc., etc.
>
> For example, the following from the Unix/Linux command prompt:
>
> ps -ef|grep -e runmenu -e clerk -e report|grep -v grep|wc -l
>
> should return the number of processes for *clerk, *report and runmenu;
> however note that for one login, it may be running both runmenu and
> *clerk (or runmenu and *report). (Also, note for the above command,
> that if the user called clerk somewhere with an explicit filename where
> the filename is actually "grep", the process count will be wrong because
> of the filtering in the command that discards the grep command itself.)
>
> Bruce
>
>
> On 12/2/13 11:21 AM, Richard D. Williams wrote:
>> John,
>>
>> Yes. I know that way to get it.
>>
>> I have a need to monitor how many filepro users are in the system using
>> a command line.
>>
>> There must be a way to do it.
>>
>> Richard D. Williams
>>
>>
>> On 12/2/2013 9:25 AM, John Sica wrote:
>>> At the Filepro main menu, while holding down the Escape key, press and
>>> hold the shift key, then press the question mark key once. In the lower
>>> left hand corner of the screen, the user limit will show up.
>>>
>>>
>>>
>>> On 12/2/2013 7:18 AM, Richard D. Williams wrote:
>>>> Is there a way to determine the number of filepro users from the command
>>>> line in a linux system?
>>>>
>>>> Richard
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>
>> _______________________________________________
>> 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