1828355 Members
3175 Online
109976 Solutions
New Discussion

Re: Monitor summary

 
Mrityunjoy Kundu
Frequent Advisor

Monitor summary

When i want to collect the output of monitor
summary for collecting output from 0 o'clock to 8 o'clock by following command
$mon clus /sum=a.a /begin=00:00 /end=08:00 /int=300

It shows the message
%MONITOR-E-BEGNLEND,begining time not earlier than ending time..

while.
$mon clus /sum=a.a /begin=08:00 /end=14:00 /int=300

works properly..


Where the mistake lies??

Please help...
9 REPLIES 9
Hein van den Heuvel
Honored Contributor

Re: Monitor summary


At what time did you request that?
I suspect that is was after 08:00 'today'.

That command would not make much sense, but the error message admittedly appears to be misleading.


Try:

$ mon clus /sum=a.a /begin="tomorrow +0-00:00:00.00" /end="tomorrow +0-08:00:00.00" /int=300

Personally I would not play with those few seconds aroud midnight and start 00:05:00

fwiw,
Hein.

Mrityunjoy Kundu
Frequent Advisor

Re: Monitor summary

Actually i want to collect monitro summary on daily basis infoour interval--0 o'clock to 8 o'clock,8o'clock to 14 o'clock,14 o'clock to 20 o'clock,20 o'clock to 0 o'clock.

$mon clus /sum=a.a /begin=08:00:00 /end=14:00:00/int=300
$mon clus /sum=a.b /begin=14:00:00 /end=20:00:00/int=300
$mon clus /sum=a.a /begin=20:00:00 /end=00:00:00/int=300
it works..but
$mon clus /sum=a.a /begin=00:00:00 /end=08:00:00/int=300
does not work
Hein van den Heuvel
Honored Contributor

Re: Monitor summary

Fine... but at what time do you issue those commands?
The END time MUST be after the current time. Therefor you can only issue the full list BEFORE 08:00 on the day itself, or you can pre-issue for tomorrow like I showed (or a variantion thereof).
Think about it!
What does it mean to request /BEG=00:00/END=08:00 at 09:00 ?

Back to my question.... when did you try this? I suspect it works when requested at 7.

Mind you, it might not be very useful.
You can just make a full file and ask monitor for an extract for a given range later on no?

Also... please consider T4.

Cheers,
Hein.





Mrityunjoy Kundu
Frequent Advisor

Re: Monitor summary

I run this file in a batch
$submit/keep/noprint/que=deer_batch/after="tomorrow+8:00" monbatch.com
Wim Van den Wyngaert
Honored Contributor

Re: Monitor summary

Leave out the /begin on all l;ines and it will work.

Wim
Wim
Mrityunjoy Kundu
Frequent Advisor

Re: Monitor summary

Thanks for help..
Mrityunjoy Kundu
Frequent Advisor

Re: Monitor summary

Thanks for help
Hein van den Heuvel
Honored Contributor

Re: Monitor summary

mrityunjoy >> I run this file in a batch
$submit/keep/noprint/que=deer_batch/after="tomorrow+8:00" monbatch.com

Like I wrote... what did you expect?
What is the meaning of /begin=00:00 /end=08:00 when it is alreeady 08:00?
If you mean 'tomorrow', then say 'tomorrow'!

Wim >> Leave out the /begin on all l;ines and it will work

How will that work if the END is the problem?!

Allow me to demonstrate:

$ show time
7-MAY-2007 07:39:36
$ mon clus /sum=a.a /end=06:00 /int=300
%MONITOR-E-BEGNLEND, beginning time not earlier than ending time

The beginning time is 'now' which is indeed not earlier than the end.
The error message becomes slightly confusing when an explicit begin is specified:

$ mon clus /sum=a.a /end=06:00 /int=300 /begin=04:00
%MONITOR-E-BEGNLEND, beginning time not earlier than ending time

Here the specified/requested begin time is earlier than the end, but the effective begin time is not.

Cheers,
Hein.


Wim Van den Wyngaert
Honored Contributor

Re: Monitor summary

If you know that the procedure starts at 8:00 you can say /end=14:00. At that end it will be 14:00 and then you can say /end=20:00 etc.

But as soon as the procedure doesn't start at 8:00 or if monitor should stop at 13:59:59 due to a bug THEN it wouldn't work.

Wim
Wim