Operating System - Tru64 Unix
1752587 Members
3712 Online
108788 Solutions
New Discussion юеВ

pgrep/pkill for Tru64

 
Aco Blazeski
Regular Advisor

pgrep/pkill for Tru64

Hello,

Are there commands like pgrep/pkill on Solaris for Tru64??
I have few servers so I need to make some scripts and these commands would be quite convenient to have on Tru64.

Thanks,

p.s. Not to mention that your time and effort will be appreciated.
3 REPLIES 3
Orjan Petersson
Frequent Advisor

Re: pgrep/pkill for Tru64

Aco Blazeski
Regular Advisor

Re: pgrep/pkill for Tru64

Thanks Orjan,

I had already tried skill, but it has not the flexibility of pkill.

Any other suggestion, any one ??
Mark Poeschl_2
Honored Contributor

Re: pgrep/pkill for Tru64

alias pgrep="ps -ef | grep "
alias pkill="kill -15 "

Not a Solaris expert, but it looks like that will do what you want based on a quick look at a Solaris admin guide.