shell/shell脚本编程进阶/查看僵尸进程.sh

5 lines
72 B
Bash

#!/bin/bash
#查看僵尸进程
ps -al | gawk '{print $2,$4}' | grep Z