svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
gethomelgroup(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(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Interface StabilitySee below. _ MT-LevelMT-Safe
The getcpuid() function is Committed. The gethomelgroup() function is
Obsolete.
SEE ALSO
meminfo(2), p_online(2), processor_bind(2), processor_info(2),
pset_assign(2), pset_bind(2), pset_info(2), sysconf(3C),
lgrp_home(3LGRP), attributes(7), psradm(8), psrinfo(8), psrset(8)
NOTES
The gethomelgroup() function is obsolete and might be removed in a
future release. It has been replaced by lgrp_home(3LGRP).
Oracle Solaris 11.4 16 Apr 2003 getcpuid(3C)