Skip to content
Eternal Center

Eternal Center

  • Single-Node (单节点)
    • System (系统)
    • Service (服务)
    • Database (数据库)
    • Container (容器)
    • Virtualization (虚拟化)
  • Multi-Node (多节点)
    • Cluster (集群)
    • Big Data (大数据)
    • Cloud Computing (云计算)
    • Batch Processing (批量处理)
  • Approach (方式方法)
    • Languages (语言)
    • Ideas (思路)
    • Programing (编程)
    • Project (项目)
  • Eternity (永恒)
    • News (消息)
    • Creations (创作)
    • Classics (经典)
    • Legends (传说)
    • Chronicle (编年史)
    • FNIOS (宇宙公民开源学院)
Posted on May 30, 2020July 9, 2023 by Mingyu Zhu

[命令] Linux 命令 kill (进程杀死)

  • 内容一:显示 kill 所有可用的选项
  • 内容二:kill 的常用案例
    • 2.1 案例一:强杀某一个 PID 号
    • 2.2 案例二:正常退出某一个 PID 号
    • 2.3 案例三:杀死某一个进程名称下的所有 PID 号

内容一:显示 kill 所有可用的选项

# kill --help

内容二:kill 的常用案例

2.1 案例一:强杀某一个 PID 号

# kill -9 <PID number>

或者:

# kill -<kill option> <PID number>

2.2 案例二:正常退出某一个 PID 号

# kill -15 <PID number>

2.3 案例三:杀死某一个进程名称下的所有 PID 号

# killall <process name>
CategoriesChinese Post (中文帖子), System (系统), System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志), System Operation (系统操作), System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件), System Operation Commands (系统操作命令), System Performance (系统性能), System Process (系统进程), System Process & System Performance (系统进程 & 系统性能), System Process Security (系统进程安全), System Security (系统安全), System Software (系统软件)

Post navigation

Previous PostPrevious [命令] Linux 命令 pstree (显示进程树)
Next PostNext [命令] Linux 命令 history (历史命令的显示或使用)

Aspiration (愿景):

Everyone can achieve self-achievement and self-happiness fairly

每个人都能公平地实现自我成就和自我幸福

Logo (徽标):

Additional Information (其他信息):

About     Manual     Clone     Contact
Disclaimer     Friendly Links     Donation

关于     手册     克隆     联系
免责声明     友情链接     捐赠

Search Inside Website (站内搜索)

Search Outside Website (站外搜索):

Google         Wikipedia         Bing

Eternal URL (永恒网址):

https://eternity.eternalcenter.com Will be last access method / 将是最后的访问方式

Proudly powered by LNMP Proudly powered by WordPress