Architecting, installing and maintaining your SAS environment

To Determine the WorkSpace Server alloted Space

Accepted Solution Solved
Reply
Contributor
Posts: 66
Accepted Solution

To Determine the WorkSpace Server alloted Space

Hi

 

Can anyone tell me how to find out the Space allocated to SAS WorkSpace server?

 

As for as i know the Work library is defined on Config (.cfg) file.

i dont have access to view the .cfg file to check.


Accepted Solutions
Solution
‎10-12-2016 08:14 PM
Trusted Advisor
Posts: 1,141

Re: To Determine the WorkSpace Server alloted Space

Hi,

 

as a quick addition of the df and quota commands provided by @KurtBremser (this will give you the information about disk space on the volumes):

 

- the du command over a folder will give you the file and folder sizes of the elements on that parent folder.

- besides work, you might want to give a look to UTILLOC (by default, the same location as SASWORK), and the SASUSER folders (on unix OS the /home/user folders) which migh have quotas too.

 

 

View solution in original post


All Replies
Trusted Advisor
Posts: 1,141

Re: To Determine the WorkSpace Server alloted Space

Hi,

 

you can run a 

%put _ALL_;
run;

the search for the SASWORK.

 

Regards,

Juan

Contributor
Posts: 66

Re: To Determine the WorkSpace Server alloted Space

Hi Juan,

Thank you !!!

 

I would like to know the total space alloted on the Server to SAS Workspace Server.

by using the above we can only get the details for a SAS Session.

 

 

Super User
Posts: 3,101

Re: To Determine the WorkSpace Server alloted Space

The best way is to get access to the SAS Workspace server folders via the OS using either network shares or a server remote login. Talk to your SAS administrator if you don't currently have access.

 

If your SAS sessions let you use X to do OS commands from within SAS then it is also possible to do it this way as well but its very clunky.

Contributor
Posts: 66

Re: To Determine the WorkSpace Server alloted Space

Hi

 

Thank you for the suggestions.

 

Please let me know wht X commands are to be used?

 

Regards

 

Super User
Posts: 3,101

Re: To Determine the WorkSpace Server alloted Space

What OS does your SAS App server run on? With Windows doing a Properties on the folder in Windows Explorer is the easiest way.

Super User
Posts: 6,928

Re: To Determine the WorkSpace Server alloted Space


santosh_pat69 wrote:

Hi

 

Thank you for the suggestions.

 

Please let me know wht X commands are to be used?

 

Regards

 


This depends on

a) your server operating system

b) if you have quotas enabled on the filesystem where WORK resides

 

As an example, on UNIX

df -k filesystem

will give you the size and free space of a filesystem in KB

But if you have quotas enabled, you should also check your personal quota with

quota -u

(AIX example)

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Solution
‎10-12-2016 08:14 PM
Trusted Advisor
Posts: 1,141

Re: To Determine the WorkSpace Server alloted Space

Hi,

 

as a quick addition of the df and quota commands provided by @KurtBremser (this will give you the information about disk space on the volumes):

 

- the du command over a folder will give you the file and folder sizes of the elements on that parent folder.

- besides work, you might want to give a look to UTILLOC (by default, the same location as SASWORK), and the SASUSER folders (on unix OS the /home/user folders) which migh have quotas too.

 

 

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 7 replies
  • 487 views
  • 3 likes
  • 4 in conversation