<?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 How to get the hardware info about SAS/CONNECT session in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-get-the-hardware-info-about-SAS-CONNECT-session/m-p/818770#M24582</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to take metrics of SAS and have a basic understanding of the hardware the sessions uses. I sign on to SAS/CONNECT session and I want to know what:&amp;nbsp;CPU,&amp;nbsp;RAM and disk the session utilizes.&lt;/P&gt;&lt;P&gt;So far I could get only the number of CPU cores with this code:&lt;/P&gt;&lt;PRE&gt;proc options option=cpucount value; run;&lt;/PRE&gt;&lt;P&gt;I know of existence of CPUID option, this is set to 'CPUID' meaning:&amp;nbsp;&lt;SPAN&gt;CPU identification number is written to the SAS log. Although, I can't see it...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="sascommunity_cpu.JPG" style="width: 502px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72388i48FB2E8DEF24AB22/image-size/large?v=v2&amp;amp;px=999" role="button" title="sascommunity_cpu.JPG" alt="sascommunity_cpu.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know a way I can get the name of hardware units used?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would expect output like: a CPU name, eg. Intel Core i5-6500 or a number that allow to identify the CPU unit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I use SAS BASE 9.4 TS Level 1M7 on Windows, connecting to UNIX SAS/CONNECT session. I am interested in SAS/CONNECT session hardware.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your input.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 09:35:48 GMT</pubDate>
    <dc:creator>klmd189</dc:creator>
    <dc:date>2022-06-17T09:35:48Z</dc:date>
    <item>
      <title>How to get the hardware info about SAS/CONNECT session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-get-the-hardware-info-about-SAS-CONNECT-session/m-p/818770#M24582</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to take metrics of SAS and have a basic understanding of the hardware the sessions uses. I sign on to SAS/CONNECT session and I want to know what:&amp;nbsp;CPU,&amp;nbsp;RAM and disk the session utilizes.&lt;/P&gt;&lt;P&gt;So far I could get only the number of CPU cores with this code:&lt;/P&gt;&lt;PRE&gt;proc options option=cpucount value; run;&lt;/PRE&gt;&lt;P&gt;I know of existence of CPUID option, this is set to 'CPUID' meaning:&amp;nbsp;&lt;SPAN&gt;CPU identification number is written to the SAS log. Although, I can't see it...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="sascommunity_cpu.JPG" style="width: 502px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72388i48FB2E8DEF24AB22/image-size/large?v=v2&amp;amp;px=999" role="button" title="sascommunity_cpu.JPG" alt="sascommunity_cpu.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know a way I can get the name of hardware units used?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would expect output like: a CPU name, eg. Intel Core i5-6500 or a number that allow to identify the CPU unit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I use SAS BASE 9.4 TS Level 1M7 on Windows, connecting to UNIX SAS/CONNECT session. I am interested in SAS/CONNECT session hardware.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your input.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 09:35:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-get-the-hardware-info-about-SAS-CONNECT-session/m-p/818770#M24582</guid>
      <dc:creator>klmd189</dc:creator>
      <dc:date>2022-06-17T09:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the hardware info about SAS/CONNECT session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-get-the-hardware-info-about-SAS-CONNECT-session/m-p/818799#M24583</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/198061"&gt;@klmd189&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get some metrics/info&amp;nbsp; on resources allocated to your Remote SAS session on Linux, run the following statement once you have established connection&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Rsubmit;
   Proc Options; Run; /* This will display all your SAS settings on Linux */
EndRsubmit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You check the &lt;A title="Proc Options documentation" href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p1kwrbpvinbd5bn1cpha9brh92eg.htm" target="_blank" rel="noopener"&gt;Proc Options documentation&lt;/A&gt; for further options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To always display extended metrics for every step/proc executed in your SAS session (Local / Remote) enable the FULLSTIMER option&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="FULLSTIMER System Option: Windows" href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p07iiwnf85r6lwn1xg9zl58ouvw1.htm" target="_blank" rel="noopener"&gt;FULLSTIMER System Option: Windows&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Options FULLSTIMER;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="FULLSTIMER System Option: UNIX" href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/n0k7vnqt9p9o91n1jsl23a08l13e.htm" target="_blank" rel="noopener"&gt;FULLSTIMER System Option: UNIX&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Rsubmit;
   Options FULLSTIMER;
EndRsubmit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Depending on how open your Remote (Linux) session is, i.e. whether or not you can issue Linux System commands from within SAS&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Rsubmit;
  Proc Options option=&lt;A title="XCMD System Option: UNIX" href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/n02699r064oqccn19vblte8xzr8m.htm" target="_blank" rel="noopener"&gt;xcmd&lt;/A&gt;; Run;
EndRsubmit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;If your remote SAS session allows system commands, then you can try using the Pipe Filename device type with your Linux Command. example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Filename LnuxInfo PIPE "lscpu";  /* You can change the lscpu command with another Linux listing command, such as df -h */

/* The data step below would read the output from the Linux Command and place it in the Log Window */
DATA _NULL_;
   INFILE lnuxInfo Lrecl = 500;
   INPUT;
   PUT _INFILE_;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 11:53:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-get-the-hardware-info-about-SAS-CONNECT-session/m-p/818799#M24583</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2022-06-17T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the hardware info about SAS/CONNECT session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-get-the-hardware-info-about-SAS-CONNECT-session/m-p/818944#M24584</link>
      <description>&lt;P&gt;That's the sort of information available in SAS Environment Manager plus all of the performance stats. Talk (nicely) to your SAS administrator about gaining access. You will be very limited by what you can find in a basic SAS session.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 00:43:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-get-the-hardware-info-about-SAS-CONNECT-session/m-p/818944#M24584</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-06-18T00:43:40Z</dc:date>
    </item>
  </channel>
</rss>

