# shell **Repository Path**: yunwe/shell ## Basic Information - **Project Name**: shell - **Description**: 保存脚本 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-12-04 - **Last Updated**: 2025-05-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: shell, dev ## README # shell ## 介绍 用于保存平时用到的各类脚本 ## 使用说明 ### get_harbor_images.sh 获取所有Harbor镜像 ### hardware_config.sh 获取内存,cpu核心,磁盘配置,一般用于编写表格 ### system_info.sh 查看系统当前信息 ### ali_images.sh 部分国内无法拉取的镜像转为阿里镜像,再在服务器本地转为国外镜像tag ### loop_cpu.sh 占用CPU使用率,指定占用多少颗核心 ### loop_mem.py 占用内存使用率,支持MB,GB ### proxy_replace.sh 用于迁移本地Nginx的代理,全部换成k8s的svc,比如location / { proxy_pass http://k8s-master:31000/;} 只使用这一个NodePort,本地Nodeport太多,所以用该脚本一键替换。 使用方法 `proxy_pass.sh nginx.conf svc.conf` ### progress_bar.sh 用于显示某些安装函数的进度条功能