how many users?
Kenneth Brody
kenbrody at spamcop.net
Thu Dec 5 08:29:54 PST 2013
On 12/4/2013 7:34 PM, Fairlight wrote:
> Top-post:
>
> My God, that's overly expensive. Every chain I've seen posted has been.
> Why not use the proper version of grep which has desirable regex support?
>
> ps auxww | egrep "([dr](clerk|report))|runmenu" | grep -v grep | wc -l
>
> That's it. Done. Well, more or less. It counts all runtime and
> development versions of clerk and report. I believe you need to count
[...]
> ps auxww | egrep "([dr](clerk|report|cabe))|runmenu|dxmaint|dscreen|ddefine|dmoedef" | grep -v grep | wc -l
>
> If you're stuck with a SysV version of `ps`, use '-aef' instead of 'auxww'
> for options.
>
> ONE line. ONE.
[...]
But, if dclerk system's out to dreport, you'll see two entries. (Actually,
you'll probably see 3, including the original runmenu.)
If you're not using the license manager, you can use the "fplmdump" utility:
fplmdump | grep "type=" | grep -v "type= [01]," | wc -l
I'm not sure what you need to do if using the license manager.
--
Kenneth Brody
More information about the Filepro-list
mailing list