1.\" $OpenBSD: getconf.1,v 1.10 2009/02/08 17:15:10 jmc Exp $ 2.\" $NetBSD: getconf.1,v 1.2 1996/04/20 01:15:12 jtc Exp $ 3.\" 4.\" Copyright (c) 1996 The NetBSD Foundation, Inc. 5.\" All rights reserved. 6.\" 7.\" This code is derived from software contributed to The NetBSD Foundation 8.\" by J.T. Conklin. 9.\" 10.\" Redistribution and use in source and binary forms, with or without 11.\" modification, are permitted provided that the following conditions 12.\" are met: 13.\" 1. Redistributions of source code must retain the above copyright 14.\" notice, this list of conditions and the following disclaimer. 15.\" 2. Redistributions in binary form must reproduce the above copyright 16.\" notice, this list of conditions and the following disclaimer in the 17.\" documentation and/or other materials provided with the distribution. 18.\" 3. All advertising materials mentioning features or use of this software 19.\" must display the following acknowledgement: 20.\" This product includes software developed by Winning Strategies, Inc. 21.\" 4. The name of the author may not be used to endorse or promote products 22.\" derived from this software without specific prior written permission. 23.\" 24.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 25.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 26.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 27.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 28.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 29.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 30.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 31.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" 35.\" 36.Dd $Mdocdate: February 8 2009 $ 37.Dt GETCONF 1 38.Os 39.Sh NAME 40.Nm getconf 41.Nd get configuration values 42.Sh SYNOPSIS 43.Nm getconf 44.Ar name 45.Op Ar pathname 46.Sh DESCRIPTION 47The 48.Nm 49utility writes the current value of a configurable system limit or 50option variable to the standard output. 51.Pp 52The 53.Ar name 54argument specifies the system variable to be queried. 55The 56.Ar pathname 57argument must be supplied for system variables associated with a 58pathname. 59.Pp 60.Ex -std getconf 61.Sh SEE ALSO 62.Xr pathconf 2 , 63.Xr confstr 3 , 64.Xr sysconf 3 65.Sh STANDARDS 66The 67.Nm 68utility is compliant with the 69.St -p1003.1-2008 70specification. 71