Column Name
|
Data Type
|
Description
|
---|---|---|
Hostname
|
Character (64)
|
Identifies the machine.
|
CommitSize 1
|
Numeric
|
Amount of virtual memory
that is used by the server.
|
WorkingSet 1
|
Numeric
|
Amount of physical memory
currently in use by the server process.
|
VirtualMemory 2
|
Numeric
|
Amount of virtual memory
that is used by the server.
|
ResidentMemory 2
|
Numeric
|
Amount of physical memory
currently in use by the server process.
|
AllocatedMemory
|
Numeric
|
Amount of memory that
is used by the server, including memory that is used for tables.
|
TableAllocatedMemory
|
Numeric
|
Amount of memory that
is used for table storage.
|
1Applies to non-distributed servers on Windows only. These column names align with terms used in the Microsoft Windows Resource Monitor. | ||
2Applies to distributed and non-distributed servers on Linux only. |
libname example sasiola host="grid001.example.com" port=10010 tag=hps; proc imstat; table example._T_LASRMEMORY; fetch; quit; /* Alternatively, use the PRINT procedure */ data lasrmemory; set example._T_LASRMEMORY; run; proc print data=lasrmemory; title "Non-distributed Server Memory Use"; format _numeric_ sizekmg9.2; run;
libname example sasiola host="grid001.example.com" port=10010 tag=hps; data distributed; set example._T_LASRMEMORY; run; proc print data=distributed; title "Distributed Server Memory Usage"; format _numeric_ sizekmg9.2; sum _numeric_; run;
Column Name
|
Data Type
|
Description
|
---|---|---|
Hostname
|
Character (64)
|
Identifies the machine.
|
Tablename
|
Character(64)
|
Identifies the table.
|
InMemorySize
|
Numeric
|
Amount of memory that
is needed to store the table in memory.
|
UncompressedSize
|
Numeric
|
Amount of memory that
is used by the table when it is not compressed.
|
CompressedSize
|
Numeric
|
Amount of memory that
is used by the table when it is compressed.
|
TableAllocatedMemory
|
Numeric
|
Amount of memory that
is used for table storage.
|
NumberRecords
|
Numeric
|
Number of rows from
the table that are on the machine.
|
UseCount
|
Numeric
|
Number of processes
that are using the table.
When the value is zero
and the table is dropped, the memory is immediately freed. If the
count is greater than zero and the table is dropped, the memory is
not freed until the count drops to zero.
|
RecordLength
|
Numeric
|
Amount of memory that
is used to store one row of the table.
|
ComputedColLength
|
Numeric
|
Amount of memory that
is used to store columns that are created with the COMPUTE statement
of the IMSTAT procedure.
|
libname example sasiola host="grid001.example.com" port=10010 tag=hps; %let sizecols = InMemorySize UncompressedSize CompressedSize TableAllocatedMemory; %let countcols = NumberRecords UseCount RecordLength ComputedColLength; data tablemem; set example._T_TABLEMEMORY; run; proc print data=tablemem; title "Non-distributed Server Table Memory Usage"; format &sizecols. sizekmg9.2; format &countcols. 8.; sum _numeric_; run;
libname example sasiola host="grid001.example.com" port=10010 tag=hps signer="https://server.example.com/SASLASRAuthorization"; options dsaccel=any msglevel=i; data example.servermem(append=yes); set example._T_LASRMEMORY; dttm = datetime(); run;