bproc_numnodes

Name

bproc_numnodes -- get the number of nodes in the system

Synopsis

#include <sys/bproc.h>

int bproc_numnodes(void);

Description

bproc_numnodes returns the number of nodes in the system. If BProc is not running or not installed, it will return zero. The count does not include the front end machine. The nodes are numbered 0 through n-1.

See Also

bproc_nodeinfo(2), bproc_nodestatus(2), bproc_move(2)