标签:Shell
/etc/rc.d/rc.sysinit 全文注释详解
Linux System Initialization Script (/etc/rc.d/rc.sysinit)
The first script that init runs is [/etc/rc.d/rc.sysinit]. This script does several initialization tasks: (This description is based on th...
Continue reading>>Shell脚本示例
◎/etc/init.d/rpcbind
Continue reading>>shell + python脚本监控gitlab ci停滞任务数
生产实践:
用于Gitlab sidekiq队列停滞任务数清除重启
学习技巧:
Shell while、function,Python BeautifulSoup使用
脚本内容:
Gitlab CI任务停滞数达到几百时会导致发布系统任务阻塞,影响开发使用,之前出过几次问题,搞个脚本...
Continue reading>>shell脚本监控进程挂掉自动重启
生产实践:
用于Gitlab sidekiq进程挂掉自动重启
学习技巧:
while、if语句、检测记数function,sidekiq启动
脚本内容:
上次搞了个通宵,把公司用了大几年的gitlab从8.11一步步手动编译升级到了11.4.14,没想到踩了个大坑,这个版本的sidekiq调用re2正...
Continue reading>>shell awk sed 学习书籍
◎ https://github.com/anzhihe/learning/tree/master/shell,移至github更新
shell awk sed learning books
bash4.0中文手册 [Download]
abs-guide [Download]
awk手册 [Download]
The AWK Programming Language...
Shell脚本更改Gitlab所有用户创建项目限制数
生产实践:
使用shell脚本更改Gitlab所有用户创建项目限制数
学习技巧:
curl使用、双层for循环、shell数组、gitlab api调用
脚本内容:
最近好几个开发同事反馈gitlab不能创建仓库,没有创建按钮,一看原来是projects_limit数到限制了,gitlab默认是每个用...
Continue reading>>