OSINFO_$MEM_SIZE Domain/OS OSINFO_$MEM_SIZE
NAME
osinfo_$mem_size - get memory size of specified node
SYNOPSIS (C)
#include <apollo/base.h>
#include <apollo/osinfo.h>
void osinfo_$mem_size(
char *node_spec,
short &spec_length,
int *mem_size,
status_$t *status)
SYNOPSIS (Pascal)
%include '/sys/ins/base.ins.pas';
%include '/sys/ins/osinfo.ins.pas';
procedure osinfo_$mem_size(
in node_spec: univ os_rev_str_$t;
in spec_length: pinteger;
out mem_size: linteger;
out status: status_$t);
DESCRIPTION
osinfo_$mem_size supplies information about the amount of memory
installed on the node specified by node_spec.
node_spec
A node specification. Node_spec can be either the root path or the
node ID (network_number.node_number) of a node: "//fnord" or
"4051237a.a105," for example.
spec_length
The number of bytes in node_spec.
mem_size
The size, in kilobytes, of the specified node's memory.
status
The completion status.