gethomelgroup man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

getcpuid(3C)		 Standard C Library Functions		  getcpuid(3C)

NAME
       getcpuid, gethomelgroup - obtain information on scheduling decisions

SYNOPSIS
       #include <sys/processor.h>

       processorid_t getcpuid(void);

       ushort_t gethomelgroup(void);

DESCRIPTION
       The  getcpuid()	function returns the processor ID on which the calling
       thread is currently executing.

       The gethomelgroup() function returns the home locality group ID of  the
       calling thread.

RETURN VALUES
       See DESCRIPTION.

ERRORS
       No errors are defined.

USAGE
       Both  the  current  CPU	and  the home locality group can change at any
       time.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │getcpuid() is Stable; geth‐  │
       │			     │omelgroup() is Obsolete.	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       psradm(1M),  psrinfo(1M),  psrset(1M),  p_online(2), processor_bind(2),
       processor_info(2),  pset_assign(2),  pset_bind(2),  pset_info(2),  mem‐
       info(2), lgrp_home(3LGRP), sysconf(3C), attributes(5)

NOTES
       The  gethomelgroup()  function  is  obsolete  and might be removed in a
       future release. It has been replaced by lgrp_home(3LGRP).

SunOS 5.10			  16 Apr 2003			  getcpuid(3C)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net