From befbdf13d2ba4dc59f60e4a318a151568fa629ee Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 18 Oct 2008 22:34:28 +0000 Subject: [PATCH] remove main method --- .../java/src/org/hyperic/sigar/jmx/SigarProcess.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/bindings/java/src/org/hyperic/sigar/jmx/SigarProcess.java b/bindings/java/src/org/hyperic/sigar/jmx/SigarProcess.java index ab4d40fc..49014c3c 100644 --- a/bindings/java/src/org/hyperic/sigar/jmx/SigarProcess.java +++ b/bindings/java/src/org/hyperic/sigar/jmx/SigarProcess.java @@ -123,15 +123,4 @@ public class SigarProcess implements SigarProcessMBean { public Long getOpenFd() { 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()); - } }