自由的力量,自由的生活。
参数输入进程号...#!/bin/bash
if [ -z $1 ] then echo "Need a pid argument" exit 1 fi
if [ -d /proc/$1 ];then exit 0 else exit 1 fi
Copyright @ ivaneeo Powered by: .Text and ASP.NET Theme by: .NET Monster