<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Measure CPU-time in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876334#M26658</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;With batch SAS logs a total real and CPU time for the whole job is printed at the end.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Exactly:&lt;/P&gt;
&lt;PRE&gt;&amp;gt;tail -n5  sassy.log
NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           1:17.30
      cpu time            6.09 seconds

&lt;/PRE&gt;</description>
    <pubDate>Wed, 17 May 2023 22:05:01 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-05-17T22:05:01Z</dc:date>
    <item>
      <title>Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876203#M26645</link>
      <description>&lt;P&gt;Hi! Is there any good way to measure the cpu-time for a SAS program?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At present I look in the SAS log and add together&lt;/P&gt;
&lt;P&gt;user cpu-time&amp;nbsp; &amp;nbsp; and system cpu-time&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Best Regards AndersS&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876203#M26645</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-05-17T13:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876206#M26647</link>
      <description>&lt;P&gt;That is the correct way to do it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876206#M26647</guid>
      <dc:creator>MargaretC</dc:creator>
      <dc:date>2023-05-17T13:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876208#M26648</link>
      <description>&lt;P&gt;If it is a batch program, wrap the sas commandline in the time command:&lt;/P&gt;
&lt;PRE&gt;time /path_to_sas/sas -log /logpath/program.log -sysin /progpath/program.sas&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 May 2023 13:17:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876208#M26648</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-17T13:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876319#M26656</link>
      <description>&lt;P&gt;With batch SAS logs a total real and CPU time for the whole job is printed at the end.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 20:13:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876319#M26656</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-05-17T20:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876334#M26658</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;With batch SAS logs a total real and CPU time for the whole job is printed at the end.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Exactly:&lt;/P&gt;
&lt;PRE&gt;&amp;gt;tail -n5  sassy.log
NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           1:17.30
      cpu time            6.09 seconds

&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 May 2023 22:05:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876334#M26658</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-05-17T22:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876388#M26662</link>
      <description>&lt;P&gt;Hi!&amp;nbsp; I use "SAS on Demand for Academics". Many thanks!&amp;nbsp; / AndersS&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 07:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876388#M26662</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-05-18T07:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876389#M26663</link>
      <description>Hi!&amp;nbsp; I use "SAS on Demand for Academics". Many thanks!&amp;nbsp; / AndersS</description>
      <pubDate>Thu, 18 May 2023 07:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876389#M26663</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-05-18T07:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876413#M26664</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10552"&gt;@AndersS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know you marked this as solved, but if you wanted to have more elaborate measurements displayed in the log, you can use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options fullstimer;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/n0k7vnqt9p9o91n1jsl23a08l13e.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/n0k7vnqt9p9o91n1jsl23a08l13e.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 11:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876413#M26664</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2023-05-18T11:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876414#M26665</link>
      <description>&lt;P&gt;System CPU time is the time used by kernel calls (like the very basic read() or write() functions), while user CPU is the time spent in the non-system code. It is therefore correct to add both numbers up to get the whole CPU used by a process (or a SAS program step).&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 11:13:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876414#M26665</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-18T11:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876417#M26666</link>
      <description>Many thanks!  /Br AndersS</description>
      <pubDate>Thu, 18 May 2023 11:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876417#M26666</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-05-18T11:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Measure CPU-time</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876418#M26667</link>
      <description>Many thanks! I am working a a FAST method for quantiles on LARGE amounts of data. / BR AndersS</description>
      <pubDate>Thu, 18 May 2023 11:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Measure-CPU-time/m-p/876418#M26667</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2023-05-18T11:44:04Z</dc:date>
    </item>
  </channel>
</rss>

