Re: Add Install/Remove Command Line Switches
"Ken McDonell" <[email protected]> Tue, 21 Feb 2017 06:53:55 +1100
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
On 20/02/17 22:13, Marko Myllynen wrote: > Hi, > > What do you think about this patch? Every now and then someone asks for > command line switches to select the proper mode (*) for PMDAs, let's > add them so that people won't need spend time discovering "echo c | > ./Install" :) Also add standard --help/--version switches while at it. > > *) While the patch allows defining the proper mode for a PMDA, reading > the man pages, the Programmer's Guide, and the code in pmdaproc.sh > leaves me still unclear what/how this PMDA monitor mode is supposed to > be / work. PCPIntro(1) and others describe monitors being tools like > pmlogger, pmrep, pmval, etc. but don't explain how a PMDA could work in > such mode. Clarifications on man pages would be much appreciated. monitor mode comes from a time before the "distributed PMNS" when you needed to install a local PMNS to make metrics available for clients (aka monitors). For a long time now, the PMNS has been delivered via pmcd or archives, so I cannot think of a reason why anyone would need or want to choose "monitor" mode. Since there are only a handful of people on the planet that remember these early days of PCP, I think we could safely drop the whole thing ... this would cut some code out of pmdaproc.sh, remove the confusion and trigger a massive QA re-base (almost 100 tests would need to be reviewed and some changed and all the .out files remade), but that would be a once-off effort. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#15230): https://groups.io/g/pcp/message/15230 View All Messages In Topic (2): https://groups.io/g/pcp/topic/4404906 Mute This Topic: https://groups.io/mt/4404906?uid=174580 New Topic: https://groups.io/g/pcp/post -=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580 Group Home: https://groups.io/g/pcp Contact Group Owner: [email protected] Terms of Service: https://groups.io/static/tos Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy -=-=-=-=-=-=-=-=-=-=-=-