Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #494
Difficulty: Easy
A block of code is a section of code that has been logically grouped together.
True or False?
Linux & Unix Commands - Search Man Pages

ncad_addr(4) [bsd man page]

ncad_addr(4)							   File Formats 						      ncad_addr(4)

NAME
ncad_addr - name of the Solaris Network Cache and Accelerator (NCA) socket utility library SYNOPSIS
/usr/lib/ncad_addr.so DESCRIPTION
ncad_addr.so is the Solaris Network Cache and Accelerator (NCA) socket utility library. Use this library with a web server to avoid support for the PF_NCA family type socket. The web server can take advantage of NCA functionality. Interpose the ncad_addr interfaces before the interfaces in libsocket by setting the environment variable LD_PRELOAD to ncad_addr.so so that it is preloaded before libsocket.so.1. The ncad_addr.so interfaces will be interposed only if NCA is enabled. See ncakmod(1). EXAMPLES
Example 1: Interposing ncad_addr Using Bourne shell syntax as an example, set LD_PRELOAD as shown below to interpose the ncad_addr socket utility libary: LD_PRELOAD=/usr/lib/ncad_addr.so /usr/bin/httpd FILES
/usr/lib/ncad_addr.so ncad_addr socket utility library shared object ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWncar (32-bit) | +-----------------------------+-----------------------------+ | |SUNWncarx (64-bit) | +-----------------------------+-----------------------------+ |Interface Stability |Unstable | +-----------------------------+-----------------------------+ SEE ALSO
nca(1), ncab2clf(1), ncakmod(1), socket(3SOCKET), nca.if(4), ncakmod.conf(4), attributes(5) NOTES
Only applications that use the NCA feature, for example, web servers, should interpose this library. SunOS 5.10 18 Feb 2003 ncad_addr(4)

Check Out this Related Man Page

ncakmod.conf(4)                                                    File Formats                                                    ncakmod.conf(4)

NAME
ncakmod.conf - the ncakmod configuration file SYNOPSIS
/etc/nca/ncakmod.conf DESCRIPTION
The ncakmod.conf file is used to configure the Solaris Network Cache and Accelerator ("NCA") kernel module. The file contains two fields, key and value. The status key is used to indicate if the user wants to have NCA turned on as a feature. If the value of status key is enabled, then the NCA kernel module will be pushed on to the specified interfaces. If the value of the status key is disabled, then the NCA kernel module will not be pushed on to any interfaces . The default is disabled. The httpd_door_path key specifies the path name of the Solaris Door RPC mechanism that will be used to communicate with the http daemon. The default value is /var/run/nca_httpd_1.door. Use the nca_active key to indicate whether to allow NCA to actively open outgoing TCP connections. The default value for nca_active is dis- abled. If set to enabled, ncaconfd sets up NCA for each interface and then operates as a daemon, allowing NCA to make outgoing TCP connec- tions. This functionality is possible only by using the doors interface to NCA. A web server that uses the sockets interface with PF_NCA or ncad_addr.so cannot connect by means of nca_active. NCA supports the logging of in-kernel cache hits. See ncalogd.conf(4). NCA stores logs in a binary format. Use the ncab2clf(1) utility to convert the log from a binary format to the Common Log File format. In order to implement changes to the ncakmod.conf file, you will need to reboot. EXAMPLES
Example 1: A Sample ncakmod.conf File The following is a sample ncakmod.conf file: # # NCA Kernel Module Configuration File # status=disabled httpd_door_path=/var/run/nca_httpd_1.door nca_active=disabled FILES
/etc/nca/ncakmod.conf The NCA kernel module configuration file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWncar | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
nca(1), ncab2clf(1), ncakmod(1), door_create(3DOOR), nca.if(4), ncad_addr(4), ncalogd.conf(4), attributes(5) System Administration Guide: IP Services SunOS 5.10 28 Sep 2001 ncakmod.conf(4)

Featured Tech Videos