Glad to help ..  one advantage of actually writing to files is that you can
see what's going on throughout the day:

(given the data is on SERVER 191)

'EXEC VMLINK  SERVER 191 (INVOKE TYPE CPU LOG .FM'

Or the same for MAX LOG, although you may get an RC28 if you haven't reached
100% yet today.

Scott

On Tue, Apr 7, 2009 at 12:22 PM, Suleiman Shahin <[email protected]>wrote:

>  Thanks, Scott.
>
> Cool! This will do the job.
>
> Much appreciated.
>
> Suleiman Shahin
>
>
>
> ------------------------------
> Date: Tue, 7 Apr 2009 12:13:01 -0600
> From: [email protected]
> Subject: Re: Creating two logs from an exec
> To: [email protected]
>
> After the 'CP SLEEP 5 MIN':
>
> Parse VALUE TIME() With hh ':' mm ':' ss .
> If hh = '23' & mm >= '55' Then Do
>   'EXEC SENDFILE' cpulog 'SULEIMAN'
>   'ERASE' cpulog
>   'EXEC SENDFILE' maxlog 'SULEIMAN'
>    'ERASE' maxlog
> E
>
> ------------------------------
> Rediscover HotmailĀ®: Get quick friend updates right in your inbox. Check
> it 
> out.<http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates1_042009>
>

Reply via email to