[ale] Need help from cammand line and scripting gurus
hirsch at zapmedia.com
hirsch at zapmedia.com
Wed Feb 27 10:25:16 EST 2002
The linux (GNU?) version of ps allows for a 'w' switch that makes for
a "wide" output. More 'w's make it wider. I use "ps auxwww" to see
everything. Is there such an option in the SunOS version of ps?
--Michael
Mazukna, Thomas writes:
> 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