Guardian Programming Reference Summary for C
Functions Summary (O-Q)
Guardian Programming Reference Summary for C—522630-001
7-30
PROCESSOR_GETINFOLIST_
Obtains configuration information and statistics about a processor.
return value:
error-detail
#include <cextdecs(PROCESSOR_GETINFOLIST_)>
short PROCESSOR_GETINFOLIST_ ([const char *nodename ] /* i */
,[ short length ] /* i */
,[ short cpu ] /* i */
,short *ret-attr-list /* o */
,short ret-attr-count /* i */
,short *ret-values-list /* i */
,short ret-values-maxlen /* i */
,short *ret-values-len /* o */
,[ short *error-detail ] ); /* o */
0 = Information is returned for the specified process.
1 = File-system error; error-detail contains the error number. Error 563 is
returned if the ret-values-list buffer is too small to contain all of the
requested information.
2 = Parameter error; error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
3 = Bounds error; error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
4=Reserved.
5 = Unable to communicate with cpu. The cpu parameter might not exist.
7 = An invalid return attribute code was supplied.
8 = The specified node is running a C-series version of the operating system;
PROCESSOR_GETINFOLIST_ cannot obtain information from a C-series
system.
Code Attribute Value Representation
2 processor type short
3 software version short
4 page size long
5 memory size long
6 first virtual page long
7 swappable pages long
8 free pages long