Search Results

Search: Posts Made By: thirdcoaster
4,762
Posted By thirdcoaster
It is a requirement of my business partner that I...
It is a requirement of my business partner that I use jps. jps will return the information I need, which is basically, is there a cq process running or not. I have confirmed this many times.

The...
4,762
Posted By thirdcoaster
Yes. I did that and got a better result - the pid...
Yes. I did that and got a better result - the pid is returned and the correct message comes through: proc running. However, there is still an invalid argument error, and I am still stuck with the...
4,762
Posted By thirdcoaster
Unfortunately that didn't work either. I made the...
Unfortunately that didn't work either. I made the suggested change and get the following:


root@quartz>/var/opt/OV/bin/instrumentation> ./cq_mon.sh cq_mon
invalid argument count
usage: jps...
4,762
Posted By thirdcoaster
#set variables CMD="jps -l | grep cq | wc -l" ...
#set variables
CMD="jps -l | grep cq | wc -l"
CMDPATH1="/usr/jdk/jdk1.5.0_24/bin/"
CMDPATH2="/usr/jdk/instances/jdk1.5.0/bin/"

if [ -d $CMDPATH1 ]
then
$CMDPATH1/$CMD
elif [-d...
4,762
Posted By thirdcoaster
Thank you!!! :)
Thank you!!! :)
4,762
Posted By thirdcoaster
That looks so tidy and nice! The second...
That looks so tidy and nice!

The second part is I guess, how to interpret the output and pass that into a message.

So, the output of the command, if everything is hunky dory, returns the...
4,762
Posted By thirdcoaster
Help with simple script to find PID of process
Hi everyone. I've been reading around and am a little bit overwhelmed, hoping to find a kind soul out there to hold my hand through writing my first script. This need has emerged at work and I...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 11:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy