LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 11 Jun 2008 18:58:52 -0400
Reply-To:     "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject:      Re: catching process CPU and real time
Content-Type: text/plain; charset=iso-8859-1

based on my own limited (1.5 years) R&D on this subject I recommend that you stick with writing the log and reading it later. I had suggested that SAS provide pointers to the memory areas where the various CPU and Memory values were stored, but that item was refused. This article addresses most of the setup issues of Batch Processing Under Windows http://tinyurl.com/6zlqoh http://www.sascommunity.org/wiki/Batch_processing_under_Windows In my own site setup I use the following to overwrite the destination filename of the altlog. http://www.sascommunity.org/wiki/Using_sysfunc_with_file_functions_to_overwrite_altlog see Michael Raithel's most excellent paper on using the LogParse macro to read program logs. Ron Fehd the more-than-you-wanted-to-know-from-your-(alt)log maven

________________________________

From: owner-sas-l@listserv.uga.edu on behalf of James Muller Sent: Tue 6/10/2008 10:09 PM To: SAS-L@LISTSERV.UGA.EDU Cc: James Muller Subject: catching process CPU and real time

Hi list,

I'm looking around for automatically-set macros taking the values of the CPU time and real time of the last process (data step, etc). Nothing found so far. I may be looking past it, but am getting the sense of having exhausted most possibilities...

I know I could set things up in a bunch of different ways to pull this information out of a log, etc, but by a wide margin the best solution is to handle it all internally in a SAS program, without requiring any files written to disk along the way.

Failing an automatically-set real time variable, do we have access to a high-resolution calendar time variable direct in SAS? Keeping with the internal thing I'd rather avoid calling external programs to obtain this.

So, any thoughts? All appreciated-

Cheers

James


Back to: Top of message | Previous page | Main SAS-L page