remove main method

This commit is contained in:
Doug MacEachern 2008-10-18 22:34:28 +00:00
parent 0d3be12ac6
commit befbdf13d2
1 changed files with 0 additions and 11 deletions

View File

@ -123,15 +123,4 @@ public class SigarProcess implements SigarProcessMBean {
public Long getOpenFd() { public Long getOpenFd() {
return new Long(getFd().getTotal()); return new Long(getFd().getTotal());
} }
public static void main(String args[]) {
SigarProcessMBean proc = new SigarProcess();
System.out.println("MemSize=" + proc.getMemSize());
System.out.println("MemResident=" + proc.getMemResident());
System.out.println("MemShared=" + proc.getMemShare());
System.out.println("MemPageFaults=" + proc.getMemPageFaults());
System.out.println("TimeUser=" + proc.getTimeUser());
System.out.println("TimeSys=" + proc.getTimeSys());
System.out.println("OpenFd=" + proc.getOpenFd());
}
} }