OSINFO_$NODE_TYPE Domain/OS OSINFO_$NODE_TYPE
NAME
osinfo_$node_type - get model number of specified node
SYNOPSIS (C)
#include <apollo/base.h>
#include <apollo/osinfo.h>
void osinfo_$node_type(
char *node_spec,
short &spec_length,
short *model_length,
char *model,
int &model_max,
int *num_cpus,
status_$t *status)
SYNOPSIS (Pascal)
%include '/sys/ins/base.ins.pas';
%include '/sys/ins/osinfo.ins.pas';
procedure osinfo_$node_type(
in node_spec: univ os_rev_str_$t;
in spec_length: pinteger;
out model_length: pinteger;
out model: univ name_$name_t;
in model_max: linteger;
out num_cpus: linteger;
out status: status_$t);
DESCRIPTION
osinfo_$node_type supplies information on the model number and number of
CPUs of the node named 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.
model_length
The number of bytes written by osinfo_$node_type into model.
model
The model number of the node specified by node_spec.
model_max
The maximum number of bytes which will fit into model.
num_cpus
The number of CPUS installed on the node specified by node_spec.
status
The completion status.