# man > snmpdf(1)

> **TLDR:** Fetch disk space usage information.
>
- Fetch the disk space usage:
  `snmpdf -v {{version}} -c {{community}} {{ip_address}}`
- Display help:
  `snmpdf {{-h|--help}}`

*Source: tldr-pages*

---

[SNMPDF(1)](https://www.chedong.com/phpMan.php/man/SNMPDF/1/markdown)                                     Net-SNMP                                     [SNMPDF(1)](https://www.chedong.com/phpMan.php/man/SNMPDF/1/markdown)



## NAME
       snmpdf - display disk space usage on a network entity via SNMP

## SYNOPSIS
       **snmpdf** [COMMON OPTIONS] [-Cu] [-Ch] AGENT

## DESCRIPTION
       **snmpdf**  is simply a networked version of the typical df command.  It checks the disk space on
       the remote machine by examining the HOST-RESOURCES-MIB's hrStorageTable or the UCD-SNMP-MIB's
       dskTable.  By default, the hrStorageTable is preferred as it typically contains more informa‐
       tion.  However, the -Cu argument can be passed to snmpdf to force the usage of the dskTable.

       AGENT identifies a target SNMP agent, which is instrumented to monitor the given objects.  At
       its simplest, the AGENT specification will consist of a hostname or an IPv4 address.  In this
       situation, the command will attempt communication with the agent, using UDP/IPv4 to port  161
       of the given target host. See the [_snmpcmd(1)](https://www.chedong.com/phpMan.php/man/snmpcmd/1/markdown)_ manual page for a full list of the possible for‐
       mats for AGENT.

       See the [_snmpd.conf(5)](https://www.chedong.com/phpMan.php/man/snmpd.conf/5/markdown)_ manual page on setting up the dskTable using the _disk_ directive in  the
       snmpd.conf file.

## OPTIONS
       **COMMON** **OPTIONS**
               Please  see  [_snmpcmd(1)](https://www.chedong.com/phpMan.php/man/snmpcmd/1/markdown)_  for  a list of possible values for COMMON OPTIONS as well as
               their descriptions.

### -Cu
               termine  the storage information. Generally, the default use of hrStorageTable in mib
               HOST-RESOURCES-MIB is preferred because it typically contains more information.

### -Ch

### -CH

## EXAMPLES
       % snmpdf -v 2c -c public localhost

       Description       size (kB)         Used    Available Used%
       /                   7524587      2186910      5337677   29%
       /proc                     0            0            0    0%
       /etc/mnttab               0            0            0    0%
       /var/run            1223088           32      1223056    0%
       /tmp                1289904        66848      1223056    5%
       /cache               124330         2416       121914    1%
       /vol                      0            0            0    0%
       Real Memory          524288       447456        76832   85%
       Swap Space          1420296       195192      1225104   13%

## SEE ALSO
       [snmpd.conf(5)](https://www.chedong.com/phpMan.php/man/snmpd.conf/5/markdown), [snmp.conf(5)](https://www.chedong.com/phpMan.php/man/snmp.conf/5/markdown)



V5.9.1                                       28 Jan 2013                                   [SNMPDF(1)](https://www.chedong.com/phpMan.php/man/SNMPDF/1/markdown)
