摘要: 1. 在/etc/xinetd.d下创建文件ccagent,内容如下: service ccagent{ disable = no flags = REUSE type = UNLISTED port = 9991 protocol = tcp socket_type = stream wait = 阅读全文
posted @ 2016-02-04 11:48 不良帅的江湖 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 命令使用:MegaCli -LDInfo -Lall -aALL 查raid级别MegaCli -AdpAllInfo -aALL 查raid卡信息MegaCli -PDList -aALL 查看硬盘信息MegaCli -AdpBbuCmd -aAll 查看电池信息MegaCli -FwTermLo 阅读全文
posted @ 2016-02-04 11:40 不良帅的江湖 阅读(473) 评论(0) 推荐(0) 编辑
摘要: ipmitool –I open sensor list 命令可以获取传感器中的各种监测值和该值的监测阈值,包括(CPU温度,电压,风扇转速,电源调制模块温度,电源电压等信息)ipmitool –I open sensor get “CPU0Temp” 可以获取ID为CPU0Temp监测值,CPU0 阅读全文
posted @ 2016-02-04 11:38 不良帅的江湖 阅读(2291) 评论(0) 推荐(0) 编辑
摘要: 戴尔远控卡密码修改的两种方式: 戴尔服务器远控卡默认用户名密码为:root calvin 1) 在本地Centos服务器上直接修改: yum -y install OpenIPMI OpenIPMI-tools service ipmi start ipmitool -I open user set 阅读全文
posted @ 2016-02-04 11:35 不良帅的江湖 阅读(1797) 评论(0) 推荐(0) 编辑
摘要: awk 1.域和记录: 取第一域,并在开头和结尾加字符begin和end 通常使用BEGIN来显示变量和预置变量,使用END来输出最终结果。 awk ' BEGIN {print "being"} {print $1} END {print "end"}' file 2.条件操作符: 第一字域,包含 阅读全文
posted @ 2016-02-04 11:26 不良帅的江湖 阅读(7711) 评论(0) 推荐(1) 编辑