搜索结果: "command"
共找到 70 个页面
MySQL / Redis 常见故障排查速查清单
tags: [mysql, redis, database, troubleshooting, production, command]
SELECT id, user, host, db, command, time
WHERE command = 'Sleep' ORDER BY time DESC LIMIT 20;
WHERE command != 'Sleep' AND time > 3 ORDER BY time DESC;
**现象**:写入报 `OOM command not allowed when used memory > 'maxmemory'`
MySQL 性能调优 — 慢查询 / 锁分析 / 死锁排查 / 索引失效 / 深度分页 / 缓冲池 / 配置模板
SELECT p.ID, p.USER, p.HOST, p.DB, p.COMMAND, p.TIME,
WHERE p.COMMAND != 'Sleep'
WHERE COMMAND != 'Sleep' AND TIME > 300
SELECT p.ID, p.USER, p.HOST, p.DB, p.COMMAND, p.TIME, p.STATE,
2. 找到谁持有了该表的 MDL — 查 `PROCESSLIST` 中 `Command=Sleep` 但未提交的事务
幽灵文件排查 — 删了 200GB 日志磁盘却不释放
tags: [linux, troubleshooting, disk, filesystem, storage, command, monitoring, case-study, production, container, debugging, logrotate]
- 第一条适合快速浏览,输出中的 `COMMAND`、`PID`、`FD`、`TYPE`、`SIZE/OFF` 和 `NAME` 最关键。`FD` 可能显示 `4w`,表示以写方式打开;`NAME` 末尾通常有 `(deleted)`。
printf '%-8s %-8s %-14s %-14s %-20s %s\n' PID FD ALLOCATED LOGICAL COMMAND TARGET
command=$(tr -d '\n' < "/proc/$pid/comm" 2>/dev/null)
"$pid" "$fd" "$allocated" "$logical" "$command" "$target"
Linux 运维工程师 30 个高频命令速查手册
> 进阶用法详见 [[linux-kill-command-advanced-guide]] — kill 命令高阶实战(kill -0 保活检测、kill -1 热重载、批量杀进程)
nice -n 10 command # 以低优先级启动
- [[container-ops-command-reference]] — 容器运维核心命令速查手册:Docker 容器/镜像/存储卷/网络管理命令、K8s Pod/调度/排障
- [[linux-ops-command-complete-guide]] — Linux 高频运维命令全梳理,60+ 命令按生产场景分类,含危险命令清单、实战排障套路、效率提升技
- [[linux-kill-command-advanced-guide]] — Linux kill 命令高阶实战指南 — 5 个高频信号、kill -0 保活检测、kill -1
Linux 高频运维命令全梳理 — 生产级命令参考手册
tags: [linux, command, troubleshooting, performance, networking, disk]
> 进阶用法详见 [[linux-kill-command-advanced-guide]] — kill 命令高阶实战(kill -0 保活检测、kill -1 热重载、批量杀进程、进程组清理)
> 关联排查:[[linux-essential-commands-reference]] — 30 个高频命令精简版
- [[linux-essential-commands-reference]] — 30 个高频命令精简版(与本文互为 companion)
- [[linux-kill-command-advanced-guide]] — Linux kill 命令高阶实战指南 — 5 个高频信号、kill -0 保活检测、kill -1
SMART 磁盘故障预测实战 — 采集管道 + smartd 告警 + XGBoost 模型 + Prometheus 可视化
| 188 | Command_Timeout | 命令超时次数 | 突然暴增 |
ID188=$(echo "$SMART_DATA" | awk '/Command_Timeout/{print $NF}')
timestamp,disk,reallocated_sector,reported_uncorrect,command_timeout,pending_sector,offline_uncorrectable,reallocated_event,power_on_hours,temperature
'smart_188_raw', # Command_Timeout
| 6 月 | sdc Command_Timeout 暴增 | 提前 3 天 | 接口问题,换线缆解决 |
Wiki Index
- [[container-ops-command-reference]] — 容器运维核心命令速查手册:Docker 容器/镜像/存储卷/网络管理命令、K8s Pod/调度/排障命令、五大高频故障排障流程、Probe 配置、QoS、回滚操作
- [[cpu-spike-3-commands]] — CPU 飙高三命令排查法:top → strace -c → /proc/PID/fd/ 实战案例
- [[linux-essential-commands-reference]] — Linux 运维工程师 30 个高频命令速查手册(ls/cd/grep/find/top/ss/tcpdump 等全覆盖)
- [[linux-kill-command-advanced-guide]] — Linux kill 命令高阶实战指南 — 5 个高频信号、kill -0 保活检测、kill -1 热重载、批量杀进程实战
- [[linux-ops-command-complete-guide]] — Linux 高频运维命令全梳理,60+ 命令按生产场景分类,含危险命令清单、实战排障套路、效率提升技巧
Wiki Log
- Created raw: raw/articles/cpu-spike-3-commands.md
- Created concepts: cpu-spike-3-commands(同伴案例页)
- Merged into: pod-troubleshooting(Exit Code 143/Java OOM/command override/三探针配合/8 步排查法)
- Updated: cpu-spike-3-commands(同伴交叉引用,三命令速查 → 完整排查方法论)
- concepts/linux/cpu-spike-3-commands.md(添加交叉引用 + bump updated)
线上故障排查清单 — CPU/磁盘/内存/GC/网络 四维速查
详细排查流程参见 [[cpu-spike-troubleshooting-guide]](四层定位法)和 [[cpu-spike-3-commands]](三命令速查)。
| [[cpu-spike-3-commands]] | CPU 飙高三命令速查 |
| [[linux-essential-commands-reference]] | Linux 30 个高频命令速查(排查场景 → 命令映射表) |
| [[linux-kill-command-advanced-guide]] | Linux kill 命令高阶实战指南 — 5 个高频信号、kill -0 保活检测、kill -1 |
运维自动化脚本 5 件套 — 健康巡检/日志告警/MySQL备份/批量执行/服务守护
def run_command(server, cmd):
stdin, stdout, stderr = ssh.exec_command(cmd)
def batch_execute(command):
futures = [executor.submit(run_command, s, command) for s in servers]
Linux 服务器 CPU 飙高排查 — 完整方法论 + 应急响应实战
。)
| [[cpu-spike-3-commands]] | CPU 飙高三命令速查(top → strace -c → /proc/PID/fd/,同伴快速参考) |
| [[linux-ops-command-complete-guide]] | Linux 高频运维命令全梳理,60+ 命令按生产场景分类,含危险命令清单、实战排障套路、效率提升技 |
| [[linux-essential-commands-reference]] | Linux 30 个高频命令速查(top/ps/kill 等进程管理命令速查) |
scp 与 rsync:服务器文件传输工具用法与优劣解析
tags: [linux, command, backup, networking, troubleshooting]
# command="/usr/bin/rsync --server ..." ssh-ed25519 AAA...
- [[linux-essential-commands-reference]] — Linux 常用命令手册
- [[linux-readlink-command-guide]] — readlink 命令完全指南 — 软链接溯源、路径解析、参数对比、实战场景、注意事项
服务器性能五维排查 — CPU/内存/磁盘/网络/文件系统深度解析
- raw/articles/cpu-spike-3-commands.md
参见 [[cpu-spike-3-commands]] 获取完整的三命令排查法实战案例。
| [[linux-essential-commands-reference]] | Linux 30 个高频命令速查(vmstat/free/iostat 等监控命令一览) |
| [[linux-ops-command-complete-guide]] | Linux 高频运维命令全梳理,60+ 命令按生产场景分类,含危险命令清单、实战排障套路、效率提升技 |
K8s 探针机制 — Liveness / Readiness / Startup 配置指南 + 百万级故障复盘
command:
command:
command:
Java 应用 CPU 100% 排查实战 — 从告警到代码行的四步法
> 排查方法论参见 [[cpu-spike-troubleshooting-guide]](通用 Linux 四层体系),三命令速查参见 [[cpu-spike-3-commands]]。
PID USER %CPU COMMAND
- [[cpu-spike-3-commands]] — 三命令速查(top → strace → /proc/PID/fd/)
磁盘排查工具实战指南 — iostat/smartctl/lsscsi 详解
tags: [linux, disk, storage, command, monitoring, troubleshooting]
| 188 | Command_Timeout | 命令超时次数 | 突然暴增是故障前兆 |
- [[linux-essential-commands-reference]] — Linux 常用命令
Linux 磁盘空间排查 — 8 个命令 / 四种场景 / 生产清理流程
tags: [linux, troubleshooting, disk, storage, filesystem, monitoring, production, debugging, command]
| [[linux-essential-commands-reference]] | Linux 30 个高频命令速查(df/du/find 等磁盘管理命令速查) |
| [[linux-ops-command-complete-guide]] | Linux 高频运维命令全梳理,60+ 命令按生产场景分类,含危险命令清单、实战排障套路、效率提升技 |
Linux 大文件传输方案选型指南 — 五大方案深度对比
tags: [linux, command, networking, performance, backup, compression]
| [[linux-essential-commands-reference]] | Linux 常用命令参考 |
| [[linux-ops-command-complete-guide]] | Linux 高频运维命令全梳理,60+ 命令按生产场景分类,含危险命令清单、实战排障套路、效率提升技 |
Linux 目录结构完全指南 — FHS 标准与运维实战
tags: [linux, command, storage, disk, architecture, troubleshooting]
- [[linux-essential-commands-reference]] — Linux 常用命令速查
- [[linux-readlink-command-guide]] — readlink 命令完全指南 — 软链接溯源、路径解析、参数对比、实战场景、注意事项
Linux 硬件信息查询与软件管理命令速查 — CPU/内存/磁盘/网络/主板全覆盖
tags: [linux, command, performance, monitoring, disk, networking, troubleshooting, architecture]
服务器硬件信息排查是运维日常高频场景。本文集中整理 CPU、内存、磁盘、网络、主板五类硬件查询命令,以及软件包管理命令,作为 [[linux-essential-commands-reference]] 的硬件侧补充。
| [[linux-essential-commands-reference]] | Linux 运维工程师 30 个高频命令速查(基础文件/进程/权限/网络操作) |
Linux kill 命令高阶实战指南
tags: [linux, command, troubleshooting]
- [[linux-ops-command-complete-guide]] — Linux 运维命令完整速查(含 kill/pkill 基础用法)
- [[linux-essential-commands-reference]] — Linux 必备命令速查
Linux 端口探查三工具 — ss / netstat / lsof 完全指南
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
| COMMAND | 进程名 |
- [[linux-essential-commands-reference]] — Linux 30 个高频命令速查手册(ss/netstat/lsof 等核心命令速查)
Linux 进程状态诊断 — 从 R/S/D/T 态看穿系统瓶颈
tags: [linux, troubleshooting, performance, command]
| [[linux-essential-commands-reference]] | Linux 常用命令参考 |
| [[linux-kill-command-advanced-guide]] | Linux kill 命令高阶实战指南 — 5 个高频信号、kill -0 保活检测、kill -1 |
Ansible Roles 实战全攻略:从零散 Playbook 到可复用项目
ansible.builtin.command: chronyc -a makestep
| [[linux-essential-commands-reference]] | Linux 常用命令参考 |
容器运维核心命令参考手册:Docker + K8s 全场景速查
tags: [kubernetes, docker, container, troubleshooting, command]
- [[linux-essential-commands-reference]] — Linux 命令速查
ConfigMap 挂载踩坑指南 — 符号链接 / 只读 / 热更新 / 标准挂载模式
- command:
| [[linux-readlink-command-guide]] |
K8s 资源限制配置指南 — Request / Limit / QoS / CPU Throttling
command: ["redis-server", "--maxmemory", "1536mb", "--maxmemory-policy", "allkeys-lru"]
- [[container-ops-command-reference]] — 容器运维核心命令速查手册:Docker 容器/镜像/存储卷/网络管理命令、K8s Pod/调度/排障
Pod 排障 — CrashLoopBackOff / Exit Code 排查 / OOM / 探针 / 依赖服务 / ConfigMap
# 或直接修改 Deployment 的 command 字段临时覆盖
| [[container-ops-command-reference]] | 容器运维核心命令速查手册:Docker 容器/镜像/存储卷/网络管理命令、K8s Pod/调度/排障 |
CPU 100% 故障排查实战:从告警到根因的全链路分析与 10 大场景
tags: [linux, troubleshooting, performance, java, jvm, case-study, command, monitoring]
- [[cpu-spike-3-commands]] — 三命令排查法
DNS 故障排查实战指南 — 从本地解析到权威 DNS 全链路
tags: [dns, networking, linux, troubleshooting, command]
- [[linux-essential-commands-reference]] — Linux 常用命令
grep / awk / sed 运维实战三件套 — 从日志排查到配置修改
tags: [linux, command, troubleshooting, performance, automation]
- [[linux-essential-commands-reference]] — Linux 运维 30 个高频命令速查
systemd 日志管理与实时监控:journalctl 命令完全指南
tags: [linux, command, monitoring, debugging, disk]
- [[linux-essential-commands-reference]] — 30 个高频命令速查(含 journalctl 基础用法)
内核日志持久化指南 — 从 rsyslog 到 journalctl 配置详解
- command
- [[linux-essential-commands-reference]] — Linux 运维必备命令速查
awk 与 sed 批量文本处理实战指南 — 从日志分析到配置管理
tags: [linux, command]
| [[linux-essential-commands-reference]] | Linux 常用命令大全 |
Linux 批量重命名指南 — rename/prename 8 大场景实战
tags: [linux, command, automation]
- [[linux-essential-commands-reference]] — Linux 命令综合参考
Linux 压缩解压工具对比与实战指南
tags: [linux, command, compression, tar, gzip, archive, performance]
| [[linux-essential-commands-reference]] | Linux 30 个高频命令速查(含 tar/gzip 基础用法) |
磁盘 IO 排查实战 — %util 陷阱与 await 真相
tags: [linux, performance, disk, storage, troubleshooting, monitoring, debugging, command]
PID PRIO USER DISK READ DISK WRITE COMMAND
Linux 四大防火墙对比与实战 — iptables/nftables/firewalld/ufw 配置总结
tags: [linux, networking, security, command, troubleshooting]
- [[linux-essential-commands-reference]] — Linux 运维命令速查手册
Linux Load Average 详解:概念、解读与实战判据
tags: [linux, performance, monitoring, troubleshooting, command]
- [[cpu-spike-3-commands]] — 三命令定位 CPU 飙高根因
Linux 海量文件删除指南 — find/perl/rsync/shred 四种方法对比
tags: [linux, command, performance, case-study, security, networking]
| [[linux-essential-commands-reference]] | Linux 命令速查(`rm`/`find`/`truncate` 等基础操作) |
Linux RAID 与 LVM 基础指南 — 磁盘组合与空间管理
tags: [linux, storage, disk, architecture, command]
- [[linux-essential-commands-reference]] — Linux 常用命令
Linux readlink 命令完全指南 — 软链接溯源与路径解析
tags: [linux, command, troubleshooting, automation]
- [[linux-essential-commands-reference]] — Linux 运维 30 个高频命令速查手册
Linux rm -rf 误删文件恢复实战指南 — 从事故复盘到数据恢复的完整手册
tags: [linux, troubleshooting, backup, security, disk, filesystem, command, case-study, data-loss]
- [[linux-readlink-command-guide]] — readlink 命令完全指南 — 软链接溯源、路径解析、参数对比、实战场景、注意事项
Wiki Schema
- command: Linux 命令与工具用法
MySQL 连接失败排查指南 — 从报错定位到根因修复
tags: [mysql, database, troubleshooting, networking, security, command]
MySQL 磁盘空间紧急处置指南 — 哪些文件能删,哪些绝不能动
tags: [database, mysql, storage, troubleshooting, disk, command]
MySQL 慢查询排查案例复盘 — 从发现到根治的完整链路
WHERE COMMAND != 'Sleep' AND TIME > 2
Redis 备份恢复实战 — 备份脚本 / 恢复流程 / 容灾方案
- **安全配置** — `rename-command FLUSHALL ""`、`requirepass`、`protected-mode`
Docker 生产环境踩坑指南 — 10 + 5 个常见问题
| [[container-ops-command-reference]] | 容器运维核心命令速查手册:Docker 容器/镜像/存储卷/网络管理命令、K8s Pod/调度/排障 |
Jenkins + Ansible 集成实战 — CI/CD 配置管理流水线
| ① Jenkins 找不到 ansible | `ansible: command not found` | Systemd 环境变量与登录 shell 不同 | Global Tool Configuration 配对路径;或 Jenkinsfile 中手动设 `PATH` |
网络基础必知必会 — IP/子网掩码/网关/路由/VLAN 完全解读
tags: [networking, linux, tcp, security, troubleshooting, command]
网络丢包排查全链路分析:从 ping 到 tcpdump 逐层排查指南
- [[linux-essential-commands-reference]] — Linux 命令速查
运维工程师面试 50 题 — 经典 Linux/网络/数据库基础全覆盖
command & # 后台启动
线上服务端口连不上?完整排查指南(从进程到客户端)
- [[linux-essential-commands-reference]] — Linux 命令速查
容器网络排障 6 层模型 — K8s/Docker/containerd 统一排查体系
| [[container-ops-command-reference]] | 容器运维核心命令速查手册:Docker 容器/镜像/存储卷/网络管理命令、K8s Pod/调度/排障 |
Jenkins 多 Master 架构部署方案 — K8S + Gateway API
command: "cat"
K8s Pod 调度策略完全指南 — 六大机制全解析
- [[container-ops-command-reference]] — 容器运维核心命令速查手册:Docker 容器/镜像/存储卷/网络管理命令、K8s Pod/调度/排障
K8s 存储生产配置与排障实战:PV/PVC/StorageClass 避坑指南
- [[linux-readlink-command-guide]] — readlink 命令完全指南 — 软链接溯源、路径解析、参数对比、实战场景、注意事项
K8s 故障排查实战 — 20 个生存法则
command: ["sh", "-c", "until nc -z redis 6379; do sleep 2; done"]
存储排障 — PVC Pending / 挂载失败
- [[container-ops-command-reference]] — 容器运维核心命令速查手册:Docker 容器/镜像/存储卷/网络管理命令、K8s Pod/调度/排障
CPU 飙高三命令排查法 — top → strace → /proc/PID/fd/ 实战
sources: [raw/articles/cpu-spike-3-commands.md]
磁盘 IO 监控参考 — iostat/vmstat 字段详解与五指标框架
tags: [linux, performance, disk, storage, monitoring, command]
Linux 磁盘分区与挂载完整实操指南 — 从分区到 LVM 生产实战
tags: [linux, disk, storage, command]
Linux 系统负载过高排查思路与实战 — 11 步标准流程与 6 场景修复手册
# TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
Linux 系统性能排查全景指南 — USE 方法论 + 四维排查 + eBPF 实战
tags: [linux, performance, monitoring, troubleshooting, debugging, command]
Linux 权限问题排查 — 从 Permission denied 到根因定位的完整指南
tags: [linux, troubleshooting, security, command, filesystem, nfs, container, networking]
rm -rf 误删文件恢复操作手册 — 从应急响应到工程化预防的完整实践
tags: [linux, command, backup, security, disk, filesystem, container, kubernetes, data-loss]
服务器突然卡顿运维排查 SOP — 从告警到根因的完整取证指南
# 14:36:09 UID PID %usr %system %guest %wait %CPU CPU Command
SSH 密钥目录全解 — ~/.ssh 各文件职责与权限
tags: [linux, security, ssh, command]