[ale] Need help from cammand line and scripting gurus
Ken Nagorski
kenn at pcintelligent.com
Wed Feb 27 09:59:23 EST 2002
Hi there,
really this is Solaris question however I did a `ps -ef` on a sun box here
are work and this is one od the processes
root 377 1 0 Feb 01 console 0:00 /usr/lib/saf/ttymon -g -h -p
atlmail console login: -T sun -d /dev/console -l
Looks likw more than 80 chars? Also did you try grepping it? It might only
display 80 chars however grep might still get the info you want...
ps -ef | grep <some_string>
Thanks
Ken
> Hi,
>
> here is where I am stuck:
> os - SunOS xxxx 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-4
> the task - I need to make sure that one process is alive and running.
> The problem is that it is a java process and there are a lot of those
> running on the box, so the only way to tell is to look at the start
> class which is passed in as a param to java. ps display only 80 chars
> whic is not enough
> "/bin/../java/bin/../jre/bin/../bin/sparc/native_threads/java
> -Dbeanfactory.cfg="
> how do I do it? This will be launched from a script periodicly to check
> and restart the process. Only standart tools can be used... since I
> have no way of getting anything installed on those production servers
> :(
>
> thanks,
> Tomas
>
> ---
> This message has been sent through the ALE general discussion list. See
> http://www.ale.org/mailing-lists.shtml for more info. Problems should
> be sent to listmaster at ale dot org.
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list