<?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: Calculate WORK space ocuppied in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430554#M27788</link>
    <description>&lt;P&gt;I can give you an example how I did it.&lt;/P&gt;
&lt;P&gt;The operating system is AIX.&lt;/P&gt;
&lt;P&gt;The superuser runs the repquota command regularly on the WORK location, and puts the output to a place where a SAS job can pick it up. The SAS job reads the file with a data step an appends the dataset to a master, so that I can go back in time and visit the state of WORK at any given time. I can also follow the development of a user's usage of WORK.&lt;/P&gt;
&lt;P&gt;How often you run this two-stage process depends on the speed with which critical situations can develop and how much time the quota report needs; basically you determine this through experience. When using cron for scheduling, the finest resolution in the timescale is one minute.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 17:27:13 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-01-24T17:27:13Z</dc:date>
    <item>
      <title>Calculate WORK space ocuppied</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430540#M27786</link>
      <description>&lt;P&gt;Hello there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a way (if it's possible) to calculate the space that all SAS users are consuming specifically in the WORK library/environment. My company has many users of SAS Enterprise Guide but the work quota is limited for user (and I assume that has a limit for the library somewhere).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So let's say that are 10 users of SAS and each one as a 5GB limit...so this leads us to a 50GB total. However the if the WORK has 40GB limit some users (in a worst case scenario) are kinda limited by others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm looking for is a&amp;nbsp;way that I can check the usage of the WORK by all users (user A is using X GB, user B is using Y GB, and so on). I'm not the system administrator/DBA so I don't know if a key-user of the software has access to this...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has some idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot and cheers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430540#M27786</guid>
      <dc:creator>Ti4gO</dc:creator>
      <dc:date>2018-01-24T16:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate WORK space ocuppied</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430554#M27788</link>
      <description>&lt;P&gt;I can give you an example how I did it.&lt;/P&gt;
&lt;P&gt;The operating system is AIX.&lt;/P&gt;
&lt;P&gt;The superuser runs the repquota command regularly on the WORK location, and puts the output to a place where a SAS job can pick it up. The SAS job reads the file with a data step an appends the dataset to a master, so that I can go back in time and visit the state of WORK at any given time. I can also follow the development of a user's usage of WORK.&lt;/P&gt;
&lt;P&gt;How often you run this two-stage process depends on the speed with which critical situations can develop and how much time the quota report needs; basically you determine this through experience. When using cron for scheduling, the finest resolution in the timescale is one minute.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 17:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430554#M27788</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-24T17:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate WORK space ocuppied</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430817#M27806</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/188831"&gt;@Ti4gO&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have some ways to achieve what you need. The one mentioned by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;'s experience is already very good.&lt;/P&gt;
&lt;P&gt;More things you can do, is to monitor the WORK, either with OS commands (dir, du, etc) or with tools, such as Enterprise monitoring tools or, one that I am enjoying to use now is Enterprise Session Monitor (aka ESM) by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/46760"&gt;@boemskats&lt;/a&gt;. Specially useful for SAS sessions..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another thing you can do, and it is probably the best, is to specify an independent and user-based Work location on the Workspace Server sessions, since it is only for (interactive) users, where you have the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For that, you can go to Config/Lev1/SASApp/WorkspaceServer/sasv9_usermods.cfg (or WorkspaceServer_usermods.[sh|bat] ) and and add a -WORK parameter. (&amp;nbsp;&lt;A href="http://support.sas.com/kb/41/806.html" target="_blank"&gt;http://support.sas.com/kb/41/806.html&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example that I used in the part on Windows environments would be -WORK /my_folder_to_users/!USERNAME, then you can have the quotas on those user folders.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 08:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430817#M27806</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-01-25T08:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate WORK space ocuppied</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430821#M27807</link>
      <description>&lt;P&gt;Thanks for the mention Juan. Also don't forget my &lt;A href="https://github.com/boemska/worktop" target="_self"&gt;WORKtop project on GutHub&lt;/A&gt;,&amp;nbsp;it's very effective, as long as you don't need historical data.&amp;nbsp;It has a whopping 6 stars now (!!!)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nik&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 09:07:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculate-WORK-space-ocuppied/m-p/430821#M27807</guid>
      <dc:creator>boemskats</dc:creator>
      <dc:date>2018-01-25T09:07:52Z</dc:date>
    </item>
  </channel>
</rss>

