Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nsg_destroy(3) [osf1 man page]

nsg_destroy(3)						     Library Functions Manual						    nsg_destroy(3)

NAME
nsg_destroy - Destroys a NUMA Scheduling Group (libnuma library) SYNOPSIS
#include <numa.h> int nsg_destroy( nsgid_t nsg ); PARAMETERS
Specifies the NUMA Scheduling Group (NSG). DESCRIPTION
Remove the NSG identified by nsg and deallocate associated structures. If the NSG is currently non-empty, existing members are removed before deleting the NSG. RESTRICTIONS
The effective user ID of the calling process must be equal to the value of nsg_perm.cuid or nsg_perm.uid in the associated nsgid_ds struc- ture, or the calling process must have write permissions to the NSG. RETURN VALUES
Success. In this case, the NSG was successfully destroyed. Failure. The NSG was not destroyed and errno is set to indicate the error. ERRORS
If the nsg_destroy() function fails, it sets errno to one of the following values for the specified condition: The calling process does not have write permission. The nsg argument does not specify a valid NSG ID. SEE ALSO
Functions: nsg_attach_pid(3), nsg_init(3), numa_intro(3) Files: numa_types(4) nsg_destroy(3)

Check Out this Related Man Page

nsg_get(3)						     Library Functions Manual							nsg_get(3)

NAME
nsg_get - Query status of a NUMA Scheduling Group (libnuma library) SYNOPSIS
#include <numa.h> int nsg_get( nsgid_t nsg, nsgid_ds_t *result ); PARAMETERS
Specifies the NUMA Scheduling Group (NSG) Points to a structure that returns the result of the status query. DESCRIPTION
The nsg_get() function queries the status of the NSG by copying its associated nsgid_ds structure into a buffer pointed to by result. RESTRICTIONS
The effective user ID of the calling process must be equal to the value of nsg_perm.cuid or nsg_perm.uid in the associated nsgid_ds struc- ture, or the calling process must have read permissions to the NSG. RETURN VALUES
Success. Failure. In this case, errno is set to indicate the error. ERRORS
If the nsg_get() function fails, it sets errno to one of the following values for the specified condition: The calling process does not have read permission. The result argument specifies an invalid address. The nsg argument does not specify a valid NSG ID. SEE ALSO
Functions: nsg_attach_pid(3), nsg_get(3), numa_intro(3) Files: numa_types(4) nsg_get(3)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

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)
Discussion started by: gull04
3 Replies