Class DeviceMemInfo

    • Constructor Detail

      • DeviceMemInfo

        public DeviceMemInfo()
      • DeviceMemInfo

        public DeviceMemInfo​(DeviceMemInfo source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getTotal

        public Long[] getTotal()
        Get 总内存大小。free命令中Mem:一行total的值,单位:KB
        Returns:
        Total 总内存大小。free命令中Mem:一行total的值,单位:KB
      • setTotal

        public void setTotal​(Long[] Total)
        Set 总内存大小。free命令中Mem:一行total的值,单位:KB
        Parameters:
        Total - 总内存大小。free命令中Mem:一行total的值,单位:KB
      • getUsed

        public Long[] getUsed()
        Get 已使用内存。free命令中Mem:一行used的值,单位:KB
        Returns:
        Used 已使用内存。free命令中Mem:一行used的值,单位:KB
      • setUsed

        public void setUsed​(Long[] Used)
        Set 已使用内存。free命令中Mem:一行used的值,单位:KB
        Parameters:
        Used - 已使用内存。free命令中Mem:一行used的值,单位:KB