歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

兼容各種Linux平台的關閉所有指定名字的進程的命令

kill -9 `ps -ef| grep processname| awk '{print $2}'`

支持以下平台:

 

Linux各種企業客戶操作系統平台

AIX5.3_ppc

AIX6.1_ppc

AIX7.1

HPUX11.23_ia64

HPUX11.23_pa-risc

HPUX11.31_ia64

HPUX11.31_pa-risc

Solaris9Sparc

Solaris10x86

Solaris10sparc

Solaris11x86

Solaris11sparc

Cent5 X64

Cent5X86

Cent6X64

Cent6X86

Cent7X64

Debian8X64

Debian8X86

Debian7X64

Debian7X86

Debian6X64

Debian6X86

Debian5X64

Debian5X86

Ubun10x64

Ubun10x86

Ubuntu12 X64

Ubuntu12 X86

Ubun14X64

Ubun14X86

Ora5X86

Ora5X64

Ora6X86

Ora6X64

Ora7X64

??Rhel4X64

?Rhel4X86

?Rhel5x86

?Rhel5x64

Rhel6X64

Rhel6X86

Rhel7X64

SUSE9X86

Suse10 X64

Suse10 X86

Suse11 x64

Suse11 x86

 

Copyright © Linux教程網 All Rights Reserved