Search Results

Search: Posts Made By: monty77
7,366
Posted By monty77
Sir, you are a legend! Works a charm. ...
Sir, you are a legend! Works a charm.

Thanks!!
Monty
7,366
Posted By monty77
Thanks for the correction .. still doesn't work...
Thanks for the correction .. still doesn't work however, it just writes to the log on startup and after the sleep. Confused, looks like it should work to me.

Cheers,
Monty
7,366
Posted By monty77
Can't seem to get that last change to work, I get...
Can't seem to get that last change to work, I get this:

./adam.sh[8]: [[x: not found
./adam.sh[8]: x: not found

Any ideas?
Thanks!
Monty
7,366
Posted By monty77
Thanks again, either one of those might work but...
Thanks again, either one of those might work but I went with this in the end:


echo "psc -i 10050 -s RELOAD_SERVICE" | tmadmin | grep -vE 'Name|------|'^$'' | awk '{print $7}'


..only thing...
7,366
Posted By monty77
My command runs a single time, looks like this: ...
My command runs a single time, looks like this:

tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under...
7,366
Posted By monty77
Thanks!! Looking good, however I think there's a...
Thanks!! Looking good, however I think there's a problem with my command as it seems to be pulling blanks instead of the value I want. I put an echo $new_value in there to prove this and sure...
7,366
Posted By monty77
Grabbing value from command output and monitoring for changes
Hi all,

Very new to shell scripting so appreciate some help!

There is a process count that I need to monitor, I have the AIX command that gives this value and I've cleaned it up with grep/awk...
Showing results 1 to 7 of 7

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