摘要: 查看cpu使用情况的命令:top 查看内存使用量的命令:free -h 查看硬盘剩余量的命令: df redhat查看cpu信息 查看CPU型号 cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 查看CPU物理个数 cat /proc/cpu 阅读全文
posted @ 2020-05-12 17:13 harara 阅读(1234) 评论(0) 推荐(1)
摘要: 方法 ReflectionToStringBuilder.toString(user, ToStringStyle.SHORT_PREFIX_STYLE); 示例 package com.harara.test; import org.apache.commons.lang.builder.Refl 阅读全文
posted @ 2020-05-12 11:04 harara 阅读(853) 评论(0) 推荐(0)
摘要: 1、与 and oracle自带函数bitand(int,int) select bitand(2,4) from dual; 2的二进制是0010,4的二进制是0100,与的结果是0 2、或 or bitor(a,b)=a+b-bitand(a,b) 建立自定义函数bitor(a,b) creat 阅读全文
posted @ 2020-05-12 10:22 harara 阅读(1288) 评论(0) 推荐(0)