code: public static void main(String[] args) {
      LinuxResourceCalculatorPlugin plugin = new LinuxResourceCalculatorPlugin();
      System.out.println("Physical memory Size (bytes) : "
          + plugin.getPhysicalMemorySize());
      System.out.println("Total Virtual memory Size (bytes) : "
          + plugin.getVirtualMemorySize());
      System.out.println("Available Physical memory Size (bytes) : "
          + plugin.getAvailablePhysicalMemorySize());
      System.out.println("Total Available Virtual memory Size (bytes) : "
          + plugin.getAvailableVirtualMemorySize());
      System.out.println("Number of Processors : " + plugin.getNumProcessors());
      System.out.println("CPU frequency (kHz) : " + plugin.getCpuFrequency());
      System.out.println("Cumulative CPU time (ms) : " +
              plugin.getCumulativeCpuTime());
      try {
        // Sleep so we can compute the CPU usage
        Thread.sleep(500L);
      } catch (InterruptedException e) {
        // do nothing
      }
      System.out.println("CPU usage % : " + plugin.getCpuUsage());
    }
docs: Test the {@link LinuxResourceCalculatorPlugin}
  
  @param args