摘要:
安装工具包 选项 描述 示例值 <!--?xml version="1.0" encoding="UTF-8"?--> max-size <!--?xml version="1.0" encoding="UTF-8"?--> 滚动前日志的最大大小。一个正整数加上一个代表测量单位(k,m 或 g)的修 阅读全文
posted @ 2019-05-23 17:32
cptao
阅读(4571)
评论(0)
推荐(0)
摘要:
如果想按行循环遍历出文件中内容,直接使用for是有问题的,第一行按空格分隔的会有问题 解决方法如下: 另外一种解决方式 阅读全文
posted @ 2019-05-23 17:22
cptao
阅读(3489)
评论(0)
推荐(0)
摘要:
有时发现某些文件的末尾总是带有^M符号 cat /etc/hosts.allow|col -b > /etc/hosts.allow.old 阅读全文
posted @ 2019-05-23 17:17
cptao
阅读(659)
评论(0)
推荐(0)
摘要:
s3cmd --access_key= --secret_key=xxxx --region=cn-north-1 --host=s3.cn-north-1.amazonaws.com.cn --host-bucket=test.s3.cn-north-1.amazonaws.com.cn ls s3://test 阅读全文
posted @ 2019-05-23 17:11
cptao
阅读(586)
评论(0)
推荐(0)
摘要:
安装 二,测试案例介绍: ############################## 同步i/o ##################################################################3 #同步i/o、顺序读: fio -filename=/dev/r 阅读全文
posted @ 2019-05-23 17:08
cptao
阅读(3228)
评论(0)
推荐(0)
摘要:
1.简介 Unixbench是一个类unix系(Unix,BSD,Linux)统下的性能测试工具,一个开源工具,被广泛用与测试linux系统主机的性能,简称UB。Unixbench的主要测试项目有:系统调用、读写、进程、图形化测试、2D、3D、管道、运算、C库等系统基准性能提供测试数据。 测试项目: 阅读全文
posted @ 2019-05-23 17:06
cptao
阅读(8984)
评论(0)
推荐(0)
摘要:
安装sysbench wget http://www.lefred.be/files/sysbench-0.5-3.el6_.x86_64.rpm wget http://nchc.dl.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbenc 阅读全文
posted @ 2019-05-23 17:03
cptao
阅读(391)
评论(0)
推荐(0)
摘要:
就是APACHE自带的测试工具AB(apache benchmark).在APACHE的bin目录下。 格式: ./ab [options] [http://]hostname[:port]/path 参数: -n requests Number of requests to perform //在 阅读全文
posted @ 2019-05-23 17:02
cptao
阅读(340)
评论(0)
推荐(0)
摘要:
https://k8smeetup.github.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ Horizontal Pod Autoscaling可以根据CPU利用率自动伸缩一个Replication Con 阅读全文
posted @ 2019-05-23 16:58
cptao
阅读(1246)
评论(0)
推荐(0)
摘要:
Kubernetes 1.8 关于资源使用情况的 metrics,可以通过 Metrics API 获取到, Kubernetes 1.11 已经废弃 heapster。这里我们基于 Kubernetes 1.14.1 版本安装 Metrics Server。 首先,先说明下集群环境: [root@node-01]# kubectl get nodes NAME STATUS ... 阅读全文
posted @ 2019-05-23 16:37
cptao
阅读(2731)
评论(0)
推荐(0)

浙公网安备 33010602011771号