java.lang.Object
org.scictrl.csshell.epics.server.application.processmanager.PSPool.PSProc
Enclosing class:
PSPool

public static class PSPool.PSProc extends Object
Proc record.
  • Field Details

    • command

      public final String command
      Command name.
    • pid

      public final int pid
      Process pid.
    • cpu

      public double cpu
      process cpu usage
    • mem

      public double mem
      memory usage.
  • Constructor Details

    • PSProc

      public PSProc(int pid, String command)
      Constructor
      Parameters:
      pid - pid
      command - command
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • update

      public void update(PSPool.PSProc proc)
      Updated with new data
      Parameters:
      proc - new data