Package org.hyperic.sigar

Examples of org.hyperic.sigar.ProcFd


    public void output(long pid) throws SigarException {
        println("pid=" + pid);

        try {
            ProcFd fd = sigar.getProcFd(pid);
            println("open file descriptors=" + fd.getTotal());
        } catch (SigarNotImplementedException e) {}

        ProcExe exe = sigar.getProcExe(pid);
        String name = exe.getName();
        if (name.length() == 0) {
View Full Code Here


    public void output(long pid) throws SigarException {
        println("pid=" + pid);

        try {
            ProcFd fd = sigar.getProcFd(pid);
            println("open file descriptors=" + fd.getTotal());
        } catch (SigarNotImplementedException e) {}

        ProcExe exe = sigar.getProcExe(pid);
        String name = exe.getName();
        if (name.length() == 0) {
View Full Code Here

TOP

Related Classes of org.hyperic.sigar.ProcFd

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.