cpu_get_rad(3) Library Functions Manual cpu_get_rad(3)NAME
cpu_get_rad - Queries the RAD associated with a CPU (libnuma library)
SYNOPSIS
#include <numa.h>
radid_t cpu_get_rad(
cpuid_t cpu );
PARAMETERS
Identifies the CPU for which the associated RAD is requested.
DESCRIPTION
The cpu_get_rad() function returns the identifier of the Resource Affinity Domain (RAD) associated with the CPU specified by the cpu argu-
ment.
RETURN VALUES
The cpu_get_rad() function returns the following values: Success. Failure. In this case, errno is set to indicate the error.
ERRORS
If the cpu_get_rad() function fails, it sets errno to the following value: The CPU identifier specified by cpu is invalid.
SEE ALSO
Functions: numa_intro(3)
Files: numa_types(4)cpu_get_rad(3)
Check Out this Related Man Page
rad_get_current_home(3) Library Functions Manual rad_get_current_home(3)NAME
rad_get_current_home - Returns the caller's home Resource Affinity Domain (libnuma library)
SYNOPSIS
#include <numa.h>
radid_t rad_get_current_home(
void );
PARAMETERS
None.
DESCRIPTION
The rad_get_current_home() function returns the home Resource Affinity Domain (RAD) of the caller.
RESTRICTIONS
As is true for many system information queries, the data returned by the rad_get_current_home() function may be stale by the time it is
returned to or used by the caller. For example, migration of the process to a different RAD could occur after the "current home RAD" is
fetched.
RETURN VALUES
This function returns the caller's home RAD and always completes successfully.
ERRORS
None.
SEE ALSO
Functions: cpu_get_current(3), cpu_get_rad(3), nloc(3), numa_intro(3), rad_attach_pid(3)
Files: numa_types(4)rad_get_current_home(3)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)