---
name: "autofsd-probe"
section: "1"
platform: "linux"
package: "pcp"
version: "3.9.10"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/autofsd-probe"
---

# autofsd-probe(1)

probe AutoFS mount/unmount daemon

## NAME

**autofsd-probe** - probe AutoFS mount/unmount daemon

## SYNOPSIS

**$PCP\_BINADM\_DIR/autofsd-probe** \[**-h** *host*\] \[**-t** *timeout*\]

## DESCRIPTION

**autofsd-probe** will check the status of the **autofsd**(1) daemon on the specified *host*.

Unless directed to another *host* by the **-h** option, **autofsd-probe** will contact the **AutoFS** daemon on the local host.

The **AutoFS** file system is built on the Remote Procedure Call (**RPC**(3)) library routines.  The **-t** option allows the total timeout and retry timeout intervals to be set for all remote procedure call operations used with **autofsd-probe**. This option accepts an interval argument in the form described in the **PCPintro**(1) manual page.

**autofsd-probe** is typically used in an automated fashion from within [**pmdashping**(1)](/pmdashping/1.md) and in conjunction with [**pmie**(1)](/pmie/1.md), for monitoring response time and service failure.

By default **autofsd-probe** will not produce any output, unless there is an error in which case a diagnostic message will be displayed and the exit status will indicate the reason for failure.

## DIAGNOSTICS

If **autofsd-probe** succeeds, then 0 will be returned. If the attempt to establish a connection with **autofsd** fails, then 2 is returned. If the subsequent attempt to invoke an **autofsd** response fails, then 1 will be returned.

In the case of a syntactical command line error, 4 is returned and the usage message is displayed.

## PCP ENVIRONMENT

Environment variables with the prefix **PCP\_** are used to parameterize the file and directory names used by PCP. On each installation, the file */etc/pcp.conf* contains the local values for these variables. The **$PCP\_CONF** variable may be used to specify an alternative configuration file, as described in [**pcp.conf**(5)](/pcp.conf/5.md).

## SEE ALSO

**autofs**(1), **autofsd**(1), **PCPintro**(1), [**pmdashping**(1)](/pmdashping/1.md), [**pmie**(1)](/pmie/1.md) and **RPC**(3).
