摘要: Golang基础进阶——interface go语言中,接口 (interface) 是一个自定义类型,描述了一系列方法的集合,声明格式: type 接口类型名称 interface{ 方法名1(参数列表1) 返回值1 方法名2(参数列表2) 返回值2 } Go语言再接口命名时,一般会在单词后面添加 阅读全文
posted @ 2020-05-09 16:49 Wshile 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Zabbix监控——inode监控 agent端配置 创建监控脚本 [root@wshile ~]# vi /home/ctchat/shell/inode.sh #!/bin/bash df -i|grep nfs|awk -F% '{print $(NF-1)}'|awk '{print $NF 阅读全文
posted @ 2020-05-09 14:32 Wshile 阅读(745) 评论(0) 推荐(0) 编辑