gettune man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=gettune&af=0&tf=2&of=HP-UX

gettune(2)							    gettune(2)

NAME
       gettune - get the value of a kernel tunable parameter

SYNOPSIS
DESCRIPTION
       This function retrieves the current value of the kernel tunable parame‐
       ter named tunable.  The value is passed back through the supplied value
       pointer.	 The value returned is the value for the tunable that is being
       used by the currently running kernel.

RETURN VALUE
       This function returns zero for success, or -1 for an error.

ERRORS
       If this function returns -1 to indicate an error, the  global  variable
       will  be set to one of the following values, to indicate the error that
       occurred:

	      The specified tunable parameter does not exist.

	      The Kernel Registry Service was unavailable  or  encountered  an
	      error.

	      tunable	   or value specifies an address that is inaccessible.

WARNINGS
       Some  tunables  have  signed  integer  values.  For these tunables, the
       caller must cast the returned value to an type  before  using  it.   To
       find  out  which	 tunables  have	 signed	 integer values, use the tune‐
       info2(2) system call, or consult the tunable parameter man pages.

AUTHOR
       was developed by Hewlett-Packard Company.

SEE ALSO
       settune(2), tuneinfo2(2), and  the  individual  tunable	parameter  man
       pages in section 5.

								    gettune(2)
[top]

List of man pages available for HP-UX

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