*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> numa_query_pid (3)              
Title
Content
Arch
Section
 

numa_query_pid(3)

Contents


NAME    [Toc]    [Back]

       numa_query_pid  - Returns NUMA-related information for the
       specified process identifier (libnuma library)

SYNOPSIS    [Toc]    [Back]

       #include <numa.h>

       int numa_query_pid(
               pid_t pid,
               numa_pid_info_t *npinfo );

PARAMETERS    [Toc]    [Back]

       Specifies a process identifier (pid) to detach from a  RAD
       set Specifies a pointer to the NUMA information associated
       with pid. See sys/numa_types.h for more information.

DESCRIPTION    [Toc]    [Back]

       The numa_query_pid() function returns NUMA-related  information
  about  a  specified  pid  in the rpinfo structure,
       which contains the following information:

       typedef struct __numa_pid_info {
               pid_t        npinfo_pid;     /* Process IDentifier
       */
               radid_t        npinfo_radid;    /*  Home  RAD  for
       rpinfo_pid */
               nsgid_t      npinfo_nsgid;   /* rpinfo_pid NSG  id
       (if any) */
               u_long       npinfo_attrib;  /* rpinfo_pid associated
 attributes */
               u_long       npinfo_pad[10]; /* future development
       */
           } numa_pid_info_t;

           /* rpinfo_attrib mask bits */
           #define  NPINFO_RAD_BIND          0x01     /*  PID  is
       bound to a RAD */
           #define  NPINFO_RAD_ATTACH        0x02     /*  PID  is
       attached to a RAD */
           #define  NPINFO_RAD_NO_INHERIT    0x04    /* PID children
 won't inherit RAD */
           #define NPINFO_NSG              0x08    /*  PID  is  a
       member of an NSG */
           #define  NPINFO_NSG_NO_INHERIT    0x10    /* PID children
 won't inherit NSG */


RETURN VALUES    [Toc]    [Back]

       Success.  Failure. In this case, errno is set to  indicate
       the error.

ERRORS    [Toc]    [Back]

       If  the  numa_query_pid() function fails, it sets errno to
       one of the following values for the  specified  condition:
       The  process specified by pid does not exist.  The address
       for the parameter npinfo is invalid.





SEE ALSO    [Toc]    [Back]

      
      
       Functions:      nsg_attach_pid(3),      rad_attach_pid(3),
       rad_bind_pid(3)

       Files: numa_types(4)



                                                numa_query_pid(3)
[ Back ]
 Similar pages
Name OS Title
nsg_detach_pid Tru64 Attaches a process to, or detaches a process from a NUMA Scheduling Group (libnuma library)
nsg_attach_pid Tru64 Attaches a process to, or detaches a process from a NUMA Scheduling Group (libnuma library)
nsg_get_nsgs Tru64 Returns a list NUMA Scheduling Groups (libnuma library)
nsg_get_pids Tru64 Return a list of a NUMA Scheduling Group's process identifiers (libnuma library)
nsg_init Tru64 Look up or create a NUMA Scheduling Group (libnuma library)
nsg_destroy Tru64 Destroys a NUMA Scheduling Group (libnuma library)
nsg_set Tru64 Set NUMA Scheduling Group owner and permissions (libnuma library)
nsg_get Tru64 Query status of a NUMA Scheduling Group (libnuma library)
nloc Tru64 Queries the NUMA Topology or Resource Affinity Domains (libnuma library)
numa_scheduling_groups Tru64 HP Tru64 UNIX NUMA Scheduling Groups description (libnuma library)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service