{"title":"查询","inframe":false,"hidden":false,"roles":{"dev":1},"pageLink":"","children":[{"configs":{"serverScript":"var rows = [],\n  mb = 1048576,\n  df = new java.text.DecimalFormat('#,##0'),\n  rt = java.lang.Runtime.getRuntime(),\n  props = java.lang.System.getProperties(),\n  env = java.lang.System.getenv(),\n  addr = java.net.InetAddress.getLocalHost(),\n  total = rt.totalMemory(),\n  free = rt.freeMemory();\nrows.push({\n  name: '系统重启时间',\n  value: DateUtil.format(Base.startTime)\n});\nrows.push({\n  name: '内存大小',\n  value: df.format(total / mb) + ' MB'\n});\nrows.push({\n  name: '已用内存',\n  value: df.format((total - free) / mb) + ' MB'\n});\nrows.push({\n  name: '空闲内存',\n  value: df.format(free / mb) + ' MB'\n});\nrows.push({\n  name: '最大可用内存',\n  value: df.format(rt.maxMemory() / mb) + ' MB'\n});\nrows.push({\n  name: '可用处理器个数',\n  value: df.format(rt.availableProcessors())\n});\nrows.push({\n  name: '用户名',\n  value: env.get('USERNAME')\n});\nrows.push({\n  name: '计算机名',\n  value: env.get('COMPUTERNAME')\n});\nrows.push({\n  name: '计算机域名',\n  value: env.get('USERDOMAIN')\n});\nrows.push({\n  name: '主机IP地址',\n  value: addr.getHostAddress()\n});\nrows.push({\n  name: '主机名',\n  value: addr.getHostName()\n});\nrows.push({\n  name: '操作系统名称',\n  value: props.getProperty('os.name')\n});\nrows.push({\n  name: '操作系统架构',\n  value: props.getProperty('os.arch')\n});\nrows.push({\n  name: '操作系统版本',\n  value: props.getProperty('os.version')\n});\nrows.push({\n  name: 'Java 版本',\n  value: props.getProperty('java.version')\n});\nrows.push({\n  name: 'Java 供应商',\n  value: props.getProperty('java.vendor')\n});\nrows.push({\n  name: 'Java 供应商 URL',\n  value: props.getProperty('java.vendor.url')\n});\nrows.push({\n  name: 'Java 安装路径',\n  value: props.getProperty('java.home')\n});\nrows.push({\n  name: 'Java 虚拟机规范版本',\n  value: props.getProperty('java.vm.specification.version')\n});\nrows.push({\n  name: 'Java 虚拟机规范供应商',\n  value: props.getProperty('java.vm.specification.vendor')\n});\nrows.push({\n  name: 'Java 虚拟机规范名称',\n  value: props.getProperty('java.vm.specification.name')\n});\nrows.push({\n  name: 'Java 虚拟机实现版本',\n  value: props.getProperty('java.vm.version')\n});\nrows.push({\n  name: 'Java 虚拟机实现供应商',\n  value: props.getProperty('java.vm.vendor')\n});\nrows.push({\n  name: 'Java 虚拟机实现名称',\n  value: props.getProperty('java.vm.name')\n});\nrows.push({\n  name: 'Java 运行时规范版本',\n  value: props.getProperty('java.specification.version')\n});\nrows.push({\n  name: 'Java 运行时规范供应商',\n  value: props.getProperty('java.specification.vendor')\n});\nrows.push({\n  name: 'Java 运行时规范名称',\n  value: props.getProperty('java.specification.name')\n});\nrows.push({\n  name: 'Java 类格式版本',\n  value: props.getProperty('java.class.version')\n});\nrows.push({\n  name: 'Java 类路径',\n  value: props.getProperty('java.class.path')\n});\nrows.push({\n  name: 'Java 加载库路径列表',\n  value: props.getProperty('java.library.path')\n});\nrows.push({\n  name: '文件分隔符',\n  value: Wb.encode(props.getProperty('file.separator'))\n});\nrows.push({\n  name: '路径分隔符',\n  value: Wb.encode(props.getProperty('path.separator'))\n});\nrows.push({\n  name: '行分隔符',\n  value: Wb.encode(props.getProperty('line.separator'))\n});\nrows.push({\n  name: '用户帐户名称',\n  value: props.getProperty('user.name')\n});\nrows.push({\n  name: '用户主目录',\n  value: props.getProperty('user.home')\n});\nrows.push({\n  name: '当前工作目录',\n  value: props.getProperty('user.dir')\n});\nrows.push({\n  name: '扩展目录',\n  value: props.getProperty('java.ext.dirs')\n});\nrows.push({\n  name: '临时目录',\n  value: props.getProperty('java.io.tmpdir')\n});\napp.send({\n  rows: rows\n});","itemId":"module"},"children":[],"type":"module","expanded":false}],"iconCls":""}