Which is exactly why 'Open Source' works so well! Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885
'There are no degrees of Honesty-you're either Honest or you're not! From: Scott Rohling <scott.rohl...@gmail.com> To: IBMVM@LISTSERV.UARK.EDU Date: 04/07/2009 02:59 PM Subject: Re: Creating two logs from an exec Another great point! So we've jointly developed a simple CPU monitor w/history .. fun! Scott On Tue, Apr 7, 2009 at 1:54 PM, Thomas Kern <tlk_sysp...@yahoo.com> wrote: And if you want to keep the logs for more than one day: 'PIPE LITERAL *** CPU report | > CPULOG' Date('S') 'A' 'PIPE LITERAL *** 100% report | > MAXLOG' Date('S') 'A' /Tom Kern On Tue, 7 Apr 2009 13:06:27 -0600, Scott Rohling <scott.rohl...@gmail.com > wrote: >Good point! So change the 'ERASE' statements to: > >'PIPE LITERAL *** CPU report for' Date('S') '| > CPU LOG A' > >'PIPE LITERAL *** 100% report for' Date('S') '| > MAX LOG A' > >(note use of > to create new files instead of >> to append) > >But hmm.. if this is done before midnight then the date will be off -- so >also change the time check to: > >If hh = 0 & mm <=4 to make it happen just after midnight (with the >assumption that it is waking up every 5 minutes) > >Scott CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message.