Search Results

Search: Posts Made By: Desibaba
3,722
Posted By Desibaba
No rush.. whenever you have time... you...
No rush.. whenever you have time...
you provided great help here.
Thanks a bunch..
3,722
Posted By Desibaba
ok i got it working. had to change 1 to 0 I...
ok i got it working. had to change 1 to 0

I like your idea of doing 3 checks for ps command.

I am new to this scripting, can you show me how to do counters?

thanks
3,722
Posted By Desibaba
ok i configure the script as you suggested and...
ok i configure the script as you suggested and now output is clean but no message comes in from opcmsg?
severity was for testing only. change it to warning.

here is debug

# sh -x ./javaproc.sh...
3,722
Posted By Desibaba
Here it is: I only want to run opcmsg when this...
Here it is:
I only want to run opcmsg when this process goes down.
-Dweblogic.Name=ALGX_DEV__AS2
# /usr/ucb/ps -augxww | grep ALGX_DEV__AS2
ecomadm 28706 0.1 0.81522040509120 ? S...
3,722
Posted By Desibaba
Ok so space was the issue? I added the space...
Ok so space was the issue? I added the space between brackets and now i get this error
#!/usr/bin/ksh
PS=`/usr/ucb/ps -augxww | grep ALGX_DEV__AS2 | awk '{print $14}'`
if [ $PS -lt 1 ]
...
3,722
Posted By Desibaba
Need help with ksh script
Hi,

I need to use ksh script to do following

/usr/ucb/ps -augxww | grep ALGX_DEV__AS2 | awk '{print $14}'if above ps command return nothing
then
run this:
/opt/OV/bin/OpC/opcmsg...
4,770
Posted By Desibaba
... let me see...
... let me see...
Showing results 1 to 7 of 7

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