跳转到内容

SRE笔记

  • 密码
    • 短链
  • 服务器
  • 关于

grep标签存档订阅

check_php_fpm.sh查看php-fpm

#! /bin/bash export LANG=en_US.UTF-8 #WARNLIMIT=-1… 继续阅读 check_php_fpm.sh查看php-fpm

  • 发表于: 2020-12-01 2020-12-01
  • 作者: javaer, javaer
  • 分类: SRE
  • 标签: grep, json, php
  • 发表评论: check_php_fpm.sh查看php-fpm

check_memcached.sh查看缓存信息

#! /bin/bash export LANG=en_US.UTF-8 #WARNLIMIT=-1… 继续阅读 check_memcached.sh查看缓存信息

  • 发表于: 2020-12-01 2020-12-01
  • 作者: javaer, javaer
  • 分类: SRE
  • 标签: awk, grep, memcached
  • 发表评论: check_memcached.sh查看缓存信息

check_mysql.sh查看MySQL状态

#! /bin/bash export LANG=en_US.UTF-8 #WARNLIMIT=-1… 继续阅读 check_mysql.sh查看MySQL状态

  • 发表于: 2020-11-29 2020-11-29
  • 作者: javaer, javaer
  • 分类: SRE
  • 标签: awk, grep, json, MySQL
  • 发表评论: check_mysql.sh查看MySQL状态

discover_cpuinfo.sh获取cpu信息

#! /bin/bash cpuInfo= columns=`sar -P ALL 1 1 | gr… 继续阅读 discover_cpuinfo.sh获取cpu信息

  • 发表于: 2020-11-29 2020-11-29
  • 作者: javaer, javaer
  • 分类: SRE
  • 标签: awk, bash, cpu, grep, Linux
  • 发表评论: discover_cpuinfo.sh获取cpu信息

check_nginx.sh查看nginx状态

#! /bin/bash export LANG=en_US.UTF-8 #WARNLIMIT=-1… 继续阅读 check_nginx.sh查看nginx状态

  • 发表于: 2020-11-29 2020-11-29
  • 作者: javaer, javaer
  • 分类: SRE
  • 标签: awk, grep, json, nginx
  • 发表评论: check_nginx.sh查看nginx状态

check_disk.sh磁盘分析

#! /bin/bash export LANG=en_US.UTF-8 FLAGE= VALUE=… 继续阅读 check_disk.sh磁盘分析

  • 发表于: 2020-11-25 2021-05-18
  • 作者: sre
  • 分类: SRE
  • 标签: awk, disk, grep, Linux
  • 发表评论: check_disk.sh磁盘分析

check_cpu.sh获取cpu状态脚本

#! /bin/bash cpumin= cpumax= load5=0 FLAGE= StatSt… 继续阅读 check_cpu.sh获取cpu状态脚本

  • 发表于: 2020-11-25 2020-12-04
  • 作者: sre
  • 分类: SRE
  • 标签: awk, cpu, grep, Linux
  • 发表评论: check_cpu.sh获取cpu状态脚本

CentOS服务器核查执行命令 服务器访问记录

cat /etc/redhat-release cat /proc/version cat /etc… 继续阅读 CentOS服务器核查执行命令 服务器访问记录

  • 发表于: 2020-11-10 2020-11-10
  • 作者: sre
  • 分类: SRE
  • 标签: bash, grep, Linux, ssh
  • 发表评论: CentOS服务器核查执行命令 服务器访问记录

检查所有用户的密码到期日期

# for user in $(cat /etc/passwd |cut -d: -f1); do … 继续阅读 检查所有用户的密码到期日期

  • 发表于: 2020-04-04 2020-04-04
  • 作者: sre
  • 分类: SRE
  • 标签: bash, grep, sed
  • 发表评论: 检查所有用户的密码到期日期

AutoJstack.sh

“`bash #!/bin/bash DATE=$(date +%y%m%d%H%M%S) sta… 继续阅读 AutoJstack.sh

  • 发表于: 2019-09-30 2021-04-05
  • 作者: sre
  • 分类: SRE
  • 标签: awk, cpu, grep, java, Linux, 工具
  • 发表评论: AutoJstack.sh

cenos67_pptp.sh

#!/bin/bash # # Author: yeho <lj2007331 AT gmai… 继续阅读 cenos67_pptp.sh

  • 发表于: 2019-09-30 2021-04-05
  • 作者: sre
  • 分类: SRE
  • 标签: epel, grep, iptables, yum, 工具, 网络
  • 发表评论: cenos67_pptp.sh

network-analysis.sh

#!/bin/bash #write by zhumaohai(admin#centos.bz) #… 继续阅读 network-analysis.sh

  • 发表于: 2019-09-30 2021-04-05
  • 作者: sre
  • 分类: SRE
  • 标签: awk, eth, grep, tcpdump, 工具, 网络
  • 发表评论: network-analysis.sh

sar+shell获取系统信息

CPU 平均值 #!/bin/sh echo “+————————-… 继续阅读 sar+shell获取系统信息

  • 发表于: 2019-09-18 2021-04-05
  • 作者: sre
  • 分类: SRE
  • 标签: awk, grep, Linux, shell
  • 发表评论: sar+shell获取系统信息

/var/log/messages监控脚本

#!/bin/bash #Set the variable which equal to zero … 继续阅读 /var/log/messages监控脚本

  • 发表于: 2019-08-02 2021-04-05
  • 作者: sre
  • 分类: SRE
  • 标签: grep, Linux, 工具
  • 发表评论: /var/log/messages监控脚本

/usr/libexec/grepconf.sh: line 5: grep: command not found

[root@usdt01 ~]# source /etc/profile bash: tty: co… 继续阅读 /usr/libexec/grepconf.sh: line 5: grep: command not found

  • 发表于: 2019-07-24 2020-12-14
  • 作者: sre
  • 分类: SRE
  • 标签: bash, grep, https, Linux
  • 发表评论: /usr/libexec/grepconf.sh: line 5: grep: command not found

grafana配置kubernetes app

#CA Cert cat ~/.kube/config | grep certificate-aut… 继续阅读 grafana配置kubernetes app

  • 发表于: 2019-07-09 2019-07-09
  • 作者: sre
  • 分类: SRE
  • 标签: Grafana, grep, https, kubernetes
  • 发表评论: grafana配置kubernetes app

vmware esxi shell强行开启虚拟机

列出虚拟机的ID: vim-cmd vmsvc/getallvms |grep <vm nam… 继续阅读 vmware esxi shell强行开启虚拟机

  • 发表于: 2019-07-04 2021-04-05
  • 作者: sre
  • 分类: SRE
  • 标签: esxi, grep, https, shell, vim, vmware
  • 发表评论: vmware esxi shell强行开启虚拟机

用initd服务化nginx,支持centos6,7和ubuntu

vim /etc/init.d/nginx #! /bin/bash #2019-02-12 PAT… 继续阅读 用initd服务化nginx,支持centos6,7和ubuntu

  • 发表于: 2019-02-12 2019-02-12
  • 作者: joker
  • 分类: SRE
  • 标签: grep, Linux, nginx, ubuntu
  • 发表评论: 用initd服务化nginx,支持centos6,7和ubuntu

ERROR: network harbor_harbor has active endpoints

docker-compose down ERROR: network harbor_harbor h… 继续阅读 ERROR: network harbor_harbor has active endpoints

  • 发表于: 2019-01-10 2019-01-10
  • 作者: joker
  • 分类: SRE
  • 标签: Docker, grep, harbor, nginx, redis
  • 发表评论: ERROR: network harbor_harbor has active endpoints

一键开启BBR脚本

适用环境 系统支持:CentOS 6+,Debian 7+,Ubuntu 12+ 虚拟技术:Open… 继续阅读 一键开启BBR脚本

  • 发表于: 2018-11-24 2018-11-27
  • 作者: admin
  • 分类: SRE
  • 标签: bash, grep, https, Linux, tcp, 工具, 网络
  • 发表评论: 一键开启BBR脚本

分页

上一页 页码: 1 页码: 2 页码: 3 页码: 4 页码: 5 页码: 6 下一页

搜索

搜索:

近期评论

  • 周周 发表在《Kubernetes部署NextCloud网盘》
  • mysql m-s via gtid – SRE笔记 发表在《MySQL SET GTID_NEXT》
  • kangder 发表在《Kubernetes部署NextCloud网盘》
  • xs 发表在《Kubernetes部署NextCloud网盘》
  • test 发表在《gin不转义html标签》

标签

aws (15) bash (1123) Blockchain (28) centos (28) Docker (105) elasticsearch (26) eth (34) fil (39) go (129) golang (154) Grafana (13) hpc (15) http (299) https (1999) ingress (14) iptables (20) java (75) JVM (20) kubernetes (309) Linux (546) lotus (30) mongoDB (41) MySQL (184) nginx (112) php (25) python (148) redis (34) s3 (75) shell (20) springboot (32) tcp (69) tomcat (15) ubuntu (31) vue (18) windows (42) wordpress (14) zabbix (37) 夏小胖 (31) 安全 (55) 工具 (451) 折腾 (24) 推荐 (15) 硬件 (61) 网络 (246) 资源 (49)

归档

  • 2024 年 12 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 10 月
  • 2023 年 9 月
  • 2023 年 8 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 11 月
  • 2022 年 10 月
  • 2022 年 9 月
  • 2022 年 8 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 5 月
  • 2022 年 4 月
  • 2022 年 3 月
  • 2022 年 2 月
  • 2022 年 1 月
  • 2021 年 12 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 9 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 6 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 3 月
  • 2021 年 2 月
  • 2021 年 1 月
  • 2020 年 12 月
  • 2020 年 11 月
  • 2020 年 10 月
  • 2020 年 9 月
  • 2020 年 8 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 4 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 4 月
  • 2017 年 3 月
  • 2017 年 2 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 11 月
  • 2016 年 10 月
  • 2016 年 9 月
  • 2016 年 8 月
  • 2016 年 7 月
  • 2016 年 6 月
  • 2016 年 5 月
  • 2016 年 4 月
  • 2016 年 3 月
  • 2016 年 2 月
  • 2016 年 1 月
  • 2015 年 12 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 2 月