会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大海星
首页
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
26
下一页
2016年3月1日
sed删除匹配行到最后的行。
摘要: xxxxxbbbbb44444abc6688888yyyyyy我要删除匹配包含abc行和后面所有行,得到结果xxxxxbbbbb44444如何搞??谢谢!解决方法:sed '/^abc/,$d' file解释:,$d的作用是删除匹配到的行到末行的行的所有数据。 ...
阅读全文
posted @ 2016-03-01 00:36 大海星
阅读(2025)
评论(0)
推荐(0)
2016年2月29日
awk
摘要: http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858470.htmltt.log文件内容 14 1048576000 /usr/oracle/data/PRD0.2/store_ix10.db...
阅读全文
posted @ 2016-02-29 23:48 大海星
阅读(131)
评论(0)
推荐(0)
2016年2月26日
iptables2
摘要: http://cnzhx.net/blog/common-iptables-cli/ 本文介绍iptables这个Linux下最强大的防火墙工具,包括配置iptables三个链条的默认规则、添加iptables规则、修改规则、删除规则等。一、查看规则集 ipta...
阅读全文
posted @ 2016-02-26 16:26 大海星
阅读(178)
评论(0)
推荐(0)
firewall-cmd
摘要: Contents [hide] 1 使用 FirewallD 构建动态防火墙1.1 “守护进程”1.2 静态防火墙(system-config-firewall/lokkit)1.3 使用 iptables 和 ip6tables 的静态防火墙规则1.4 什么是区域?...
阅读全文
posted @ 2016-02-26 14:45 大海星
阅读(323)
评论(0)
推荐(0)
2016年2月24日
查看heat template中的脚本
摘要: /var/log/cloud-init.log Or novaconsole-log [server-id]or vi/var/lib/cloud/instances/065b5b7c-57dd-44ab-a5a2-1ae668fc14aa/user-data.txt...
阅读全文
posted @ 2016-02-24 14:15 大海星
阅读(257)
评论(0)
推荐(0)
snmp简介
摘要: 如何检查snmp是否配置成功http://www.cnblogs.com/xdp-gacl/p/4016524.html 检查snmpd服务是否已在运行:# netstat -nlup | grep ":161"udp 0 0 0.0.0.0:...
阅读全文
posted @ 2016-02-24 13:34 大海星
阅读(419)
评论(0)
推荐(0)
2016年2月23日
Nagios各组件简述及nrpe详解
摘要: http://www.cnblogs.com/JemBai/archive/2012/04/10/2440075.html only command[check_total_procs]need to be updated to “-w 200 –c 250”.No...
阅读全文
posted @ 2016-02-23 23:09 大海星
阅读(233)
评论(0)
推荐(0)
Rsyslog
摘要: 参考链接http://huoding.com/2014/05/09/347http://my.oschina.net/0757/blog/198329?fromerr=EkQXyLKTrsyslog服务和logrotate服务=====================...
阅读全文
posted @ 2016-02-23 10:50 大海星
阅读(234)
评论(0)
推荐(0)
nagios setup
摘要: http://www.cnblogs.com/kaituorensheng/p/4682565.html How toset up Nagios Remote Plugin Executor (NRPE) in LinuxLast updated on March 2...
阅读全文
posted @ 2016-02-23 10:39 大海星
阅读(153)
评论(0)
推荐(0)
2016年2月17日
Heat/ApplicationDeployment
摘要: https://wiki.openstack.org/wiki/Heat/ApplicationDeployment Walk-through in a stack's lifetimeThe user calls the Heat API to create a s...
阅读全文
posted @ 2016-02-17 22:57 大海星
阅读(162)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
26
下一页