ProcFd (Sigar API)
Date: 2009-07-09

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.sigar
Class ProcFd

    java.lang.Object
      org.hyperic.sigar.ProcFd

All Implemented Interfaces:
  java.io.Serializable

    public class ProcFd

extends java.lang.Object
implements java.io.Serializable

ProcFd sigar class.

See Also:
  Serialized Form

Constructor Summary
`ProcFd()`

Method Summary
`void` | `gather(Sigar sigar, long pid)`
`long` | `getTotal()` Get the Total number of open file descriptors.
`java.util.Map` | `toMap()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ProcFd

    public ProcFd()

Method Detail

### gather

    public void gather(Sigar sigar,
                       long pid)
                throws SigarException

  Throws:
    `SigarException`

### getTotal

    public long getTotal()

  Get the Total number of open file descriptors.

  Supported Platforms: AIX, HPUX, Linux, Solaris, Win32.

  System equivalent commands:

  - AIX: `lsof`
  - Darwin: `lsof`
  - FreeBSD: `lsof`
  - HPUX: `lsof`
  - Linux: `lsof`
  - Solaris: `lsof`
  - Win32: ``

  Returns:
    Total number of open file descriptors

### toMap

    public java.util.Map toMap()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright ? 2004-2009 Hyperic. All Rights Reserved.