参考: 高性能集群软件Keepalived之安装配置篇http://ixdba.blog.51cto.com/2895551/1650311
iostat 命令用来监视系统输入/输出设备负载安装时可以执行如下命令yum install sysstat即可[root@zhaopin zhaopin]# iostat Linux 2.6.18-164.el5avg-cpu: %user %nice %system %iowait %steal %idle &nb
1.精确匹配: leo@ubuntu:~/test$ cat file 48 484 483 leo@ubuntu:~/test$ grep "48" file 48 484 483 leo@ubuntu:
当我们用ssh远程连接时需要认证,比如 ssh -i id_rsa dpoolbus@ip -p 26387 系统可能会提醒你输入yes 如何避免输入yes呢? 对, -o 选项 ssh -o StrictHostKeyChecking=no -i id_rsa dpoolbus@ip -p 26387
过滤多个字段 cat httpd-vhost.conf |egrep 'ServerName|ServerAlias' |awk '{print $2}'
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号