Print this page
452 /usr/@(|xpg4/|xpg6/)bin/getconf need to support NPROCESSORS_*
Reviewed by: Garrett D'Amore <garrett@damore.org>
@@ -8,11 +8,11 @@
.\" and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
.\" This notice shall appear on any product containing this material.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH GETCONF 1 "Sep 1, 2009"
+.TH GETCONF 1 "Jan 16, 2013"
.SH NAME
getconf \- get configuration values
.SH SYNOPSIS
.SS "/usr/bin/getconf, /usr/xpg4/bin/getconf, /usr/xpg6/bin/getconf"
.LP
@@ -456,77 +456,78 @@
LONG_BIT LONG_MAX
LONG_MIN MB_LEN_MAX
NGROUPS_MAX NL_ARGMAX
NL_LANGMAX NL_MSGMAX
NL_NMAX NL_SETMAX
-NL_TEXTMAX NZERO
-OPEN_MAX POSIX2_BC_BASE_MAX
-POSIX2_BC_DIM_MAX POSIX2_BC_SCALE_MAX
-POSIX2_BC_STRING_MAX POSIX2_C_BIND
-POSIX2_C_DEV POSIX2_CHAR_TERM
-POSIX2_COLL_WEIGHTS_MAX POSIX2_C_VERSION
-POSIX2_EXPR_NEST_MAX POSIX2_FORT_DEV
-POSIX2_FORT_RUN POSIX2_LINE_MAX
-POSIX2_LOCALEDEF POSIX2_RE_DUP_MAX
-POSIX2_SW_DEV POSIX2_SYMLINKS
-POSIX2_UPE POSIX2_VERSION
-POSIX_ALLOC_SIZE_MIN POSIX_REC_INCR_XFER_SIZE
-POSIX_REC_MAX_XFER_SIZE POSIX_REC_MIN_XFER_SIZE
-POSIX_REC_XFER_ALIGN POSIX_V6_ILP32_OFF32
-POSIX_V6_ILP32_OFF32_CFLAGS POSIX_V6_ILP32_OFF32_LDFLAGS
-POSIX_V6_ILP32_OFF32_LIBS POSIX_V6_ILP32_OFFBIG
-POSIX_V6_ILP32_OFFBIG_CFLAGS POSIX_V6_ILP32_OFFBIG_LDFLAGS
-POSIX_V6_ILP32_OFFBIG_LIBS POSIX_V6_LP64_OFF64
-POSIX_V6_LP64_OFF64_CFLAGS POSIX_V6_LP64_OFF64_LDFLAGS
-POSIX_V6_LP64_OFF64_LIBS POSIX_V6_LPBIG_OFFBIG
-POSIX_V6_LPBIG_OFFBIG_CFLAGS POSIX_V6_LPBIG_OFFBIG_LDFLAGS
-POSIX_V6_LPBIG_OFFBIG_LIBS POSIX_V6_WIDTH_RESTRICTED_ENVS
-SYMLINK_MAX SYMLOOP_MAX
-_POSIX2_BC_BASE_MAX _POSIX2_BC_DIM_MAX
-_POSIX2_BC_SCALE_MAX _POSIX2_BC_STRING_MAX
-_POSIX2_CHARCLASS_NAME_MAX _POSIX2_CHAR_TERM
-_POSIX2_COLL_WEIGHTS_MAX _POSIX2_C_BIND
-_POSIX2_C_DEV _POSIX2_C_VERSION
-_POSIX2_EXPR_NEST_MAX _POSIX2_FORT_DEV
-_POSIX2_FORT_RUN _POSIX2_LINE_MAX
-_POSIX2_LOCALEDEF _POSIX2_PBS
-_POSIX2_PBS_ACCOUNTING _POSIX2_PBS_CHECKPOINT
-_POSIX2_PBS_LOCATE _POSIX2_PBS_MESSAGE
-_POSIX2_PBS_TRACK _POSIX2_RE_DUP_MAX
-_POSIX2_SW_DEV _POSIX2_UPE
-_POSIX2_VERSION _POSIX_ADVISORY_INFO
-_POSIX_AIO_LISTIO_MAX _POSIX_AIO_MAX
-_POSIX_ARG_MAX _POSIX_ASYNC_IO
-_POSIX_BARRIERS _POSIX_CHILD_MAX
-_POSIX_CLOCKRES_MIN _POSIX_CLOCK_SELECTION
-_POSIX_CPUTIME _POSIX_DELAYTIMER_MAX
-_POSIX_HOST_NAME_MAX _POSIX_IPV6
-_POSIX_JOB_CONTROL _POSIX_LINK_MAX
-_POSIX_LOGIN_NAME_MAX _POSIX_MAX_CANON
-_POSIX_MAX_INPUT _POSIX_MONOTONIC_CLOCK
-_POSIX_MQ_OPEN_MAX _POSIX_MQ_PRIO_MAX
-_POSIX_NAME_MAX _POSIX_NGROUPS_MAX
-_POSIX_OPEN_MAX _POSIX_PATH_MAX
-_POSIX_PIPE_BUF _POSIX_PRIO_IO
-_POSIX_RAW_SOCKETS _POSIX_READER_WRITER_LOCKS
-_POSIX_REGEXP _POSIX_RE_DUP_MAX
-_POSIX_RTSIG_MAX _POSIX_SAVED_IDS
-_POSIX_SEM_NSEMS_MAX _POSIX_SEM_VALUE_MAX
-_POSIX_SHELL _POSIX_SIGQUEUE_MAX
-_POSIX_SPAWN _POSIX_SPIN_LOCKS
-_POSIX_SPORADIC_SERVER _POSIX_SSIZE_MAX
-_POSIX_SS_REPL_MAX _POSIX_STREAM_MAX
-_POSIX_SYMLINK_MAX _POSIX_SYMLOOP_MAX
-_POSIX_SYNC_IO _POSIX_THREAD_ATTR_STACKADDR
-_POSIX_THREAD_ATTR_STACKSIZE _POSIX_THREAD_CPUTIME
-_POSIX_THREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_KEYS_MAX
-_POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_THREAD_PRIO_INHERIT
-_POSIX_THREAD_PRIO_PROTECT _POSIX_THREAD_PROCESS_SHARED
-_POSIX_THREAD_SAFE_FUNCTIONS _POSIX_THREAD_SPORADIC_SERVER
-_POSIX_THREAD_THREADS_MAX _POSIX_TIMEOUTS
-_POSIX_TIMER_MAX _POSIX_TRA_POSIX_TIMER_MAXCE
-_POSIX_TIMESTAMP_RESOLUTION
+NL_TEXTMAX NPROCESSORS_CONF
+NPROCESSORS_MAX NPROCESSORS_ONLN
+NZERO OPEN_MAX
+POSIX2_BC_BASE_MAX POSIX2_BC_DIM_MAX
+POSIX2_BC_SCALE_MAX POSIX2_BC_STRING_MAX
+POSIX2_C_BIND POSIX2_C_DEV
+POSIX2_CHAR_TERM POSIX2_COLL_WEIGHTS_MAX
+POSIX2_C_VERSION POSIX2_EXPR_NEST_MAX
+POSIX2_FORT_DEV POSIX2_FORT_RUN
+POSIX2_LINE_MAX POSIX2_LOCALEDEF
+POSIX2_RE_DUP_MAX POSIX2_SW_DEV
+POSIX2_SYMLINKS POSIX2_UPE
+POSIX2_VERSION POSIX_ALLOC_SIZE_MIN
+POSIX_REC_INCR_XFER_SIZE POSIX_REC_MAX_XFER_SIZE
+POSIX_REC_MIN_XFER_SIZE POSIX_REC_XFER_ALIGN
+POSIX_V6_ILP32_OFF32 POSIX_V6_ILP32_OFF32_CFLAGS
+POSIX_V6_ILP32_OFF32_LDFLAGS POSIX_V6_ILP32_OFF32_LIBS
+POSIX_V6_ILP32_OFFBIG POSIX_V6_ILP32_OFFBIG_CFLAGS
+POSIX_V6_ILP32_OFFBIG_LDFLAGS POSIX_V6_ILP32_OFFBIG_LIBS
+POSIX_V6_LP64_OFF64 POSIX_V6_LP64_OFF64_CFLAGS
+POSIX_V6_LP64_OFF64_LDFLAGS POSIX_V6_LP64_OFF64_LIBS
+POSIX_V6_LPBIG_OFFBIG POSIX_V6_LPBIG_OFFBIG_CFLAGS
+POSIX_V6_LPBIG_OFFBIG_LDFLAGS POSIX_V6_LPBIG_OFFBIG_LIBS
+POSIX_V6_WIDTH_RESTRICTED_ENVS SYMLINK_MAX
+SYMLOOP_MAX _POSIX2_BC_BASE_MAX
+_POSIX2_BC_DIM_MAX _POSIX2_BC_SCALE_MAX
+_POSIX2_BC_STRING_MAX _POSIX2_CHARCLASS_NAME_MAX
+_POSIX2_CHAR_TERM _POSIX2_COLL_WEIGHTS_MAX
+_POSIX2_C_BIND _POSIX2_C_DEV
+_POSIX2_C_VERSION _POSIX2_EXPR_NEST_MAX
+_POSIX2_FORT_DEV _POSIX2_FORT_RUN
+_POSIX2_LINE_MAX _POSIX2_LOCALEDEF
+_POSIX2_PBS _POSIX2_PBS_ACCOUNTING
+_POSIX2_PBS_CHECKPOINT _POSIX2_PBS_LOCATE
+_POSIX2_PBS_MESSAGE _POSIX2_PBS_TRACK
+_POSIX2_RE_DUP_MAX _POSIX2_SW_DEV
+_POSIX2_UPE _POSIX2_VERSION
+_POSIX_ADVISORY_INFO _POSIX_AIO_LISTIO_MAX
+_POSIX_AIO_MAX _POSIX_ARG_MAX
+_POSIX_ASYNC_IO _POSIX_BARRIERS
+_POSIX_CHILD_MAX _POSIX_CLOCKRES_MIN
+_POSIX_CLOCK_SELECTION _POSIX_CPUTIME
+_POSIX_DELAYTIMER_MAX _POSIX_HOST_NAME_MAX
+_POSIX_IPV6 _POSIX_JOB_CONTROL
+_POSIX_LINK_MAX _POSIX_LOGIN_NAME_MAX
+_POSIX_MAX_CANON _POSIX_MAX_INPUT
+_POSIX_MONOTONIC_CLOCK _POSIX_MQ_OPEN_MAX
+_POSIX_MQ_PRIO_MAX _POSIX_NAME_MAX
+_POSIX_NGROUPS_MAX _POSIX_OPEN_MAX
+_POSIX_PATH_MAX _POSIX_PIPE_BUF
+_POSIX_PRIO_IO _POSIX_RAW_SOCKETS
+_POSIX_READER_WRITER_LOCKS _POSIX_REGEXP
+_POSIX_RE_DUP_MAX _POSIX_RTSIG_MAX
+_POSIX_SAVED_IDS _POSIX_SEM_NSEMS_MAX
+_POSIX_SEM_VALUE_MAX _POSIX_SHELL
+_POSIX_SIGQUEUE_MAX _POSIX_SPAWN
+_POSIX_SPIN_LOCKS _POSIX_SPORADIC_SERVER
+_POSIX_SSIZE_MAX _POSIX_SS_REPL_MAX
+_POSIX_STREAM_MAX _POSIX_SYMLINK_MAX
+_POSIX_SYMLOOP_MAX _POSIX_SYNC_IO
+_POSIX_THREAD_ATTR_STACKADDR _POSIX_THREAD_ATTR_STACKSIZE
+_POSIX_THREAD_CPUTIME _POSIX_THREAD_DESTRUCTOR_ITERATIONS
+_POSIX_THREAD_KEYS_MAX _POSIX_THREAD_PRIORITY_SCHEDULING
+_POSIX_THREAD_PRIO_INHERIT _POSIX_THREAD_PRIO_PROTECT
+_POSIX_THREAD_PROCESS_SHARED _POSIX_THREAD_SAFE_FUNCTIONS
+_POSIX_THREAD_SPORADIC_SERVER _POSIX_THREAD_THREADS_MAX
+_POSIX_TIMEOUTS _POSIX_TIMER_MAX
+_POSIX_TRA_POSIX_TIMER_MAXCE _POSIX_TIMESTAMP_RESOLUTION
_POSIX_TRACE_EVENT_FILTER _POSIX_TRACE_EVENT_NAME_MAX
_POSIX_TRACE_INHERIT _POSIX_TRACE_LOG
_POSIX_TRACE_NAME_MAX _POSIX_TRACE_SYS_MAX
_POSIX_TRACE_USER_EVENT_MAX _POSIX_TTY_NAME_MAX
_POSIX_TYPED_MEMORY_OBJECTS _POSIX_TZNAME_MAX