Attention : This code requires administrator privileges.
This script connects to a specific CAS server, elevates the session privileges to 'superuser' to access system information, and retrieves disk cache usage statistics via the 'getCacheInfo' action.
Data Analysis
Type : INTERNAL_CREATION
The data comes from the CAS server's system information (builtins.getCacheInfo) and does not depend on external data sources.
1 Code Block
CAS STATEMENT
Explanation : Connects to a CAS session named 'MonitorCDC' on a specific host and port.
Copied!
cas MonitorCDC cashost="sasserver" casport=5570;
1
cas MonitorCDC cashost="sasserver" casport=5570;
2 Code Block
PROC CAS Data
Explanation : CASL block: Assumes administrator role, executes the 'getCacheInfo' action to retrieve cache status, and displays the results (diskCacheInfo table).
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
Related Documentation
Aucune documentation spécifique pour cette catégorie.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.