摘要: test 阅读全文
posted @ 2020-02-29 21:35 Robin_Wang 阅读(9) 评论(0) 推荐(0)
摘要: #include <stdio.h>#define isPrime(year) ((year%4==0&&year%100!=0)||(year%400==0))struct date{ int year; int month; int day;};int main(void){ int dateD 阅读全文
posted @ 2020-02-29 21:32 Robin_Wang 阅读(1268) 评论(0) 推荐(0)
摘要: #!/bin/bash CONCURRENCY=8 TIME_START=`date` for ((idx = 0; idx < $CONCURRENCY; idx++)) do time echo "scale=5000; a(1)*4" | bc -l > /dev/null & done ec 阅读全文
posted @ 2020-02-29 21:27 Robin_Wang 阅读(378) 评论(0) 推荐(0)
摘要: 使用ssh登陆到esxi,可使用如下命令esxtop -b >> test.csv收集esxi的性能参数。 esxtop -b -d 2 -n 10 > test.csv (启用batch模式,收取的间隔时间是2秒,连续收取10次保存成test.csv) 阅读全文
posted @ 2020-02-29 21:24 Robin_Wang 阅读(273) 评论(0) 推荐(0)
摘要: Performance monitor log for 1 second interval time with 500MB circular log file.Logman.exe create counter Perf-1Second -f bincirc -max 500 -c "\Logica 阅读全文
posted @ 2020-02-29 21:22 Robin_Wang 阅读(156) 评论(0) 推荐(0)
摘要: # include <stdio.h>int main(void){ int n,t; t = 0; for (n = 1; n <= 200; n = n + 1) //n=1是初始表达式,n<=200是循环条件,n=n+1是循环表达式,也可以写为++n或n++,for表达式后面不需要分号负责会立 阅读全文
posted @ 2020-02-29 21:09 Robin_Wang 阅读(1774) 评论(0) 推荐(0)