<?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 knowing who is running with more space in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309776#M6461</link>
    <description>&lt;P&gt;If i can please get help on this,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are using sas 9.4 with linux and have "temp" directory as temporary working dir for each node. sometime, we have&amp;nbsp;users running with huge space. i can see some session under /temp dir&amp;nbsp;like,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sas_work0e0e000xxx_.......&amp;nbsp;&amp;nbsp; and&lt;/P&gt;
&lt;P&gt;sas_util0075424903572049&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my question is what is best way to know which user is running with that temp sesson when we have lots of users? is there any specific command we can run in putty to get more details about that session? thanks.....&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;</description>
    <pubDate>Mon, 07 Nov 2016 17:24:04 GMT</pubDate>
    <dc:creator>woo</dc:creator>
    <dc:date>2016-11-07T17:24:04Z</dc:date>
    <item>
      <title>knowing who is running with more space</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309776#M6461</link>
      <description>&lt;P&gt;If i can please get help on this,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are using sas 9.4 with linux and have "temp" directory as temporary working dir for each node. sometime, we have&amp;nbsp;users running with huge space. i can see some session under /temp dir&amp;nbsp;like,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sas_work0e0e000xxx_.......&amp;nbsp;&amp;nbsp; and&lt;/P&gt;
&lt;P&gt;sas_util0075424903572049&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my question is what is best way to know which user is running with that temp sesson when we have lots of users? is there any specific command we can run in putty to get more details about that session? thanks.....&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;</description>
      <pubDate>Mon, 07 Nov 2016 17:24:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309776#M6461</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2016-11-07T17:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: knowing who is running with more space</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309965#M6473</link>
      <description>&lt;P&gt;To find the subdirectory tree that consumes the most space in a filesystem, do&lt;/P&gt;
&lt;PRE&gt;du -sk *|sort -nr|head&lt;/PRE&gt;
&lt;P&gt;from the roor of the filesystem.&lt;/P&gt;
&lt;P&gt;That will give you the 10 subdirs that eat the most space.&lt;/P&gt;
&lt;P&gt;Doing a&lt;/P&gt;
&lt;PRE&gt;ls -ld dirname&lt;/PRE&gt;
&lt;P&gt;on these directories will display the owning user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you run into problems with space consumption in shared resources, I recommend to activate the quota system. Single users will then run out of individual space before a show-stopper for everyone happens.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 07:13:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309965#M6473</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-11-08T07:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: knowing who is running with more space</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309973#M6475</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo﻿&lt;/a&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have faced this challenge before,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We used Windows/Linux Environment variable(for windows it is $USERNAME, ), which will give you a name of that user,&lt;/P&gt;&lt;P&gt;We have windows server so let me show you what we did;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First we went to&amp;nbsp;&lt;STRONG&gt;SASHome\SASFoundation\9.4\nls\en (&lt;/STRONG&gt;If you have unicode server, please open &lt;STRONG&gt;u8&lt;/STRONG&gt; folder instead of&amp;nbsp;&lt;STRONG&gt;en&lt;/STRONG&gt;)&lt;/LI&gt;&lt;LI&gt;Opened&amp;nbsp;sasv9.cfg file, and edited &lt;STRONG&gt;-WORK&amp;nbsp;&lt;/STRONG&gt;parameter value like this&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5694iFE908B26299C51FC/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="da.jpg" title="da.jpg" /&gt;&lt;/LI&gt;&lt;LI&gt;Earlier it was&lt;STRONG&gt;&amp;nbsp;-WORK "!TEMP\SAS Temporary Files\"&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;After saving the changes on file, what hapeens that whenver user open BASE SAS or Enterprise Guide, it will create a folder of&amp;nbsp;username in Temp folder, for eg: please see the below images&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5696iE67161FF78B011C4/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screenshot from 2016-11-08 12-52-46.png" title="Screenshot from 2016-11-08 12-52-46.png" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And user's temp file will drop in the username's(here user is sasdemo) folder&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5697i704882E6337D646A/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screenshot from 2016-11-08 12-58-25.png" title="Screenshot from 2016-11-08 12-58-25.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So after separating user's temp folder, you can easily estimate the folder size and estimate that which user is using highest memory by using&lt;STRONG&gt; ls -lht&lt;/STRONG&gt; command in Linux,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you are using Linux, so your environment variable for username is &lt;STRONG&gt;USER(&lt;/STRONG&gt;for windows it is&lt;STRONG&gt; USERNAME)&lt;/STRONG&gt;, or maybe different&amp;nbsp;one, so just give the environment variable name according to your Linux OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this works for you !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kalind&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 07:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309973#M6475</guid>
      <dc:creator>Kalind_Patel</dc:creator>
      <dc:date>2016-11-08T07:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: knowing who is running with more space</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309974#M6476</link>
      <description>If this is something you wish to do continously take a look at Environment Manager.</description>
      <pubDate>Tue, 08 Nov 2016 07:51:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309974#M6476</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-11-08T07:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: knowing who is running with more space</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309977#M6477</link>
      <description>&lt;P&gt;Excellent question&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for one-time analysis, all the commands that you already received, plus the suggestion tu separate work folders by username, are great and used as best practices.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you need a continued analysis/monitoring, you might use the SAS Environment Manager with its extended monitoring (APM/ACM), and there is also a 3rd Party tool, the Enterprise Session Monitor (ESM) by Boemska&amp;nbsp;&lt;A href="https://boemskats.com/esm" target="_blank"&gt;https://boemskats.com/esm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am having great experiences with both of those tools.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 08:14:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/309977#M6477</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2016-11-08T08:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: knowing who is running with more space</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/310523#M6499</link>
      <description>&lt;P&gt;Thank you all for your contrinution and time...i really like your ideas and thoughts. i have started keeping eye on using command like but it seems we will need to increase temp work space area which 500 gb as of now...may be 5TB or so...&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 21:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/knowing-who-is-running-with-more-space/m-p/310523#M6499</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2016-11-09T21:07:59Z</dc:date>
    </item>
  </channel>
</rss>

