#!/bin/sh
a=$@
b=`ps x|grep ^\ *$a`
if [ "$b" = "" ]
then
	echo 0
fi
if [ "$b" != "" ]
then
 	echo 1
fi
