[ man7.org ](../../../index.html) > Linux > [ man-pages ](../index.html) |  [ Linux/UNIX system programming training ](http://man7.org/training/)  
---|---  
  
* * *

#  pmfind(1) — Linux manual page

NAME  |  SYNOPSIS  |  DESCRIPTION  |  OPTIONS  |  MECHANISMS  |  SIGNALS  |  DIAGNOSTICS  |  FILES  |  PCP ENVIRONMENT  |  SEE ALSO  |  COLOPHON   
---  
|  
      
    
    _PMFIND_(1)                General Commands Manual               _PMFIND_(1)
    

##  NAME  top

    
    
           **pmfind** - find PCP services on the network
    

##  SYNOPSIS  top

    
    
           **pmfind**[**-CqrSV?**]  [**-m** _mechanism_] [**-s** _service_] [**-t** _timeout_]
    

##  DESCRIPTION  top

    
    
           **pmfind** searches for instances of the specified PCP service being
           advertised on the network and prints a list of URLs corresponding
           to the services discovered.  It can be used in conjunction with
           [pmfind_check(1)](../man1/pmfind_check.1.html) to automate the monitoring of remote PCP
           collector systems.
    

##  OPTIONS  top

    
    
           The available command line options are:
    
           **-C** , **--containers**
                Performs containers discovery as well, for each discovered
                [pmcd(1)](../man1/pmcd.1.html) service.
    
           **-m** _mechanism_ , **--mechanism** =_mechanism_
                This option sets the _mechanism_ that **pmfind** uses when
                performing service discovery.  By default, or if the keyword
                _all_ is specified, every available mechanism will be used
                (iteratively).  See the ``MECHANISMS'' section for a
                description of each available discovery mechanism.
    
           **-q** , **--quiet**
                This option suppresses all output on the standard output
                stream.
    
           **-r** , **--resolve**
                Requests that DNS name resolution be attempted for the
                addresses of any discovered services.  The default is to
                display the network addresses of any discovered services.
    
           **-s** _service_ , **--service** =_service_
                By default **pmfind** will search for all supported PCP
                services, however a specific PCP _service_ to discover can be
                specified using the **-s** option.  Supported services are
                [pmcd(1)](../man1/pmcd.1.html), and [pmproxy(1)](../man1/pmproxy.1.html).
    
           **-S** , **--sources**
                Reports source identifiers for each discovered [pmcd(1)](../man1/pmcd.1.html)
                service.  These identifiers are unique for each host, and
                are formed using the (non-optional) context labels available
                for every PCP collector.  Because the discovery process will
                often identify multiple paths to an individual collector
                host, this option is an important part of the process of
                using **pmfind** in conjunction with [pmfind_check(1)](../man1/pmfind_check.1.html), to ensure
                only one [pmie(1)](../man1/pmie.1.html) and/or [pmlogger(1)](../man1/pmlogger.1.html) process is started for
                each discovered collector host.  The source identifiers
                reported by **pmfind** are the same as the source identifiers
                reported by the [pminfo(1)](../man1/pminfo.1.html) and [pmseries(1)](../man1/pmseries.1.html) commands.
    
           **-t** _seconds_ , **--timeout** =_seconds_
                Sets the maximum amount of time in _seconds_ that **pmfind** will
                take before interrupting the service discovery.  The _time_
                argument is a floating point number representing the number
                of seconds before timing out.  The default is to take as
                much time as is needed to complete the process.
    
           **-V** , **--vers