---
name: "Filesys::Statfs"
section: "3pm"
platform: "linux"
package: "libfilesys-statvfs-perl"
version: "0.75-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Filesys::Statfs"
---

# Filesys::Statfs(3pm)

Perl extension for statfs().

## NAME

Filesys::Statfs - Perl extension for statfs().

## SYNOPSIS

```
  use Filesys::Statfs;
```

```
        my($ftype, $bsize, $blocks, $bfree, $files,
           $ffree, $bavail) = statfs("/tmp");
```

## DESCRIPTION

Interface for *statfs()*;

The *statfs()* function will return a list of values or will return undef and  set $! if there was an error.

The values returned are described in the statfs header or the *statfs()* man page.

## AUTHOR

Ian Guthrie IGuthrie@aol.com

Copyright (c)  2003 Ian Guthrie. All rights reserved.\
                This program is free software; you can redistribute it and/or\
                modify it under the same terms as Perl itself.

## SEE ALSO

[*statfs*(2)](/statfs/2.md), df(1M)
