摘要:
https://www.seimaxim.com/kb/how-to-monitor-vmware-envirnment-with-grafana 阅读全文
摘要:
https://blog.csdn.net/n88Lpo/article/details/86216575 MySQL运行内存不足时应采取的措施 performance_schema = 1performance_schema_instrument = "%memory%=on" 2、通过命令查询 阅读全文
摘要:
幸好备份了 ibdata1 ib_logfile0 ib_logfile1一些文件,因为这个是缓存文件,不能随便移除,另外mysql的pid不能放在/tmp下,不然会导致10天后不见,重启就会出现pid出错了,,然后需要删除ibdata1 ib_logfile0 ib_logfile1是错误的,因为 阅读全文
摘要:
让我们先来构造一条audit日志。在home目录下新建一个目录,然后配置一条audit规则,对这个目录的wrax,都记录审计日志: auditctl -w /home/audit_test -p wrax -k audit_test root用户访问audit_test目录时,即在这个目录下ls,审 阅读全文
摘要:
winlogbeat用于收集windows的系统事件日志; 官网安装方法:https://www.elastic.co/guide/en/beats/winlogbeat/current/winlogbeat-installation.html 收集并写入elasticsearch配置实例: win 阅读全文
摘要:
2020-05-07 发表者 Venus filebeat7.6.1修改索引名字后,比如下面这样,shop-api xxx 1 2 3 4 5 output.elasticsearch: hosts: ["http://192.168.0.10:9200"] index: "shop-api-%{[ 阅读全文
摘要:
定时任务分为系统定时/etc/crontab跟用户级别 05***必须精确到分,不然整个小时都在备份,不能*5*** 阅读全文
摘要:
/etc/crontab 和 /var/spool/cron区别 (2014-05-26 15:39:38) 转载▼ 标签: crontab 分类: linux 1./var/spool/cron/这个目录是以账号来区分每个用户自己的执行计划 -rw . /var/spool/cron/root - 阅读全文
摘要:
https://www.cnblogs.com/cjsblog/p/9495024.html 阅读全文
摘要:
剧本中可以使用判断的方式,减少hosts(play)的个数 template jinjia2 剧本中不能使用if判断,使用when判断 shutdown -a 取消关机 shutdown -s 关机 shutdown -f 强行关闭应用程序 shutdown -m \\计算机名 控制远程计算机 sh 阅读全文