Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Info Temp — — source: Informix-list mailing list archive (1991-1998)
Disclaimer: I am not a DBA
Question: Shouldn't the grep below be something more like 'grep 100.00$` to capture all of the logs at 100.00
percent? Running the grep as shown in your script from the command line resulted in one line on our system for a
log that was 96.16 percent full and didn't come up with any of the 10 that showed 100 percent. In fact, it
appears to me that the line it grabbed might be the log that is currently in use.
Am I correct, or do I need to have my IQ (ignorance quotient) adjusted?
carlos
Peter Dzvonyar wrote:
> LOG_FILLED=`onstat -l | grep "U--" | wc -l` # Query
> of how many logs being full
>
--
-------------------------------------------------------------------------------
Carlos Benjamin, Jr. (623) 869 - 2364
Programmer/Analyst/Consultant
Currently Assigned to Central Arizona Project mailto:inf999@cap-az.com
-------------------------------------------------------------------------------
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.