ADSM-L

Re: Smart reboot for tsm server under solaris

2005-11-14 09:11:59
Subject: Re: Smart reboot for tsm server under solaris
From: "Murphy, Christopher" <cmurphy AT IDA DOT ORG>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 14 Nov 2005 09:11:35 -0500
> Also, is there a betterr way to check for a process than
> "ps -ef |grep process name"?

I believe Solaris 7+ has this little tool which might be useful to you:

pgrep <process name>

And it's twin:

pkill <process name>

Both accept the same arguments.  The '-U' option is nice if you need to
search by user.
HTH!

Chris Murphy
IT Resource Analyst - Enterprise Architecture 
Institute for Defense Analyses

<Prev in Thread] Current Thread [Next in Thread>