HP-UX Reference Section 1M: System Administration Commands (N-Z) HP-UX 11i Version 3 Volume 4 of 10 Manufacturing Part Number : B2355-91020 E0207 Printed in USA © Copyright 1983-2007 Hewlett-Packard Development Company LP.
Legal Notices The information in this document is subject to change without notice. Warranty The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. U.S. Government License Confidential computer software.
Copyright 1996 Morning Star Technologies, Inc. Copyright 1996 Progressive Systems, Inc. Trademark Notices Intel and Itanium are registered trademarks of Intel Corporation in the US and other countries and are used under license. Java is a US trademark of Sun Microsystems, Inc. Microsoft and MS-DOS are U.S. registered trademarks of Microsoft Corporation. OSF/Motif is a trademark of The Open Group in the US and other countries. UNIX is a registered trademark of The Open Group.
Preface HP-UX is the Hewlett-Packard Company’s implementation of a UNIX operating system that is compatible with various industry standards. It is based on the System V Release 4 operating system and includes important features from the Fourth Berkeley Software Distribution. The ten volumes of this manual contain the system reference documentation, made up of individual entries called manpages, named for the man command (see man (1)) that displays them on the system.
Typographical Conventions audit (5) An HP-UX manpage reference. For example, audit is the name and 5 is the section in the HP-UX Reference. On the web and on the Instant Information CD, it may be a hyperlink to the manpage itself. From the HP-UX command line, you can enter “man audit” or “man 5 audit” to view the manpage. See man (1). Book Title The title of a book. On the web and on the Instant Information CD, it may be a hyperlink to the book itself.
Command Syntax Literal A word or character that you enter literally. Replaceable A word or phrase that you replace with an appropriate value. -chars One or more grouped command options, such as -ikx. The chars are usually a string of literal characters that each represent a specific option. For example, the entry -ikx is equivalent to the individual options -i, -k, and -x. The plus character (+) is sometimes used as an option prefix. -word A single command option, such as -help.
Function Synopsis and Syntax HP-UX functions are described in a definition format rather than a usage format. The definition format includes type information that is omitted when the function call is actually included in a program. The function syntax elements are the same as for commands, except for the options; see “Command Syntax” on page 7. Function General Definition The general definition form is: type func ( type param [ , type param ]...
Revision History Part Number Release; Date; Format; Distribution B2355-60130 HP-UX 11i Version 3; February 2007; one volume HTML; http://docs.hp.com and Instant Information. B2355-91017-26 HP-UX 11i Version 3; February 2007; ten volumes PDF; http://docs.hp.com, Instant Information and print. B2355-60127 HP-UX 11i Version 1; September 2005 Update; one volume HTML; http://docs.hp.com and Instant Information. B2355-90902-11 HP-UX 11i Version 1; September 2005 Update; ten volumes PDF; http://docs.hp.
Volume Four Table of Contents Section 1M
Volume Four Table of Contents Section 1M
Table of Contents Volumes Three and Four Section 1M: System Administration Commands Entry Name(Section): name Description intro(1M): intro ............................ introduction to system maintenance commands and application programs accept(1M): accept, reject ..................................................... allow or prevent LP printer queuing requests acct(1M): acctdisk, acctdusg, accton, acctwtmp, closewtmp, utmp2wtmp ...........................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description clear_locks(1M): clear_locks ...................................................... clear locks held on behalf of an NFS client closewtmp: overview of accounting and miscellaneous accounting commands .............................. see acct(1M) clri(1M): clri ................................................................................................................................. clear inode clrsvc(1M): clrsvc .............
Table of Contents Volumes Three and Four Entry Name(Section): name Description frecover(1M): frecover .............................................................................................. selectively recover files frupower(1M): frupower ..................... turn on/off or display current status of power for cells and I/O chassis fsadm(1M): fsadm ................................................................................... file system administration command fsadm_hfs(1M): fsadm_hfs ..........
Table of Contents Volumes Three and Four Entry Name(Section): name Description isl(1M): isl ...................................................................................................................... initial system loader itemap(1M): itemap ............................................... load a keymap into the Internal Terminal Emulator (ITE) kclog(1M): kclog .....................................................................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description mkfs_hfs(1M): mkfs ............................................................................................ construct an HFS file system mklost+found(1M): mklost+found ............................. make a lost+found directory for the fsck command mknod(1M): mknod .............................................................................................. create special and FIFO files mksf(1M): mksf .........................
Table of Contents Volumes Three and Four Entry Name(Section): name Description parmodify(1M): parmodify ................................................................................. modify an existing partition parolrad(1M): parolrad ..................... online activation of a cell from nPartition; cancel online cell operation; monitor online cell operation; reset hung cell during cell activation parremove(1M): parremove ...............................................................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description rlogind(1M): rlogind ....................................................................................................... remote login server rlp(1M): rlp ........................................................................... send LP line printer request to a remote system rlpdaemon(1M): rlpdaemon .................................. line printer daemon for LP requests from remote systems rlpstat(1M): rlpstat ..............
Table of Contents Volumes Three and Four Entry Name(Section): name Description slpdc(1M): slpdc ......................................................................................................... send signals to the slpd slweb(1M): slweb ............................................ start the HP-UX hardware event viewer tool (a Web interface) smh(1M): smh ..........................................................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description untic(1M): untic ............................................................................................................. terminfo de-compiler update-ux(1M): update-ux ................................................................... updates the HP-UX operating system updaters(1M): updaters ...........................................................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description ypxfr(1M): ypxfr, ypxfr_1perday, ypxfr_1perhour, ypxfr_2perday ....................................................................................... transfer NIS database from server to local node ypxfr_1perday: transfer NIS database from server to local node ............................................. see ypxfr(1M) ypxfr_1perhour: transfer NIS database from server to local node ...........................................
Section 1M Part 2 System Administration Commands N-Z
Section 1M Part 2 System Administration Commands N-Z
naaagt(1M) naaagt(1M) NAME naaagt - Native Agent Adapter (NAA) SYNOPSIS export HP_NAA_CNF= naaCnf export HP_NAA_PORT= snmpPort export HP_NAA_GET_COMMUNITY=community /usr/sbin/naaagt [-K] [-n] [-E priority] [-m logMask] ... /usr/sbin/naaagt { -h | -help } DESCRIPTION The Native Agent Adapter (naaagt ) allows third-party SNMP agents to work with the HP SNMP Master Agent (snmpdm ). The Native Agent Adapter runs as a subagent to the HP SNMP Master Agent.
naaagt(1M) naaagt(1M) those scripts are merely symbolic links to the automatic start-up/shutdown script under /sbin/init.d , following the same naming conventions documented in the rc(1M) manual page. These scripts are executed by the /usr/sbin/snmpd command. See the IndependentStart-up section for procedures for starting naaagt . Independent Start-up The third-party SNMP agent and its Native Agent Adapter can be started by entering commands directly or by executing an arbitrary script.
naaagt(1M) naaagt(1M) International Code Set Support Supports single-byte character code sets except where the SNMP protocol supports only 7-bit characters encoded in ASCII. WARNINGS The Native Agent Adapter only supports SNMP read requests (for example, SNMP Get). SNMP Set requests must be sent directly to the third-party SNMP agent’s non-standard UDP port (HP_NAA_PORT ).
named(1M) named(1M) (BIND 9.3) NAME named - Internet domain name server SYNOPSIS named [-4|-6] [-fgv ] [-c config-file] [-d debuglevel] [-n ncpus] [-p port] [-t directory] [-u user-id] DESCRIPTION named is the Internet domain name system (DNS) server. See RFCs 1033, 1034, and 1035 for more information on DNS. The configuration file contains information about where the name server gets its initial data. See named.conf(4) for details.
named(1M) named(1M) (BIND 9.3) DIAGNOSTICS Any errors encountered by named in the configuration file, master files, or in normal operation are logged with syslog and in the debug file, ./named.run (if debugging is on); then named quits. AUTHOR named was developed by the Internet Systems Consortium (ISC). FILES /etc/named.conf Name server configuration file /etc/rc.config.d/namesvrs_dns Name server startup configuration file /var/run/named.pid ./named.
ncheck(1M) ncheck(1M) NAME ncheck - generate a list of path names from inode numbers SYNOPSIS /usr/sbin/ncheck [-F FStype ] [-V] [-o specific_options ] [ special ... ] DESCRIPTION ncheck , when invoked without arguments, generates a list of path names corresponding to the inode numbers of all files contained on the file systems listed in /etc/fstab. If special is specified, ncheck reports on the special only. Path names generated by ncheck are relative to the given special.
ncheck_hfs(1M) ncheck_hfs(1M) NAME ncheck_hfs: ncheck - generate a list of path names from inode numbers for a HFS file system SYNOPSIS /usr/sbin/ncheck [-F hfs ] [-V] [-S sector_ranges] [-i inode-numbers ] [-a] [-s] [ special ... ] DESCRIPTION ncheck , when invoked without arguments, generates a list of path names corresponding to the inode numbers of all files contained on the HFS file systems listed in /etc/fstab . If special is specified, ncheck reports on the special only.
ncheck_hfs(1M) ncheck_hfs(1M) SEE ALSO acl(5), fsck(1M), fstab(4), fs_wrapper(5), ncheck(1M), sort(1).
ncweb(1M) ncweb(1M) NAME ncweb - launch the Network Interfaces Configuration and Network Services Configuration tools of HP System Management Homepage (HP SMH) SYNOPSIS ncweb [-F] [-b] ncweb -t DESCRIPTION The Network Interfaces Configuration and Network Services Configuration (ncweb ) tools are system management tools that manage a system by configuring network interfaces and network services on HP-UX installed systems.
ncweb(1M) ncweb(1M) If the ncweb command cannot open the Web-based interface, the command opens the terminal user interface. Options ncweb recognizes the following options: -F Force a client browser to be used in less secure ways. The -F option forces the use of a client browser, even when the X-traffic between the X-server and the Mozilla browser is not secure.
ndd(1M) ndd(1M) NAME ndd - network tuning SYNOPSIS ndd ndd ndd ndd ndd ndd -get network_device parameter -set network_device parameter value -h sup [ported ] -h unsup [ported ] -h [parameter] -c DESCRIPTION The ndd command allows the examination and modification of several tunable parameters that affect networking operation and behavior. It accepts arguments on the command line or may be run interactively.
ndd(1M) ndd(1M) DIAGNOSTICS When the command fails, an error message is printed to the standard error and the command terminates with an exit value of one. WARNINGS Care must be used when setting parameters for a network_device. Setting a tunable parameter to an inappropriate value can result in adverse affects to your networking operations.
ndp(1M) ndp(1M) NAME ndp - IPv6 Neighbor Discovery cache display and control SYNOPSIS ndp host ndp ndp ndp ndp ndp ndp ndp ndp [-i interface] [-n ] -a [-i interface] [-n ] -A interval [-i interface] [-q ] -d host [-i interface] [-nq ] -F [-i interface] -p [-i interface] [-q ] -P -s interface host hw_addr [pub ] -f filename DESCRIPTION The ndp command displays and modifies the IPv6 Neighbor Discovery cache as specified in the IPv6 Neighbor Discovery (ND) protocol.
ndp(1M) ndp(1M) -f filename Create Neighbor Discovery cache entries from the specifications found in the file specified by filename. Each entry in this file specifies the interface, host, hw_addr, and optionally the pub flag. For example, the content of this file can be: lan0 nodea 1:2:3:4:5:6 lan1 nodeb 2:3:4:5:6:7 pub The use of -d, -F, -P, -s , and -f options requires root privileges.
ndp(1M) ndp(1M) To show Neighbor Discovery cache entries for an interface: # ndp -n -i lan3 -a Destination fe80::210:83ff:fef7:7a9d Physical Address 0:10:83:f7:7a:9d Interface State Flags lan3 REACHABLE LP To delete a Neighbor Discovery cache entries for a host and an interface: # ndp -i lan1 -d fe80::202:fdff:fe36:8720 fe80::202:fdff:fe36:8720 (fe80::202:fdff:fe36:8720) deleted.
netfmt(1M) netfmt(1M) NAME netfmt - format tracing and logging binary files SYNOPSIS /usr/sbin/netfmt -s [-t records] [[-f] file_name] /usr/sbin/netfmt -p [-c config_file] /usr/sbin/netfmt [-c config_file] [-F] [-t records] [-v] [-l] [-n] [-N [-1 [-L] [-T]]] [[-f] file_name] DESCRIPTION netfmt is used to format binary trace and log data gathered from the network tracing and logging facility (see nettl(1M)).
netfmt(1M) netfmt(1M) with the -F option or if formatting is interrupted. -l (ell) Turn off inverse video highlighting of certain traced fields. Use this flag when sending formatted trace data to a line printer. By default, certain fields in the trace file are highlighted in inverse video when viewing the formatted trace format at a terminal that supports highlighting.
netfmt(1M) netfmt(1M) Enables output of netfmt internal debugging information to standard error. Same as the -v option. high low formatter mode value, No internal debugging information is to be displayed. value should be one of Dumps out the messages in hex format. raw nice terse Enables "nice" formatting. Same as -N option. Attempts to tersely format each traced packet on a single line. Same as -1 (minus one) option. normal Normal formatting.
netfmt(1M) netfmt(1M) The optional subsystem name sets the kind filter only for the specified subsystem. Trace kinds and their corresponding masks are: Name Mask Name Mask hdrin 0x80000000 state 0x04000000 hdrout 0x40000000 error 0x02000000 pduin 0x20000000 logging 0x01000000 pduout 0x10000000 loopback 0x00800000 proc 0x08000000 hdrin Inbound Protocol Header. hdrout Outbound Protocol Header. pduin Inbound Protocol Data Unit (including header and data).
netfmt(1M) netfmt(1M) Subsystem Filtering Note: Global filtering described above takes precedence over individual subsystem tracing and logging filtering described below. Subsystem filters are provided to allow filtering of data for individual subsystems or groups of subsystems. Their behavior varies among individual subsystems. Subsystem filters are valid only when the corresponding subsystems have been installed and configured on the system.
netfmt(1M) netfmt(1M) filter connection value value takes the form: local_addr :port remote_addr :port where local_addr and remote_addr can be a hostname or a 4-byte Internet address specified in decimal dot notation (see inet(3N) for more information on Internet addresses and decimal dot notations). port can be a service name or an integer. integer represents a port and can be designated by a hexadecimal integer (0x digits), an octal integer (0digits), or base-10 integers (0 through 65535).
netfmt(1M) netfmt(1M) filter type value value is a hexadecimal integer of the form: 0x digits; an octal integer of the form: 0digits; or a base-ten integer (0 through 65535).
netfmt(1M) netfmt(1M) EXTERNAL INFLUENCES International Code Set Support Single- and multi-byte character code sets are supported in data. Single-byte character codesets are supported in filenames. DEPENDENCIES netfmt only recognizes subsystems and filters from products which have been installed and configured. WARNINGS The syntax that was used for the obsolete LAN trace and log options has been mixed with the syntax for the netfmt command such that any old options files can be used without any changes.
netfmt(1M) netfmt(1M) filter filter 5. 6. 7. tcp_sport udp_dport shell 777 Format a TCP connection from local node node2 to 192.6.1.3 which uses node2 service port ftp and remote port 1198 . filter connection node2:ftp 192.6.1.3:1198 Format all packets except those that use interface lan0 : filter interface ! lan0 Format all logged events for subsystem ip . No other events are formatted. (By default, all events are formatted): filter 8.
nettl(1M) nettl(1M) NAME nettl - control network tracing and logging SYNOPSIS /usr/sbin/nettl -start /usr/sbin/nettl -stop /usr/sbin/nettl -firmlog 0|1|2 -card dev_name... /usr/sbin/nettl -log class... -entity subsystem... /usr/sbin/nettl -status [log |trace |all ] /usr/sbin/nettl -traceon kind... -entity subsystem... [-card dev_name...
nettl(1M) -stop nettl(1M) (Abbr.: -sp ) Used alone without other options. Terminate the trace/log facility. Once this command is issued, the trace/log facility is no longer able to accept the corresponding trace/log calls from the network subsystems. Note: See Note for the -start option. -timer (Abbr.: -t) Used with first -traceon option or as a standalone option after tracing has been turned on. Used to set the buffer flush timer; this value is set in seconds. The default value is 5 seconds.
nettl(1M) nettl(1M) Examples of OSI subsystems: acse_pres asn1 cm em ftam_ftp_gw ftam_init ftam_resp ftam_vfs ftp_ftam_gw hps mms network ots transport ula_utils ns_ls_loopback ns_ls_tcp ns_ls_udp ns_ls_icmpv6 ns_ls_x25 ns_ls_igmp ns_ls_ip Examples of LAN subsystems: ns_ls_driver ns_ls_icmp ns_ls_nfs ns_ls_ipv6 Two X.25-specific subsystems are used for tracing only: SX25L2 SX25L3 -file tracename (Abbr.: -f) Used with the first -traceon option only.
nettl(1M) nettl(1M) Classes can be specified as keywords or as a single numeric mask depicting which classes to log. The mask is formed by adding the individual masks of the log classes. If you choose to indicate several classes at once, be sure to separate each log class with a space. disaster logging is always on. The default logging classes for each subsystem is configured into the configuration file, /etc/nettlgen.conf.
nettl(1M) nettl(1M) log trace all Log status information Trace status information Trace and log status information -tracemax maxsize (Abbr.: -tm ) Used with first -traceon option only. Tracing uses a circular file method such that when one file fills up, another file is used. The number of trace files that can exist on a system at any given time can be specified using the -n option. See Data File Management below for more information on file behavior.
nettl(1M) nettl(1M) pduout proc state error logging loopback Outbound Protocol Data Unit (including header and data). Procedure entry and exit. Protocol or connection states. Invalid events or condition. Special kind of trace that contains a log message. Packets whose source and destination system is the same. For multiple kinds, the masks can be specified separately or combined into a single number.
nettl(1M) nettl(1M) is specified then filter status is displayed for all the subsystems that currently support filters as listed above. -removefilter all -removefilter subsystem ... (Abbr.: -rfl ) Used as a standalone option. This option is used to remove filter expressions for subsystems that have been set with the setfilter command. If the attribute all is specified then filters are removed for all the subsystems that currently support filters as listed above.
nettl(1M) nettl(1M) Filter Configuration File This file is used to configure the filters. Entries in the file have the following syntax: Subsystem subsystem_name filter expression The filter expression can be constructed using operands and operators.
nettl(1M) nettl(1M) Trace file size(Kbytes): 1000 Trace memory allocated(KB): 512 Trace memory to be allocated(KB): 0 Messages Dropped: 0 Processor ID: -1 Subsystem Name: Trace Mask: TRANSPORT 0x30000000 SESSION 0x30000000 NS_LS_IP 0x10000000 NS_LS_IPV6 0x10000000 SX25L2 0x10000000 Card: x25_0 7. Stop tracing for all subsystems. 8. Enable pduin and pduout tracing for ns_ls_driver (LAN driver) subsystem. Binary trace data goes to file /var/adm/LAN.TRC000.
nettl(1M) 15. nettl(1M) Display the filter for the GELAN subsystem. nettl -dfl GELAN 16. Remove the filter for the NS_LS_TCP subsystem. nettl -rfl NS_LS_TCP WARNINGS Although the nettl command allows the specification of all log classes and all trace kinds for all subsystems, many subsystems do not support all log classes and all trace kinds. No error or warning will be issued if a subsystem does not support a log class or trace kind.
nettladm(1M) nettladm(1M) NAME nettladm - network tracing and logging administration manager SYNOPSIS /opt/nettladm/bin/nettladm [-t-l] [-c filter_file] DESCRIPTION The nettladm command is a tool used to administer network tracing and logging. It provides an interactive user interface to the nettl , netfmt , and nettlconf commands. The interface runs in either text terminal mode or in a Motif graphical environment.
nettladm(1M) nettladm(1M) /var/adm/nettl.TRC000 Default trace file. /opt/nettladm/lib/X11/app-defaults/Nettladm X11 application defaults file. AUTHOR nettladm was developed by HP. SEE ALSO netfmt(1M), nettl(1M), nettlconf(1M), nettlgen.conf(4).
nettlconf(1M) nettlconf(1M) NAME nettlconf - configure network tracing and logging command subsystem database SYNOPSIS /usr/sbin/nettlconf -L [ -console conlog ] [ -portsize logportsize ] [ -space maxlogspace ] [ -filename logfilename ] [ -option logoptfile ] /usr/sbin/nettlconf [ -S ] -id ssid -name ssname [ -class logclass ] [ -kernel|-st[reams] ] -lib sslib -msg ssmsgcat [ -fmtfn fmtfunc ] [ -optfn optfunc ] -group ssgrpname /usr/sbin/nettlconf -delete ssid DESCRIPTION nettlconf maintains the databas
nettlconf(1M) nettlconf(1M) -option logoptfile (abbrev: -o) logoptfile is the path and file name to be used as the console log options file. The information in this file will be used to select logged events that will be reported to the system console. The default console logging options file is /var/adm/conslog.opts. This is an optional field. The following options are used to add or update a subsystem description to the database.
nettlconf(1M) nettlconf(1M) -group ssgrpname (abbrev: -g) ssgrpname is a group name associated with the subsystem. It is typically the product name of the subsystem. Several subsystems can be grouped together so that a common banner is printed in the formatted header. This is a required field. The following option is used to remove a subsystem description from the database. -delete ssid (abbrev: -d) Deletes all information associated with the ssid (subsystem ID) from the database.
newaliases(1M) newaliases(1M) NAME newaliases - rebuilds the database for the mail aliases file SYNOPSIS newaliases [-on ] DESCRIPTION newaliases rebuilds the random access database for the mail aliases file /etc/mail/aliases. It must be run each time this file is changed in order for the change to take effect. newaliases is identical to sendmail -bi . Options -on Validate addresses. When sendmail rebuilds the alias database files, it will check the legality of all addresses to the right of the colons.
newfs(1M) newfs(1M) NAME newfs - construct a new file system SYNOPSIS /usr/sbin/newfs [-F FStype] [-o specific_options] [-V] special DESCRIPTION The newfs command is a "friendly" front-end to the mkfs command (see mkfs(1M)). The newfs command calculates the appropriate parameters and then builds the file system by invoking the mkfs command. special represents a character (raw) special device.
newfs_hfs(1M) newfs_hfs(1M) NAME newfs_hfs: newfs - construct a new HFS file system SYNOPSIS /usr/sbin/newfs [-F hfs ] [-B] [-d] [-L-S] [-O disk_type] [-R swap] [-v] [-V] [mkfs-options] special DESCRIPTION The newfs command builds a file system by invoking the mkfs command. The newfs command creates the file system with a rotational delay value of zero (see tunefs(1M)). special represents a character (raw) special device.
newfs_hfs(1M) newfs_hfs(1M) to 32. The default value is 16 cylinders per group. -f fragsize The fragment size for files on the file system. fragsize represents the smallest amount of disk space to be allocated to a file. It must be a power of two no smaller than DEV_BSIZE and no smaller than one-eighth of the file system block size. The default value is 1024 bytes. -i number_of_bytes_per_inode The density of inodes in the file system specified as the number of bytes per inode.
newfs_hfs(1M) newfs_hfs(1M) newfs -F hfs /dev/vg01/rmy_lvol WARNINGS The old -F option, from prior releases of newfs(1M), is no longer supported. newfs(1M) cannot be executed specifying creation of a file system on a whole disk if that disk was previously used as an LVM disk. If you wish to do this, use mediainit(1) to reinitialize the disk first. AUTHOR newfs was developed by HP and the University of California, Berkeley. FILES /etc/disktab /etc/fstab Static information about the file systems.
newkey(1M) newkey(1M) NAME newkey - create a new Diffie-Hellman key pair in the publickey database SYNOPSIS newkey -h hostname [ -s nis | files | ldap ] newkey -u username [ -s nis | files | ldap ] DESCRIPTION newkey establishes new public keys for users and machines on the network. These keys are needed when using secure RPC or secure NFS service. newkey prompts for a password for the given username or hostname and then creates a new public/secret Diffie-Hellman 192 bit key pair for the user or host.
nfs4cbd(1M) nfs4cbd(1M) NAME nfs4cbd - NFS Version 4 callback daemon SYNOPSIS /usr/sbin/nfs4cbd DESCRIPTION The nfs4cbd daemon manages communication endpoints for the NFS Version 4 protocol callback program. nfs4cbd runs on the NFS Version 4 client and creates a listener port for each transport over which callbacks can be sent. The nfs4cbd daemon is provided for the exclusive use of the NFS version 4 client.
nfsd(1M) nfsd(1M) NAME nfsd - NFS daemon SYNOPSIS /usr/sbin/nfsd [-a] [-c #_conn] [-l listen_backlog] [-p protocol ] [-t device] [nservers ] DESCRIPTION nfsd is the daemon that handles client file system requests. Only users with sufficient privileges can run this daemon. The nfsd daemon is automatically invoked if NFS_CORE=1 and NFS_SERVER=1 in the /etc/rc.config.d/nfsconf file.
nfsd(1M) nfsd(1M) EXIT STATUS 0 Daemon started successfully. 1 Daemon failed to start. WARNINGS Manually starting and restarting nfsd is not recommended. If it is necessary to do so, use the NFS server start/stop script (/sbin/init.d/nfs.server). FILES .nfsXXX /sbin/init.d/nfs.server /etc/default/nfs /var/nfs4/v4_state /var/nfs4/v4_oldstate client machine pointer to an open-but-unlinked file. shell script for starting nfsd . startup parameters for nfsd .
nfslogd(1M) nfslogd(1M) NAME nfslogd - nfs logging daemon SYNOPSIS /usr/sbin/nfslogd DESCRIPTION The nfslogd daemon provides operational logging to the HP-UX NFS server. It is the nfslogd daemon’s job to generate the activity log by analyzing RPC operations processed by the NFS server. The log will only be generated for file systems exported with logging enabled. This is specified at file system export time by means of the share_nfs(1M) command.
nfslogd(1M) nfslogd(1M) is supported by the file system where the buffer file resides. Specifies the amount of time, in seconds, the daemon should sleep while waiting for more information to be placed in the buffer file. IDLE_TIME also determines how often the configuration file will be reread. The value of IDLE_TIME must be between 1 and INT_MAX . IDLE_TIME MAX_LOGS_PRESERVE The nfslogd periodically cycles its logs. MAX_LOGS_PRESERVE specifies the maximum number of log files to save.
nfsmapid(1M) nfsmapid(1M) NAME nfsmapid - NFS user and group id mapping daemon SYNOPSIS /usr/sbin/nfsmapid DESCRIPTION The nfsmapid daemon maps to and from NFS version 4 owner and owner_group identification attributes and local UID and GID numbers used by both the NFS version 4 client and server. nfsmapid uses the passwd and group entries in the /etc/nsswitch.conf file to direct how it performs the mappings. The nfsmapid daemon has no external, customer-accessible interfaces.
nfsstat(1M) nfsstat(1M) NAME nfsstat - NFS statistics SYNOPSIS /bin/nfsstat [-cnrsmza ] DESCRIPTION nfsstat displays statistical information about the NFS and RPC (Remote Procedure Call), interfaces to the kernel. It can also be used to reinitialize this information. If no options are given the default is: nfsstat -csnra . That is, display everything, but reinitialize nothing. Options -a -c -m Display NFS_ACL information. Display client information.
nfsstat(1M) nfsstat(1M) badcalls badxid The total number of calls rejected by the RPC layer. timeouts newcred badverfs timers The number of times a call timed out while waiting for a reply from the server. cantconn The number of times the call failed due to a failure to make a connection to the server. The number of times a reply from a server was received which did not correspond to any outstanding call. The number of times authentication information had to be refreshed.
nfsstat(1M) nfsstat(1M) grpid System V group id inheritance. rpctimesync RPC time sync. devs nodevs Allow access to local devices. Do not allow access to local devices. The following mount flags are internal to the system: printed down dynamic link symlink readdir acl novj "Not responding" message printed. Server is down. Dynamic transfer size adjustment. Server supports links. Server supports symbolic links. Use readdir instead of readdirplus . Server supports NFS_ACL.
ntpdate(1M) ntpdate(1M) NAME ntpdate - set the date and time via NTP SYNOPSIS ntpdate [ -Bbdpqsuv ] [ -a key# ] [ -e authdelay ] [ -k keyfile ] [ -o version ] [ -p samples ] [ -t timeout ] server [ ... ] DESCRIPTION ntpdate sets the local date and time by polling those Network Time Protocol (NTP) server(s) given as the server arguments to determine the correct time. It must be run as root on the local host.
ntpdate(1M) ntpdate(1M) debugging information. -s Divert logging output from the standard output (default) to the system syslog (see syslog(3C)) facility. This is designed primarily for convenience of cron scripts. -t timeout Specify the maximum waiting time for a server response as the value timeout, in seconds and fraction. The value is rounded to a multiple of 0.2 seconds. The default is 1 second, a value suitable for polling across a LAN.
ntpq(1M) ntpq(1M) NAME ntpq - standard Network Time Protocol query program SYNOPSIS ntpq [-dinp ] [-c command]... [host]... DESCRIPTION ntpq is used to query NTP servers, that implement the recommended NTP mode 6 control message format about current state and to request changes in that state. The program may be run either in interactive mode or controlled mode using command line arguments.
ntpq(1M) ntpq(1M) included in control messages can be assembled, and sent using the readlist and writelist commands described below. addvars This command allows variables and their optional values to be added to the list. If more than one variable is to be added, the list should be comma-separated and not contain white space. rmvars This command can be used to remove individual variables from the list. clearlist This command removes all variables from the list.
ntpq(1M) ntpq(1M) Control message commands result in one or more NTP mode 6 messages being sent to the server, and cause the data returned to be printed in some format. Most commands currently implemented send a single message and expect a single response. The current exceptions are the peers command, which sends a preprogrammed series of messages to obtain the data it needs, and the mreadlist and mreadvar commands, which iterate over a range of associations.
ntpq(1M) ntpq(1M) register, in octal, and the current estimated delay, offset and dispersion of the peer, all in milliseconds. The character in the left margin indicates the fate of this peer in the clock selection process. The codes have the following meaning: Discarded due to high stratum and/or failed sanity checks. x Designated falseticker by the intersection algorithm. . Culled from the end of the candidate list. Discarded by the clustering algorithm. + Included in the final selection set.
nwmgr(1M) nwmgr(1M) NAME nwmgr - network interface management command for LAN and RDMA interfaces SYNOPSIS /usr/sbin/nwmgr [-h|--help |-?] [operation] [target] [operation-qualifiers] [target-qualifiers] DESCRIPTION The nwmgr program is the unified command to administer all HP-UX LAN and RDMA interfaces. This manpage describes command features that can be supported by nwmgr . However, each network interface driver (commonly referred to as a subsystem) might support a subset of these features.
nwmgr(1M) n nwmgr(1M) --add | -a Creates and sets configuration information for a component simultaneously. The add operation is subsystem specific. Any change done using the add operation can be runtime only, persistent or both. --cra Performs critical resource analysis (CRA) of network interfaces. The CRA operation displays the users of the component or subsystem that will be impacted if a destructive operation is performed. HP recommends performing CRA operation prior to any destructive operation.
nwmgr(1M) nwmgr(1M) argument. {--interval | --int } value Specifies the time interval (in seconds) between consecutive operations. If you do not specify a value, the default interval is 1 second. {--iterations | --it } value Specifies the number of iterations a specific operation needs to be performed. If you specify a value of 0, infinite iterations are performed. If you do not specify a value, the default is 1 iteration.
nwmgr(1M) nwmgr(1M) For example: # nwmgr --get Name/ ClassInstance ============== lan0 lan1 lan2 Interface State ========= UP UP UP Station Address ============== 0x00306EF4E07C 0x000F202B92D4 0x0010837BDE00 Subsystem ======== igelan igelan btlan Interface Related Type Interface ============== ========= 1000Base-T 1000Base-T 100Base-TX The parsable (script-friendly) output contains the same data as the readable output for each subsystem.
nwmgr(1M) nwmgr(1M) [ENOMEM] Memory allocation failed. This could be a transient condition. [ENOTSUP] Operation or feature is not supported. [ENXIO] The target interface does not exist. [EPERM] The user lacks the hpux.network.config authorization required for this operation.
nwmgr_btlan(1M) nwmgr_btlan(1M) NAME nwmgr_btlan: nwmgr - network interface management command for btlan driver SYNOPSIS nwmgr nwmgr [-g] [-v] [-c lan_instance | -S btlan ] nwmgr [-g] --st [all | extmib | mib ] -c lan_instance nwmgr [-g] -A {all | attr1, attr2, ...} -c lan_instance nwmgr [-g] -q info -c lan_instance nwmgr -s -A attr1 =value1 , attr2 =value2 ,... -c lan_instance nwmgr -s -A all --sa --fr cu[rrent ] -c lan_instance nwmgr -s -A {all | attr1 , attr2 ,...
nwmgr_btlan(1M) nwmgr_btlan(1M) -g | --get -h | --help -r | --reset Operation to get/display interface settings. Operation to display help information. Operation to reset interface or statistics. -s | --set Operation to set the attributes of the interface. Options The nwmgr command provides the following options for the btlan interface. For more information about these options, refer to nwmgr(1M). -A | --attribute Operation to assign attributes for the operation.
nwmgr_btlan(1M) nwmgr_btlan(1M) For 100Base-T, it is essential that the link partner has the same speed, duplex and auto-negotiation settings as the NIC being configured. The speed can be forced to 10 or 100 Mbps, with Full or Half Duplex, with auto-negotiation off. This is done by setting speed to one of 10HD , 10FD , 100HD , or 100FD (case insensitive). The valid values allowed for speed in the command line for 100Base-T are: 10HD , 10FD , 100HD , 100FD , and auto_on .
nwmgr_btlan(1M) nwmgr_btlan(1M) View Interface Statistics The following command can be used to display interface statistics. nwmgr [-g] --st [all | extmib | mib ] -c lan_instance nwmgr [--get ] --stats [all | extmib | mib ] --class_instance lan_instance The arguments all , extmib , and mib are the only valid arguments for --stats for btlan drivers. all is the default if no argument is provided with --stats . It displays the same information as extmib which displays extended MIB statistics.
nwmgr_btlan(1M) nwmgr_btlan(1M) nwmgr -r -c lan_instance nwmgr --reset --class_instance lan_instance The interface is subjected to a PCI reset, which clears all previous state, including the interface statistics. The interface is then re-programmed with the attribute values that were current before the reset. Promiscuous mode and multicast addresses are preserved across the reset. While the reset is in progress, the data traffic through the interface is interrupted.
nwmgr_btlan(1M) nwmgr_btlan(1M) EXAMPLES List all LAN interfaces in the system. nwmgr -C lan Display the speed and MTU of the btlan interface lan1 . nwmgr -A speed,mtu -c lan1 Display all attributes of the btlan interface lan1 . nwmgr -A all -c lan1 Set MTU to 1400 and speed to auto-negotiation on lan1 . nwmgr -s -A mtu=1400,speed=auto_on -c lan1 Restore MTU and the MAC address to their defaults on lan1 .
nwmgr_btlan(1M) nwmgr_btlan(1M) Command To Reset Statistics of a NIC lanadmin nwmgr lanadmin -c PPA nwmgr -r -st -c lan PPA Command To Reset MTU To the Default Value lanadmin nwmgr lanadmin -R PPA nwmgr -s -A mtu -from default -c lan PPA Command To Set To Default Configurations lanadmin nwmgr lanadmin -A DEFAULT PPA nwmgr -s -A mac -from default -c lan PPA NOTE: Similarly default configuration can be set for the other attributes like speed,mtu, mac etc.
nwmgr_btlan(1M) nwmgr_btlan(1M) Command To Display MAC Types Only lanscan nwmgr lanscan -m nwmgr -g -v -c lan PPA NOTE: nwmgr reports only on Ethernet links Command To Display NMIDs Only lanscan nwmgr lanscan -n nwmgr -g -v -c lan PPA Command To Display the PPAs Only lanscan nwmgr lanscan -p nwmgr -g -v -c lan PPA nwmgr -C lan --sc | awk -F# ’/if_state/ {print substr($1,4)}’ Command To Display All Mac Addresses lanscan nwmgr lanscan -a nwmgr -g -v -c lan PPA Note: Note: nwmgr displays the NIC attributes
nwmgr_intl100(1M) nwmgr_intl100(1M) NAME nwmgr_intl100: nwmgr - network interface management command for intl100 driver SYNOPSIS nwmgr nwmgr [-g] [-v] [-c lan_instance | -S intl100 ] nwmgr [-g] --st [all | extmib | mib ] -c lan_instance nwmgr [-g] -A {all | attr1, attr2, ...} -c lan_instance nwmgr [-g] -q info -c lan_instance nwmgr -s -A attr1 =value1 , attr2 =value2 ,... -c lan_instance nwmgr -s -A all --sa --fr cu[rrent ] -c lan_instance nwmgr -s -A {all | attr1 , attr2 ,...
nwmgr_intl100(1M) -h | --help -r | --reset -s | --set nwmgr_intl100(1M) Display help information. Reset interface or statistics. Set configuration information of the components and the subsystems. Options The nwmgr command provides the following options for the intl100 driver. For more information about these options, refere to nwmgr(1M). -A | --attribute Specify the parameter associated with a target whose value can be retrieved and/or set.
nwmgr_intl100(1M) nwmgr_intl100(1M) The valid values to set for speed for the 100Base-FX are 100FD and 100HD . Note that 10 Mbps and auto-negotiation are not supported speed configurations for the PCI 100Base-FX card. The output for the speed attribute can take one of the two formats. In the human-readable format, it is of the form: speed {Full | Half } Duplex (Autonegotiation : {On | Off }) Example: 100 Mbps Full Duplex (Autonegotiation : On) .
nwmgr_intl100(1M) nwmgr_intl100(1M) nwmgr [--get ] --stats [all | extmib | mib ] --class_instance lan_instance The arguments all , extmib , and mib are the only valid arguments for --stats for intl100 drivers. all is the default if no argument is provided with --stats . It displays the same information as extmib which displays extended MIB statistics. mib displays a subset of MIB statistics of the interface.
nwmgr_intl100(1M) nwmgr_intl100(1M) reset. Promiscuous mode and multicast addresses are preserved across the reset. While the reset is in progress, the data traffic through the interface is interrupted. So, the command automatically performs a Critical Resource Analysis to see if the interface is data-critical; that is, any other resource depends for its functionality on the availability of the interface. If so, the reset is not performed.
nwmgr_intl100(1M) nwmgr_intl100(1M) nwmgr -A speed,mtu -c lan1 Display all attributes of the intl100 interface lan1 . nwmgr -A all -c lan1 Set MTU to 1400 and speed to auto-negotiation on lan1 . nwmgr -s -A mtu=1400,speed=auto_on -c lan1 Restore MTU and the MAC address to their defaults on lan1 .
nwmgr_intl100(1M) nwmgr_intl100(1M) Command To Reset MTU To the Default Value lanadmin nwmgr lanadmin -R PPA nwmgr -s -A mtu -from default -c lanPPA Command To Set To Default Configurations lanadmin nwmgr lanadmin -A DEFAULT PPA nwmgr -s -A mac -from default -c lanPPA NOTE: Similarly default configuration can be set for the other attributes like speed,mtu, mac etc. Note: The nwmgr equivalent for displaying the usage information is not available.
nwmgr_intl100(1M) nwmgr_intl100(1M) Command To Display NMIDs Only lanscan nwmgr lanscan -n nwmgr -g -v -c lanPPA Command To Display the PPAs Only lanscan nwmgr lanscan -p nwmgr -g -v -c lanPPA nwmgr -C lan --sc | awk -F# ’/if_state/ {print substr($1,4)}’ Command To Display All MAC Addresses lanscan nwmgr lanscan -a nwmgr -g -v -c lanPPA Note: nwmgr displays the NIC attributes such as interface name, MAC type, the NMID, the PPA and the MAC address for only one NIC since only one instance of "lan" class in
nwmgr_vlan(1M) nwmgr_vlan(1M) NAME nwmgr_vlan: nwmgr - network interface management command for VLAN interface SYNOPSIS nwmgr -a -S vlan [-c lan VPPA] -A vlanid= vlanid , ppa= PPA [,attr=value]... [--sc ] nwmgr -d -c lan VPPA [--sc ] nwmgr -d -S vlan -c lan VPPA --sa [--sc ] nwmgr -d -S vlan --sa [--sc ] nwmgr -s -c lan VPPA -A attr1=value1...
nwmgr_vlan(1M) nwmgr_vlan(1M) Operations The nwmgr command provides the following operations for the VLAN interface. -a | --add --cra -d | --delete --diag | --diagnose -g | --get Add/create VLAN interface. -h | --help -r | --reset -s | --set Display help information. Perform Critical Resource Analysis on the VLAN interface. Delete the VLAN interface. Diagnose/test link connectivity. Get/display VLAN interface settings. This is the default operation when none is specified.
nwmgr_vlan(1M) nwmgr_vlan(1M) The valid range is 0-7. The default is 0. pri_override=level Priority override provides a mechanism to convert IP level precedence (IPV4 ToS octet) to link level 802.1p user priority. Priority override applies to outbound frames only. Priority override level strings are: speed CONF_PRI Your specified priority value will be used. This is the default value. IP_HEADER CONF_TOS IP header ToS will be converted to 802.1p priority.
nwmgr_vlan(1M) nwmgr_vlan(1M) Delete a VLAN Interface nwmgr -d -c lan VPPA [--sc ] nwmgr --delete --class_instance lan VPPA [--script ] This command deletes the VLAN interface if it is not in use. Caution: HP strongly advises you first run the Critical Resource Analysis (with the --cra option) to check usage information before deleting a VLAN interface.
nwmgr_vlan(1M) nwmgr_vlan(1M) View All Attributes of VLAN Interfaces nwmgr [-g] { -c lan VPPA | -S vlan } [-v] [--sc ] nwmgr [--get ] {--class_instance lan VPPA | --subsystem vlan } [--verbose ] [--script ] This command gets the attributes of one or all VLAN interfaces on the system. When the target is a VLAN interface, the attributes of the specified VLAN interface are displayed. When the target is the VLAN subsystem, attributes of all the VLAN interfaces on the system are displayed.
nwmgr_vlan(1M) nwmgr_vlan(1M) View All or Selected Attributes of a VLAN Interface nwmgr [-g] -A { all | attr1 , attr2 ,...} -c lan VPPA [--sc ] nwmgr [--get ] --attribute { all | attr1 , attr2 ,...} --class_instance lan VPPA [--script ] This command gets the value of individual attributes. When all is provided as the argument to the -A (--attribute ) option, more details about the interface are displayed in addition to the VLAN attributes.
nwmgr_vlan(1M) nwmgr_vlan(1M) ERRORS [EACCES] Attempt to set a read-only attribute. [EBUSY] Interface is presently inaccessible. [EINVAL] One or more of the attributes or options is invalid for the task. [EIO] IO error. [ENOENT] File does not exist. [ENOMEM] Memory allocation failed. This could be a transient condition. [ENOTSUP] Operation or feature is not supported. [ENXIO] Interface could not be accessed. [EPERM] User lacks the hpux.network.
nwmgr_vlan(1M) nwmgr_vlan(1M) Delete lan5000 : nwmgr -d -c lan5000 Delete lan5000 from persistent store: nwmgr -d -S vlan -c lan5000 --sa Delete all VLAN interfaces from the persistent store: nwmgr -d -S vlan --sa Delete lan5000 with output in scriptable format: nwmgr -d -c lan5000 --sc Reset lan5000 : nwmgr -r -c lan5000 Reset lan5000 with output in scriptable format: nwmgr -r -c lan5000 --sc Reset/Clear statistics of lan5000 : nwmgr -r -c lan5000 --st Reset/Clear statistics of lan5000 with output in s
ocd(1M) ocd(1M) NAME ocd - outbound connection daemon used by DDFA software SYNOPSIS ocd -fpseudonym -nnode_name [-bboard_no] [-cconfig_file] [-llog_level ] [-pport_no] DESCRIPTION The Outbound Connection Daemon (ocd ) is part of the Data Communications and Terminal Controller (DTC) Device File Access (DDFA) software. It manages the connection and data transfer to the remote terminal server port. It can be spawned from the Dedicated Port Parser (dpp ) or run directly from the shell.
ocd(1M) ocd(1M) In order to shutdown every ocd running without restarting them, the following command can be executed: kill -15 ‘ps -e | grep ocd | awk ’{print $1}’‘ WARNINGS In order to ensure that commands (such as ps ) display the correct device file name (that is, the pseudonym), all pseudonyms should be placed into the directory /dev/telnet . If pseudonyms are not specified for placement in this directory, the correct display of device file names with many commands is not guaranteed.
ocdebug(1M) ocdebug(1M) NAME ocdebug - outbound connection daemon debug utility used by DDFA software SYNOPSIS ocdebug -fpseudonym -nnode_name [-bboard_no ] [-cconfig_file ] [-ddebug_level ] [-llog_level ] [-pport_no ] DESCRIPTION The ocdebug daemon is the debugging version of the Outbound Connection Daemon (ocd ). ocd is part of the Data Communications and Terminal Controller (DTC) Device File Access (DDFA) software. It manages the connection and data transfer to the remote terminal server port.
ocdebug(1M) ocdebug(1M) 1 2 3 Log only LOG_CRIT and LOG_ERR messages. Log only LOG_CRIT, LOG_ERR, and LOG_WARNING messages. Log all messages. If it is omitted, the logging level is set to 1. -nnode_name Specify the IP address of the terminal server or the port. -pport_no Specify a DTC port number or, if the -b option is omitted, the TCP port service address that will be used by the software to access the port. If the value is omitted, the value 23 (Telnet) is used by default.
olrad(1M) olrad(1M) NAME olrad - command for Online Addition/Replacement/Deletion of PCI I/O cards and Online Addition of I/O chassis SYNOPSIS Adding Card Commands /usr/bin/olrad [-f] -a slot_id /usr/bin/olrad -A slot_id Replacing Card Commands /usr/bin/olrad [-f] -r slot_id /usr/bin/olrad -R slot_id Deleting Card Commands /usr/bin/olrad [-f] -d slot_id /usr/bin/olrad -D slot_id I/O Chassis Add Command /usr/bin/olrad -A -s cell_hw_path Other Commands /usr/bin/olrad /usr/bin/olrad /usr/bin/olrad /usr/bin
olrad(1M) olrad(1M) Options The following options are supported. -A slot_id Post add phase. The slot power is turned ON, the drivers associated with all affected slots are resumed. ioscan is run and if the card is claimed, the driver scripts, post_add for the current slot and post_replace for affected slots (if any), are run and the attention LED at the corresponding slot is turned OFF. -A -s cell_hw_path Configures the I/O components associated with the specified Cell.
olrad(1M) olrad(1M) Irrespective of whether -f is specified or not, Critical Resource Analysis (CRA) routines are run before an OLA/R/D operation, to ensure that the current OLA/R/D operation does not interrupt the normal operation of the system; in other words, to identify "critical" errors. The "data critical" errors are typically not critical to the system, but they may be critical to the user. Hence, the user needs to decide whether or not to use the -f option for overriding these types of errors.
olrad(1M) olrad(1M) If the -f option is specified, it overrides critical analysis (CRA) results. See the description for the -f option. -v hw_path Displays driver information, such as current state, time-out, and so on. Output fields are detailed below. Name displays the interface driver name. State displays the interface driver state. State will be RUNNING if the driver is active. State will be SUSPENDED if the driver is suspended.
olrad(1M) olrad(1M) Logging olrad uses the NetTL subsystem to log errors and audit trail for all OLA/R/D operations performed on slots. See nettl(1M). olrad makes use of the sysadmin subsystem formatter to format the log messages. The following details are not logged: • • • CRA report when performing OLA/R/D, CRA report when using the -C option, Output of view information options such as -v , -c , -g , -h , -q , and -n . EXAMPLES Adding a New Card 1.
olrad(1M) olrad(1M) FILES NetTL log file containing olrad audit trail and errors. SEE ALSO ioscan(1M), nettl(1M), netfmt(1M). PCI Error Handling available under the High Availability section at http://docs.hp.com.
opx25(1M) opx25(1M) (TO BE OBSOLETED) NAME opx25 - execute HALGOL programs SYNOPSIS /usr/lbin/uucp/X25/opx25 [-f scriptname ] [-c char ] [-ofile-descriptor ] [-ifile-descriptor ] [-nstring ] [-d ] [-v ] DESCRIPTION The uucp commands, including opx25 , are targeted for removal from HP-UX; see the WARNINGS below. HALGOL is a simple language for communicating with devices such as modems and X.25 PADs. It has simple statements similar to send xxx and expect yyy that are described below.
opx25(1M) opx25(1M) (TO BE OBSOLETED) set debug Sets the program in debug mode. It echoes each line to /tmp/opx25.log, as well as giving the result of each expect and run. This can be useful for writing new scripts. The command set nodebug disables this feature. set log Sends subsequent incoming characters to /var/uucp/.Log/LOGX25. This can be used in the *.in file as a security measure, because part of the incoming data stream contains the number of the caller.
ospf_monitor(1M) ospf_monitor(1M) NAME ospf_monitor - monitor OSPF (Open Shortest Path First protocol) gateways SYNOPSIS ospf_monitor mon_db_file DESCRIPTION Use the ospf_monitor command to query OSPF routers. The ospf_monitor command operates in interactive mode. It allows the user to query the various OSPF routers to provide detailed information on IO statistics, error logs, link-state data bases, AS external data bases, the OSPF routing table, configured OSPF interfaces, and OSPF neighbors.
ospf_monitor(1M) 5 ospf_monitor(1M) Request the AS external link advertisements. They describe routes to destinations external to the Autonomous System. For this type of request, the ls_id field should be set to the destination network’s IP address. c Display cumulative log. This log includes input/output statistics for monitor request, hello, data base description, link-state request, link-state update, and link-state ack packets.
owners(1M) owners(1M) NAME owners - list owners of outgoing network connections SYNOPSIS /usr/sbin/owners DESCRIPTION owners displays a list of established network connections which originate on this system, and indicates the owners of each connection using the identd running on this system. SEE ALSO sendmail(1M).
parcreate(1M) parcreate(1M) NAME parcreate - create a new partition SYNOPSIS parcreate -c cell :[celltype]:[use_on_next_boot]:[failure_usage][:clm_value] [ -c cell :[celltype]:[use_on_next_boot]:[failure_usage] [:clm_value] ]... [-b path] [-t path] [-s path] [-r cell] [-r cell]... [-T flag] [-k s_lock] [-B] [-I IPaddress] [-L clm_value] [-P PartitionName] [ [ -u username [:] -h IPaddress|hostname ] | [ -g -h IPaddress|hostname ] ] DESCRIPTION The parcreate command creates a new partition.
parcreate(1M) parcreate(1M) At least one of the cells specified using the -c option must contain core I/O with the use_on_next_boot flag set to y. failure_usage field is used by system firmware when a partition is booted. If a CPU selftest failure or a DIMM deallocation occurs during the power-on self-test process, then this flag is used by the system firmware to determine whether or not and how the cell should be integrated into the partition at boot time.
parcreate(1M) parcreate(1M) -k s_lock Specifies a lock key for the Stable Complex Configuration Data provided by parmgr . Note: The -k option is intended for use by system management tools which invoke the parcreate command programmatically. Command line users should avoid this option. -L clm_value Specifies the amount of the memory that will be used as local (non-interleave) memory per cell. The clm_value specified using the -c option takes precedence over the clm_value specified using the -L option.
parcreate(1M) parcreate(1M) command displays the above cell as "cab1,cell4". See parstatus(1). RETURN VALUE The parcreate command exits with one of the following values: Successful completion. Error condition occurred. 0 1 EXAMPLES Create a new partition myPartition with two cells. One of the cells is located in cabinet 0, slot 4. The celltype for the cell is base . The failure_usage policy for this cell is ri . The CLM value for this cell is 1 GB. The other cell is located in cabinet 0, slot 6.
parmodify(1M) parmodify(1M) NAME parmodify - modify an existing partition SYNOPSIS parmodify -p PartitionNumber {-a cell :[celltype]:[use_on_next_boot]:[failure_usage][:clm_value] [-a cell :[celltype]:[use_on_next_boot]:[failure_usage] [:clm_value]]... |-m cell :[celltype]:[use_on_next_boot]:[failure_usage][:clm_value] [-m cell :[celltype]:[use_on_next_boot]:[failure_usage] [:clm_value]]... |-d cell [-d cell]... |-B |-r cell [-r cell]...
parmodify(1M) parmodify(1M) command is executing is called the local partition. One or more of the following options must be specified with the -p option: -a cell:[celltype]:[use_on_next_boot]:[failure_usage][:clm_value] Assigns the specified cell to the target partition. To assign multiple cells to the partition, multiple -a options should be used. cell specifies the cell id. It can be specified either in the local (cabinet#/slot#) or global (cell#) format.
parmodify(1M) -d cell parmodify(1M) Delete the specified cell(s) from the partition. If the cell which is being deleted is an active cell then after the execution of the parmodify command the user must shutdown the partition using the shutdown -R command for the configuration change to take effect. If the -B option is also specified then the partition will boot up to the command prompt. If the -B option is not specified then the partition will have to be booted manually from the service processor.
parmodify(1M) parmodify(1M) A cell can be specified either in the local (cabinet#/slot#) or global (cell#) format. For example, the cell located in cabinet 0, slot 1 is identified in the local format as 0/1 or in the global format as 1. -s path Specifies the secondary boot path. path specifies a physical hardware path. Note: On Itanium-based platforms, only boot paths of the local partition can be modified.
parmodify(1M) parmodify(1M) For more information about actions that are restricted on iCAP partitions, refer to the HP Instant Capacity User’s Guide located at http://docs.hp.com. DEPENDENCIES This command uses the Web-Based Enterprise Management (WBEM) product and some of its configuration settings.
parolrad(1M) parolrad(1M) NAME parolrad - online activation of a cell from nPartition; cancel online cell operation; monitor online cell operation; reset hung cell during cell activation SYNOPSIS parolrad {-a cell |-c sequence# |-r cell |-m |-x |-f |-u username [:] -h IPaddress|hostname } DESCRIPTION The parolrad command performs several cell online functions such as cell online activation canceling online activations or monitoring an online cell operation, and resetting a cell that is hung during cell o
parolrad(1M) -u username[:] parolrad(1M) Specify the username for accessing a partition other than the local system. This option can also be used for loopback access to the local partition. The colon (:) is optional and is present for Linux compatibility reasons. The -h option is required if this option is used. If this option is specified, the command prompts for the password. username specifies a configured user name on the target partition.
parolrad(1M) parolrad(1M) AUTHOR parolrad was developed by HP. SEE ALSO fruled(1), parstatus(1), cplxmodify(1M), frupower(1M), parremove(1M), parunlock(1M), partition(5). parcreate(1M), parmgr(1M), parmodify(1M), HP System Partitions Guide on http://docs.hp.com, HP WBEM Services for HP-UX System Administrator’s Guide on http://docs.hp.com, HP WBEM Services for HP-UX 11i v2.0 on Integrity Servers Version A.01.05 Release Notes on http://docs.hp.com.
parremove(1M) parremove(1M) NAME parremove - remove an existing partition SYNOPSIS parremove -p PartitionNumber [-F] [-k s_lock :p_lock] [ [ -u username [:] -h IPaddress|hostname | [-g -h IPaddress|hostname ] ] DESCRIPTION The parremove command removes an existing partition. This will unassign all cells from the partition and destroy the partition definition. PartitionNumber, the target partition, must be inactive except when the -F option is used.
parremove(1M) parremove(1M) The -h option is required if this option is used. If this option is specified, the command prompts for the password. If an error is reported when you attempt to connect using this option, check to see that IPMI LAN access has not been disabled on the remote service processor. Access to the complex through IPMI over LAN can be enabled or disabled by logging on to the service processor and using the SA command from the Command Menu. The -u and -g options are mutually exclusive.
parremove(1M) parremove(1M) /etc/opt/hp/sslshare/known_hosts.pem. This file is used by all the clients, which use SSL based certificates. If these clients trust a target partition, then the nPartition commands will also trust the target partition. Refer to the WBEM documents specified in the SEE ALSO section below for further information. AUTHOR parremove was developed by the Hewlett-Packard Company. SEE ALSO fruled(1), parstatus(1), cplxmodify(1M), parunlock(1M), partition(5).
parunlock(1M) parunlock(1M) NAME parunlock - unlock stable complex profile or cancel pending changes to complex or partition configuration data SYNOPSIS parunlock -p PartitionNumber [-s] [-d] [-P] [-c cell] [ [ -u username [:] -h IPaddress|hostname ] | [ -g -h IPaddress|hostname ] ] parunlock -s [-d] [-P] [-c cell] [-p PartitionNumber] [ [ -u username [:] -h IPaddress|hostname ] | [ -g -h IPaddress|hostname ] ] parunlock -d [-s] [-P] [-c cell] [-p PartitionNumber] [ [ -u username [:] -h IPaddress|hostnam
parunlock(1M) parunlock(1M) If an error is reported when you attempt to connect using this option, check to see that IPMI LAN access has not been disabled on the remote service processor. Access to the complex through IPMI over LAN can be enabled or disabled by logging on to the service processor and using the SA command from the Command Menu. The -u and -g options are mutually exclusive. -h IPaddress|hostname This option should only be used in combination with either the -u or -g option.
parunlock(1M) parunlock(1M) parunlock -A DEPENDENCIES This command uses the Web-Based Enterprise Management (WBEM) product and some of its configuration settings.
pcnfsd(1M) pcnfsd(1M) NAME pcnfsd: rpc.pcnfsd - PC-NFS authentication and print request server SYNOPSIS /usr/sbin/rpc.pcnfsd DESCRIPTION pcnfsd is an RPC server that supports ONC clients on PC (DOS, OS/2, Macintosh, and other) systems. This describes version two of the pcnfsd server. pcnfsd can be started from the /sbin/init.d/nfs.server startup script by setting the PCNFS_SERVER variable to 1 in /etc/rc.config.d/nfsconf, or from the inetd daemon (see inetd(1M)).
pcnfsd(1M) pcnfsd(1M) • You can add a new printer to the line printer spooling system that uses a different printer model script, and arrange for the client to use the new printer. Do this using the lpadmin command (see lpadmin(1M)). • pcnfsd includes a mechanism to define virtual printers known only to pcnfsd clients. Each of these printers is defined by an entry in the file /etc/pcnfsd.
pcserver(1M) pcserver(1M) NAME pcserver - Basic Serial and HP AdvanceLink server SYNOPSIS pcserver [-n] [-l [ log_file ] ] [-v] DESCRIPTION pcserver is the hostside server program for Basic Serial and AdvanceLink, and is started and terminated by an application program running on a PC. pcserver supports both the Basic Serial and the AdvanceLink protocols.
pcserver(1M) pcserver(1M) If your screen displays a Command not found message when you choose START TRANSFER from AdvLink, either pcserver has not yet been installed on your HP-UX system, or it has been installed in a directory that is not part of your current path. HP-UX treats files containing binary or ASCII data identically. Therefore it is up to the user to specify the desired file type when using pcserver to transfer files with Advancelink.
pdc(1M) pdc(1M) (PA-RISC Systems Only) NAME pdc - processor-dependent code (firmware) DESCRIPTION pdc is the firmware that implements all processor-dependent functionality, including initialization and self-test of the processor. Upon completion, it loads and transfers control to the initial system loader (isl(1M)). Firmware behavior varies somewhat, depending on the hardware as described below. To load isl from an external medium, pdc must know the particular device on which isl resides.
pdweb(1M) pdweb(1M) NAME pdweb - start the HP-UX Peripheral Device tool, part of the System Management Homepage Web interface SYNOPSIS /usr/sbin/pdweb -t /usr/sbin/pdweb -F DESCRIPTION The HP-UX Peripheral Device tool (pdweb ) can be used to easily and quickly view I/O devices and OLRAD cards. It helps manage hot pluggable PCI slots on systems that support adding and replacing cards without rebooting.
ping(1M) ping(1M) NAME ping - send ICMP Echo Request packets to network host SYNOPSIS ping [-oprv ] [-f address-family] [-i address] [-I interval] [-t ttl] host [-n count [-m timeout]] ping [-oprv ] [-f address-family] [-i address] [-I interval] [-t ttl] host packet-size [ [-n ] count [-m timeout]] DESCRIPTION The ping command sends ICMP Echo Request (ECHO_REQUEST) packets to the host once per second.
ping(1M) ping(1M) If the address-family is specified, and host is an Internet address, the address family of the Internet address must be the same as that specified in the address-family option. If the address-family is not specified, and host is a symbolic name, an attempt will be made to resolve host into an IPv4 address first. If that fails, a second attempt will be made to resolve host into an IPv6 address. The ping command does not accept IPv4-mapped IPv6 addresses.
ping(1M) ping(1M) FILES /etc/hosts SEE ALSO getaddrinfo(3N), gethostent(3N), inet(3N), inet6(3N).
power_onoff(1M) power_onoff(1M) NAME power_onoff - timed, automatic system power on, and power off SYNOPSIS /usr/sbin/power_onoff -n /usr/sbin/power_onoff time [ date ] [ [ next +increment] time_designation] DESCRIPTION power_onoff instructs the UPS monitor (ups_mond ) to shut down the system, and optionally informs the monitor when to power on the system again. The UPS monitor in turn instructs the uninterruptible power source (UPS) when to turn the power off and on.
power_onoff(1M) power_onoff(1M) power_onoff 5:30 tomorrow To make your system startup each weekday at 7:30 am and shutdown at 5:30 pm each week day, use crontab to execute the first entry on Monday through Thursday and the second entry on Friday (see crontab(1)).
pppoerd(1M) pppoerd(1M) NAME pppoerd - PPPoE (Point to Point Protocol over Ethernet) relay SYNOPSIS pppoerd [-c config-file] [-d debug-level] [-l log-file] DESCRIPTION You need the pppoerd daemon if the PPPoE client and the server are not on the same link. Options pppoerd supports the following options: -c config-file Specify the configuration file with absolute path to be used by pppoerd . The default configuration file is /etc/ppp/pppoerd.conf.
pppoesd(1M) pppoesd(1M) NAME pppoesd - PPPoE (Point-to-Point Protocol over Ethernet) server daemon SYNOPSIS pppoesd [-c config-file] [-d debug-level] [-l log-file] DESCRIPTION pppoesd performs the server side discovery phase functionalities of PPPoE as mentioned in RFC 2516. The pppoesd daemon responds to PADI and PADR packets from clients if it can offer services desired by the client. pppoesd generates a unique session-id for every client that it services.
privedit(1M) privedit(1M) NAME privedit - let authorized users edit files that are under access control SYNOPSIS privedit [-htxv ] [-a authorization] file DESCRIPTION privedit allows authorized users to edit files that are otherwise restricted by permissions or access control lists. Identify which file to edit by specifying the file name as an argument to the privedit command.
privedit(1M) privedit(1M) Field Description command | file For privedit , the fully qualified path of a file to edit. This field may contain wildcards as defined in fnmatch(3C). For privrun , the fully qualified path of the command that is being wrapped to provide additional privilege. arguments Ignored. (Used only by privrun .) (operation ,object ) The operation the user is required to have on the object specified. Together, the (operation ,object ) forms the authorization.
privedit(1M) privedit(1M) International Code Set Support Single-byte character code set is supported. RETURN VALUE Success If privedit permitted the user to edit the file, then the return value from privedit is the return value of the editor used to edit the file. Failure privedit returns a value of 1 and an appropiate error message is printed to standard error. EXAMPLES Example 1 In the following example, the caller invokes privedit to edit /etc/fstab .
privrun(1M) privrun(1M) NAME privrun - invoke another application with privileges after performing appropriate authorization checks and optionally reauthenticating the user SYNOPSIS privrun [-htx ] [-a authorization] [-c compartment ] [-g [gid|groupname] ] [-G [gid|groupname] ] [-p privileges] [-u [uid|username] ] [-U [uid|username] ] [-v [-v] ] command [args] DESCRIPTION privrun allows a user to run legacy applications with elevated privileges according to the authorizations associated with that user.
privrun(1M) command [args] privrun(1M) The HP-UX command to run. command must be fully qualified. If it is not, then privrun will use the current working directory and the PATH environment variable to determine the desired command. args specifies any argument that the command recognizes. The cmd_priv Database The /etc/rbac/cmd_priv file contains information on which authorizations are required to execute each command binary, or edit each file.
privrun(1M) pam-service privrun(1M) Reauthentication service. If specified, the user will be reauthenticated. The privrun command will identify itself to PAM as the service indicated in this field. This allows the security officer to require an additional set of restrictions for particular commands. See pam.conf(4) for a list of PAM services. The keyword DFLT must be used to indicate that no reauthorization is required. flags This field is used by both privrun and privedit .
privrun(1M) privrun(1M) FILES /etc/rbac/roles /etc/rbac/auths /etc/rbac/user_role /etc/rbac/role_auth /etc/rbac/cmd_priv Database containing valid definitions of all roles. Database containing definitions of all valid authorizations. Database specifying the roles for each specified user. Database defining the authorizations for each role. Database defining the authorization information needed to execute commands and and edit files under access control.
psfontpf(1M) psfontpf(1M) NAME psfontpf - internationalized PostScript print filter SYNOPSIS /usr/lbin/psfontpf [-c] [-C config-file] [-D keyword=option] [-I keyword=option] [-K keyword=aliases] [-l logfile] [-L locale=aliases] [-n number] [-N keyword] [-o option-lists] [-O [keyword:]option=aliases] [-p ] [-P ppd-file] [-q interface-script] [-S macro[/desc]=option-lists] [-t title] [-T tray=paper] [-u user] [-v ] Remarks The psfontpf command should only be called from the PS.
psfontpf(1M) -N keyword -o option-lists psfontpf(1M) Disable the given non-PPD keyword from the configuration file. Specify options related to page orientation, formatting and other PPD file enabled device control operations. The option-lists value can include one option or multiple options separated by spaces. See the User Specified -o Option Lists section in this manpage.
psfontpf(1M) psfontpf(1M) cpi= char-per-inch even Specify the number of characters per inch in width for text printing. font= fontname Specify that the font or fonts associated with the given fontname name should be selected for printing, if available. The fontname can be an actual printer font name, an XLFD name for bitmap font, path to an external TrueType or PCF bitmap font, or a predefined typeface name specified in the configuration files.
psfontpf(1M) odd opt= keyword :option pages= m -n psfontpf(1M) Print only the odd pages (for text printing only). Select the given PPD option key as the value of the PPD main keyword. Specify the range of pages to be printed, starting with page number m and ending with page number n inclusively (text printing only). paper= paper-size Specify the paper size.
psfontpf(1M) psfontpf(1M) vmi= vmotion-index Specify the vertical motion index value which determines the height of a row. The unit of the index is 1/48 inch. This is equivalent to 48/line-perinch. vprint Specify vertical printing mode for Chinese, Japanese, and Korean multibyte characters. When this option is included, multibyte characters are printed vertically in a rotated orientation; however, any single byte characters in the text are still printed horizontally (text printing only).
psfontpf(1M) psfontpf(1M) Configuration Files The psfontpf configuration file is mainly used to specify the name and the locations of the fonts to be used as well as other miscellaneous configuration parameters. This configuration file is a plain text file with a number of key-option-value triplets of the form: key : opt =value The opt = part is optional. The # character indicates that the rest of the line is a comment. The \ character at the end of a line acts as a line continuation character.
psfontpf(1M) psfontpf(1M) latin1 font type: {1|12} Specify whether the default Latin 1 printer font should be used (font type = 1), or the combination font with both Latin 1 and double width characters (font type = 12) should be used for printing those Latin 1 characters. locale alias: locale =aliases Specify a list of comma-separated alias names for the given locale. path: var =path Assign the pathname path to the variable var. This variable can only be used in the *font * entries.
psfontpf(1M) psfontpf(1M) +fp Add the new font paths to the beginning of the current list. unicode conv: codeset=[codepoint=>unicode]+ Specify custom Unicode conversion mappings from the given codeset to Unicode. These mappings will override those from the iconv conversion tables. unicode map seq: unicode-mapping-sequence Specify the list of languages, which are associated with different fonts, which should be mapped when printing Unicode characters.
psmsgen(1M) psmsgen(1M) NAME psmsgen - model script configuration utility for psfontpf SYNOPSIS /usr/sbin/psmsgen [-o model-script-name] [ppd-file] /usr/sbin/psmsgen [-p printer-model] -m model-or-interface-script DESCRIPTION The psmsgen command is a terminal-based interactive model script configuration tool for configuring the PS.font model script that uses the psfontpf internationalized PostScript print filter. This command can only be run by a user with superuser privilege.
psmsgen(1M) • • • • • • • • • • psmsgen(1M) set default locale set user configuration file set output model script file name set printer installable options set default value for PPD features set default user options add or remove alias for PPD main keywords add or remove alias for PPD option keywords add or remove locale name aliases add or remove setup macros The "set output model script file name" setting is not available if the -m option is used to modify an existing script.
psmsgen(1M) psmsgen(1M) • Set default value for PPD features If no default value is set, the default values specified in the PPD file will be used. However, those default values may not be optimal. This option allows the user to select default values for all the supported PPD features. For example, you can turn on duplexing by default or select paper from the large capability tray. • Set default user options This option is used to set the default values for non-PPD related features.
psmsgen(1M) psmsgen(1M) *** PostScript Printer Configuration *** Please select one of the following manufacturer and printer types 1) HP black & white printers 2) HP color printers i) Import an external PPD file Please select an item, or press to quit: 1 *** PostScript Printer Configuration *** Please select one of the following PPD files 1) HP LaserJet 1300 PS (hpc1300s.ppd) 2) HP LaserJet 2200 Series (hpb22007.ppd) 3) HP LaserJet 2300 PS (hpc2325s.ppd) 4) HP LaserJet 2300L PS (hpc2320s.
psmsgen(1M) psmsgen(1M) s) Show all current settings q) Quit x) Save changes and exit Please select an item: AUTHOR The psmsgen command was developed by HP. FILES /usr/lib/lp/model/PS.font /usr/lib/lp/psfontpf/ppd /usr/lib/lp/psfontpf/pscf Model script that uses the psfontpf print filter. Directory for holding Adobe PPD files. Directory for holding various configuration files. SEE ALSO lp(1), psfontpf(1M), setnetlp(1M).
psrset(1M) psrset(1M) NAME psrset - create and manage processor sets SYNOPSIS psrset psrset psrset psrset psrset psrset psrset psrset psrset psrset psrset psrset psrset psrset psrset psrset [-f ] -a pset_id processor_list [-f ] -b pset_id pid_list [-f ] -c [processor_list] [-f ] -d pset_list [-f ] -d all [-f ] -e pset_id command [argument_list] [-f ] -g pset_id pgid [-i ] [pset_list] [-f ] -n pset_id -p [processor_list] -q [pid_list] [-f ] -r processor_list [-f ] -t pset_id attribute_name =attribute_va
psrset(1M) psrset(1M) -a pset_id processor_list Assigns processor_list to pset_id. processor_list is the list of processors, and pset_id is the processor set identification number. The processors are taken out of their current processor set and are reassigned to the specified processor set. Processor 0 may not be reassigned. If the processor being reassigned is the last processor in its current processor set, the behavior is defined by the LASTSPU attribute. See the -t option to define LASTSPU .
psrset(1M) psrset(1M) the list (pset_list) or for all sets by default. It will also list the Locality Domains that belong to the processor sets. If pset_list is not specified, then information for all processor sets are displayed. If no options are specified for the psrset command, then the -i option is assumed. -n pset_id Enables external I/O interrupts for all processors assigned to the specified processor set (pset_id).
psrset(1M) psrset(1M) The various failure conditions could be: -s pset_id • The configuring application does not have root privileges. • RTE is not enabled. • The pset_id is invalid. Un-marks the processor set with the identification number, pset_id, as an RTE processor set. The processor set is not destroyed. -R [processor_list] Creates a new RTE processor set and displays the processor set identification number (pset_id) for the new processor set.
psrset(1M) psrset(1M) psrset -f -t 2 PERM=666 RETURN VALUE psrset returns zero on successful completion. Otherwise, a non-zero value is returned and the message is displayed to indicate the error. AUTHOR psrset was developed by HP. SEE ALSO pset_assign(2), pset_bind(2), pset_create(2), pset_ctl(2), pset_destroy(2), pset_getattr(2), pset_setattr(2). HP Process Resource Manager is documented in the HP Process Resource Manager User’s Guide.
pvchange(1M) pvchange(1M) NAME pvchange - change characteristics and access path of physical volume in LVM volume group SYNOPSIS /usr/sbin/pvchange /usr/sbin/pvchange /usr/sbin/pvchange /usr/sbin/pvchange /usr/sbin/pvchange /usr/sbin/pvchange [-A autobackup] -a availability pv_path [-A autobackup] -s pv_path [-A autobackup] -S autoswitch pv_path [-A autobackup] -x extensibility pv_path [-A autobackup] -t IO_timeout pv_path [-A autobackup] -z sparepv pv_path Remarks Only pvchange -a can be performed if
pvchange(1M) pvchange(1M) When the only path to a device is detached, the associated physical volume will be unavailable to the volume group. The path remains part of the volume group but no I/O is queued to it and the path will remain unused by LVM until it is reattached. LVM will only stop using the physical volume when all the paths to the physical volume are detached.
pvchange(1M) pvchange(1M) extents from a spare physical volume will be available as part of the "free" pool of extents in the volume group. A spare physical volume will only be used in the event that another physical volume within this volume group becomes unavailable (fails). sparepv can have one of the following values: y Change the specified physical volume to be a "stand-by" spare for its volume group. The specified physical volume must not have extents allocated on it (i.e.
pvchange(1M) pvchange(1M) EXTERNAL INFLUENCES Environment Variables LANG determines the language in which messages are displayed. If LANG is not specified or is null, it defaults to C (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to C (see environ(5)).
pvck(1M) pvck(1M) NAME pvck - check or repair a physical volume in LVM volume group SYNOPSIS /usr/sbin/pvck -y pv_path /usr/sbin/pvck -n pv_path DESCRIPTION Note: Currently pvck is only capable of detecting bad checksums caused by a forward system migration after a backward system migration. It should not be used in other situations. The pvck command examines and repairs LVM data structures on a raw disk (pv_path) in a volume group.
pvcreate(1M) pvcreate(1M) NAME pvcreate - create physical volume for use in LVM volume group SYNOPSIS /usr/sbin/pvcreate [-b] [-B] [-d soft_defects ] [-s disk_size] [-f] [-t disk_type] pv_path DESCRIPTION The pvcreate command initializes a direct access storage device (a raw disk device) for use as a physical volume in a volume group. If pv_path contains a file system and the -f option is not specified, pvcreate asks for confirmation.
pvcreate(1M) pvcreate(1M) Note The user data size of the same physical volume may differ, when initialized by pvcreate command under different releases of HP-UX. EXTERNAL INFLUENCES Environment Variables LANG determines the language in which messages are displayed. If LANG is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
pvdisplay(1M) pvdisplay(1M) NAME pvdisplay - display information about physical volumes in LVM volume group SYNOPSIS /usr/sbin/pvdisplay [-v] [-d] [-b BlockList] pv_path ... /usr/sbin/pvdisplay -l pv_path ... /usr/sbin/pvdisplay -F [-d] [-v] pv_path ... DESCRIPTION The pvdisplay command displays information about each physical volume specified by a pv_path parameter. Options pvdisplay recognizes the following options: pv_path The block device path name of a physical volume.
pvdisplay(1M) pvdisplay(1M) an active spare, and its data is available if the active spare is available. unavailable/active spare The physical volume is unavailable and it’s an active spare. Thus, the data on this physical volume in unavailable. unavailable/standby spare The physical volume is a spare, "standing by" that is not currently available to capture data from a failed physical volume.
pvdisplay(1M) pvdisplay(1M) LV The block device path name of the logical volume to which the extent is allocated LE Index of the logical extent to which the physical extent is allocated Display With -d Option If -d is specified, pvdisplay displays the following additional details for each physical volume: Data Start Starting block number (KB) of the user data. Displays unavailable if the PV is unavailable. Boot Disk Specify if the pv_path is a bootable physical volume.
pvdisplay(1M) pvdisplay(1M) The pvdisplay command returns 1 if any of the physical volumes specified are under LVM control; otherwise it returns 0. EXTERNAL INFLUENCES Environment Variables LANG determines the language in which messages are displayed. If LANG is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
pvmove(1M) pvmove(1M) NAME pvmove - move allocated physical extents from one LVM physical volume to other physical volumes SYNOPSIS /usr/sbin/pvmove [-A autobackup] [-n lv_path] source_pv_path [dest_pv_path ... dest_pvg_name ...] /usr/sbin/pvmove [-A autobackup] source_pv_path[:0] [dest_pv_path ... dest_pvg_name ...] Remarks pvmove cannot be performed if the volume group is activated in shared mode. pvmove cannot move extents of a striped logical volume.
pvmove(1M) -n lv_path pvmove(1M) Move only the physical extents allocated to the logical volume specified by lv_path that are located on the source physical volume specified by source_pv_path. EXTERNAL INFLUENCES Environment Variables LANG determines the language in which messages are displayed. If LANG is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
pvremove(1M) pvremove(1M) NAME pvremove - remove LVM data structure from a physical volume SYNOPSIS /sbin/pvremove pv_path DESCRIPTION The pvremove command clears the LVM data structure on a disk, so that it is no longer an LVM physical volume. The device may then be used by the file system or by other Volume Manager. The operation is denied if pv_path is assigned to a volume group. The pvremove command only clears the LVM data structure on a disk if the disk does not belong to a volume group.
pwck(1M) pwck(1M) NAME pwck, grpck - password/group file checkers SYNOPSIS /usr/sbin/pwck [-l] [password [shadow]] /usr/sbin/pwck [-s] [-l] [password] /usr/sbin/grpck [ file ] DESCRIPTION pwck scans fields in the password and shadow files and reports any inconsistencies to standard error. The checks include validation of the number of fields, login name, user ID, group ID, and whether the login directory and optional program exist.
pwconv(1M) pwconv(1M) NAME pwconv - install, update or check the /etc/shadow file SYNOPSIS /usr/sbin/pwconv [-t] [-v] DESCRIPTION The pwconv command installs or appends /etc/shadow with information from /etc/passwd , or checks for any discrepancies between the contents of the two files. The pwconv command without options does the following: 1. 2. 3. Creates the file /etc/shadow if it does not exist; otherwise, it removes all entries for usernames which are not present in /etc/passwd .
pwgr_stat(1M) pwgr_stat(1M) NAME pwgr_stat - password and group hashing and caching statistics SYNOPSIS /usr/sbin/pwgr_stat DESCRIPTION pwgr_stat displays the current status of the pwgrd daemon process running on the system. It includes whether or not the daemon is running, how much activity is occurring, as well as statistics for each kind of request serviced by pwgrd .
pwgrd(1M) pwgrd(1M) NAME pwgrd - password and group hashing and caching daemon SYNOPSIS /usr/sbin/pwgrd [-d] [-l logfile] DESCRIPTION pwgrd provides accelerated lookup of password and group information for libc routines like getpwuid and getgrname . pwgrd implements per request type caches and hashtables as appropriate. When the corresponding routine in libc is called, a request is issued to pwgrd via a Unix domain socket connection.
pwunconv(1M) pwunconv(1M) NAME pwunconv - convert passwords from shadow to nonshadow SYNOPSIS /usr/sbin/pwunconv DESCRIPTION The pwunconv command transfers the password and aging information for all users from /etc/shadow to /etc/passwd . The /etc/shadow file is removed. Some of the aging information may be lost during the conversion; the warn and expire fields are discarded, while min , max , and lstchg are rounded from days to weeks. Notes HP recommends that you run pwck before running pwunconv .
quot(1M) quot(1M) NAME quot - summarize file system ownership SYNOPSIS /usr/sbin/quot [-F FStype] [-V] [-cfhnv ] [-o FSspecific-options] filesystem ... /usr/sbin/quot [-F FStype] [-V] [-cfhnv ] -a DESCRIPTION The quot command displays the number of 1024-byte blocks in the named filesystem that are currently owned by each user. filesystem is either the name of the directory on which the file system is mounted or the name of the device containing the file system.
quot(1M) quot(1M) SEE ALSO quot_hfs(1M), quot_vxfs(1M), du(1), find(1), ls(1), fstyp(1M), mount(1M), ncheck(1M), repquota(1M), fs_wrapper(5), quota(5).
quot_hfs(1M) quot_hfs(1M) NAME quot_hfs: quot - summarize ownership on an HFS file system SYNOPSIS /usr/sbin/quot [-F hfs ] [-V] [-cfhnuv ] filesystem ... /usr/sbin/quot [-F hfs ] [-V] [-cfhnuv ] -a DESCRIPTION The quot command displays the number of 1024-byte blocks in the named HFS filesystem that are currently owned by each user. filesystem is either the name of the directory on which the file system is mounted or the name of the device containing the file system.
quotacheck(1M) quotacheck(1M) NAME quotacheck - file system quota consistency checker SYNOPSIS /usr/sbin/quotacheck [-F FStype] [-V] [-o specific-options] filesystem ... /usr/sbin/quotacheck [-F FStype] [-V] [-o specific-options] -a DESCRIPTION The quotacheck command examines each file system, builds a table of current disk usage, and compares this table against that stored in the disk quota file for the file system.
quotacheck(1M) quotacheck(1M) SEE ALSO fs_wrapper(5), mount(1M), quota(5), quotacheck_hfs(1M), quotacheck_vxfs(1M).
quotacheck_hfs(1M) quotacheck_hfs(1M) NAME quotacheck_hfs: quotacheck - quota consistency checker for HFS file systems SYNOPSIS /usr/sbin/quotacheck [-F hfs ] [-V] [-pPuv ] filesystem ... /usr/sbin/quotacheck [-F hfs ] [-V] [-pPuv ] -a DESCRIPTION The quotacheck command examines each HFS file system, builds a table of current disk usage, and compares this table against that stored in the disk quota file for the file system.
quotaon(1M) quotaon(1M) NAME quotaon, quotaoff - turn HFS file system quotas on and off SYNOPSIS /usr/sbin/quotaon [-guv ] filesystem ... /usr/sbin/quotaon [-guv ] -a /usr/sbin/quotaoff [-guv ] filesystem ... /usr/sbin/quotaoff [-guv ] -a Remarks These commands are provided for compatibility only. Their use is neither required nor recommended because mount and umount enable and disable quotas cleanly (see mount(1M)). See WARNINGS below for more information.
quotaon(1M) quotaon(1M) AUTHOR Disk quotas were developed by the University of California, Berkeley, Sun Microsystems, Inc., and HP. FILES /etc/fstab Static information about the file systems /etc/mnttab Mount file system table directory /quota.group directory /quotas Group and user quota statistics static storage for a file system respectively, where directory is the root of the file system as specified to the mount command (see mount(1M)).
rad(1M) rad(1M) NAME rad - rad features have been moved to olrad DESCRIPTION rad has been replaced with a new olrad command which provides enhanced features for performing online addition and replacement of I/O cards. Please see the olrad(1M) manual page. RETURN VALUE rad exits with the value 255. SEE ALSO olrad(1M), ioscan(1M), pdweb(1M).
ram_monitor(1M) ram_monitor(1M) NAME ram_monitor - the Route Administration Manager (RAM) monitor SYNOPSIS /usr/bin/ram_monitor (ripng | bgp | isis ) [IP_address] CLI_Port_Number DESCRIPTION ram_monitor is an interactive command line utility used to query routing protocol daemons ripngd(1M), bgpd(1M), and isisd(1M). ram_monitor can be used to view detailed information on the IO statistics, the error logs, the routing table, the configured protocol interfaces, and the configured filter policies.
ram_monitor(1M) show profile ram_monitor(1M) Displays configured profiles of RIPng. BGP-Specific Commands The following are valid BGP-specific commands: show filter show route trace (on|off ) show log show error show peers show eventlog Displays the list of BGP route filters. Displays the BGP routing table. Toggles the tracing of the protocol daemon. Displays the BGP protocol statistics. Displays the list of notification sent to peers. Displays the list of BGP peers.
ram_monitor(1M) ram_monitor(1M) Garbage Collection Timer Interval (in sec) : 120 Profile id - 1 Horizon (2 - split/ 3 - poison reverse) Route Age (in sec) Periodic Update Timer Interval (in sec) Triggered Update Timer Interval (in sec) Garbage Collection Timer Interval (in sec) : : : : : 3 180 50 5 120 ripng> show log If : lan0 In Messages Out Messages Discarded Messages RIPng In Requests RIPng In Responses RIPng Out Requests RIPng Out Responses Unknown Commands Invalid Version Total Trig Upd sent
ram_monitor(1M) ram_monitor(1M) Received 19 messages, 14 Updates Sent 13 messages, 8 Updates Minimum time between advertisement runs is 15 seconds Peer Preference: 0 Peer Related to NONE Group Peer Capability type MP for IPV6 Peer Connection type: ACTIVE Peer Authentication type: MD5 Local host: 4222::1111, Local port: 179 Foreign host: 4222::1112, Foreign port: 64180 No Peer Gateway BGP neighbor is 6222::1111, remote AS 800, external link BGP version 0, remote router ID 0.0.0.
ram_monitor(1M) ram_monitor(1M) No.of Filters Configured:2 ================================================================= FilterName ASNO RP ASP DIR ACTION ================================================================= filter1 100 3333::2222 12,3,4 OUT DENY filter1 100 3333::2222 12,3,4 OUT DENY bgp> show eventlog BGP PEER EVENT LOG INFORMATION BGP neighbor is 4222::1112, remote AS 700, internal link BGP peer state = Established, up for 51 seconds No.
ram_monitor(1M) ram_monitor(1M) IS-IS Adjacency Count Table: Ckt Ckt Idx lan1 2 Adj Count 1 isis> show eventlog EVENTS LOGGED ---------------------------------------------------ISIS_EVT_DIS_CHANGE : EventID:55;CktLvl:2;CktIdx:2;PrevDIS: 0a.0b.01.02.03.04.02;CurrDIS:00.00.00.00.00.01.01 ISIS_EVT_ADJ_CHANGE : EventID:52;Status:0;AdjType:2;AdjIdx: 1;AdjUsage:2;CktIdx:2;MetType:0;Met:10;AdjSysID:00.00.00.00.00.01 ISIS_EVT_IP_IF_ADDR_CHANGE : EventID:42;Status:0;IfIdx:2; IPAddr31.11.00.00.00.00.00.00.00.00.
ram_monitor(1M) 0a0b01020304.00-01 IS Adjacency : IPv6 IF Address : IPv6 IF Address : IPv6 IF Address : IPv6 Reachability : Authentication Info: 0a0b01020304.02-00 Protocol Supported : Authentication Info: 0a0b01020304.
ram_monitor(1M) ram_monitor(1M) Interface stats on Ckt No. of adjacencies state changes No. of Init failures in this ckt No. of ISHs sent to peer nodes No. of ISHs recvd to peer nodes No. of Times Adjacency rejected No. of ISIS PDUs sent on this ckt No. of ISIS PDUs recvd on this ckt No. of ctrl PDUs Id len mismatch : : : : : : : : : lan1 [2] 1 0 0 0 0 2 0 0 AUTHOR ram_monitor was developed by Future Software Ltd. SEE ALSO bgpd(1M), isisd(1M), ramd(1M), ripngd(1M), rdc(1M), ramd.conf(4).
ramd(1M) ramd(1M) NAME ramd - Route Administration Manager Daemon (RAMD) for IPv6 SYNOPSIS /usr/sbin/ramd [-C] [-N] [-c] [-f config_file] [-n] [-q] [-t trace_options] [trace_file] DESCRIPTION ramd is a routing daemon that manages routing for IPv6. ramd handles RIPng, BGP, and IS-IS routing protocols. ripngd , bgpd , and isisd are referred to as routing daemons. ramd can be configured using the configuration file /etc/ramd.conf.
ramd(1M) SIGUSR1 SIGUSR2 ramd(1M) Toggle tracing. If tracing is enabled, ramd suspends tracing and closes the trace file. If tracing is disabled, ramd opens the trace file and initiates tracing. This is useful for moving trace files. SIGUSR1 signal cannot be used, if ramd does not enable tracing in the configuration file. Checks for interface changes. On receipt of SIGUSR2 , ramd rescans the kernel interface list for changes.
rarpc(1M) rarpc(1M) NAME rarpc - Reverse Address Resolution Protocol client SYNOPSIS rarpc [-d] [-e|-s] [-n count] interface_name DESCRIPTION rarpc , the Reverse Address Resolution Protocol client, implements the client portion of the Reverse Address Resolution Protocol (see SEE ALSO). It sends RARP requests for the specified interface’s hardware address and waits for the response from the RARP server. rarpc can be used during boottime initialization to find the IP address of an interface.
rarpd(1M) rarpd(1M) NAME rarpd - Reverse Address Resolution Protocol daemon SYNOPSIS rarpd [-d] [-f config_file] [interface_name] DESCRIPTION rarpd , the Reverse Address Resolution Protocol daemon, implements the server portion of the Reverse Address Resolution Protocol [1]. It responds to RARP requests providing the requested client IP address. Rarpd can be started during boot-time initialization. To do so, set the RARPD variable with RARPD=1 in /etc/rc.config.d/netconf.
rbacdbchk(1M) rbacdbchk(1M) NAME rbacdbchk - Verifies the syntax of the Role-Based Access Control (RBAC) database files SYNOPSIS rbacdbck [-r | -a | -u | -R | -c | -x] DESCRIPTION rbacdbck verifies that there are no conflicting or inconsistent entries in and amongst the RBAC database files. rbacdbck also checks the syntax of the database files and prints messages indicating which lines contain errors. rbacdbchk returns zero output if no errors are present in the database files.
rbacdbchk(1M) rbacdbchk(1M) [Role in role_auth DB with no assigned user in user_role DB] blah:(hpux.*, *) [Invalid Role in role_auth DB. Role ’blah’ does not exist in the roles DB] blah:(hpux.*, *) The following example finds a bad group name: # rbacdbchk [/etc/rbac/user_role] &blah: Administrator invalid group The value ’blah’ for the Group name field is bad.
rc(1M) rc(1M) NAME rc - general purpose sequencer invoked upon entering new run level SYNOPSIS /sbin/rc DESCRIPTION The rc shell script is the general sequencer invoked upon entering a new run level via the init N command (where N equals 0-6). The script /sbin/rc is typically invoked by the corresponding entry in the file /etc/inittab as follows: sqnc:123456:wait:/sbin/rc /dev/console 2>&1 /sbin/rc is the startup and shutdown sequencer script.
rc(1M) rc(1M) When ordering start and kill script links, note that subsystems started in any given order should be stopped in the reverse order to eliminate any dependencies between subsystems. This means that kill scripts will generally not have the same numbers as their start script counterparts. For example, if two subsystems must be started in a given order due to dependencies (e.g.
rc(1M) rc(1M) 0 1 2 3 4 >4 Script exited without error. Script encountered errors. Script was skipped due to overriding control variables from /etc/rc.config.d files, or for other reasons, and did not actually do anything. Script will automatically reboot the system. Script exited without error and started a process in background mode. For return values greater than 4 the action is same as return value 1, script encountered errors. SEE ALSO init(1M), shutdown(1M), inittab(4), rc.config(4).
rcancel(1M) rcancel(1M) NAME rcancel - remove requests from a remote printer spooling queue SYNOPSIS /usr/sbin/rcancel [id ... ] [printer] [-a] [-e] [-u user] DESCRIPTION The rcancel command removes a request, or requests, from the spool queue of a remote printer. rcancel is invoked by the cancel command (see lp(1)). At least one id or the name of a printer must be specified.
rdc(1M) rdc(1M) NAME rdc - user interface for Routing Administration Manager (RAMD) SYNOPSIS /usr/bin/rdc [-c coresize] [-f filesize] [-n] [-q] [-t seconds] {start } /usr/bin/rdc ( stop | restart | running ) ( ram | ripng | bgp | isis | all ) /usr/bin/rdc ( dump | coredump ) ( ram | ripng | bgp | isis | all ) /usr/bin/rdc ( kill | term | reconfig | toggletrace ) ( ram | ripng | bgp | isis | all ) /usr/bin/rdc ( checkconf | checknew | newconf | modeconf | createconf ) /usr/bin/rdc ( backout | BACKOUT ) /u
rdc(1M) interface rdc(1M) Sends SIGUSR2 signal to ramd to recheck the interface configuration. ramd periodically checks the kernel interface configuration for any changes. This command can be used to force the daemon to check the interface status immediately. Currently, the only valid argument for this command is ram , for checking on ramd . By default, ramd obtains its configuration information from the /etc/ramd.conf file. rdc maintains many versions of the configuration file.
rdc(1M) rdc(1M) EXAMPLES To start ramd , type the following at the HP-UX command prompt: /usr/bin/rdc start If successful, the pid of the ramd daemon is displayed. To get the current state of the daemons, type the following at command prompt: /usr/bin/rdc dump all This will dump the current state of the ramd and routing daemons. The dump files for the ramd and routing daemons are /var/tmp/ramd/ramd.dump and /var/tmp/*/*.dump, respectively; where * is one of the routing daemons.
rdpd(1M) rdpd(1M) NAME rdpd - router discovery protocol daemon (OBSOLETE) SYNOPSIS rdpd [ -r | -t | -v ] DESCRIPTION rdpd , the router discover protocol daemon, implements the host portion of the router discovery protocol (see SEE ALSO). More specifically rdpd : • solicits router advertisements when it is first started so as to populate the kernel table as soon as possible. • listens on all ethernet interfaces (that are up) for ICMP router advertisement datagrams.
rdpd(1M) rdpd(1M) 5. Default routers added via the route command can be altered due to Router Advertisements for the same router. 6. Adding default routes via the route command can cause unpredictable results and should be avoided. OBSOLESCENCE The functionality of rdpd has been subsumed in gated . See the routerdiscovery statements described in gated.conf(4). rdpd has been obsoleted in HP-UX 11i Version 2. WARNINGS rdpd should not be used if routerdiscovery client is enabled when running gated .
reboot(1M) reboot(1M) NAME reboot - reboot the system SYNOPSIS /usr/sbin/reboot [-h-r] [-n-s] [-q] [-t time] [-m message] /usr/sbin/reboot -R [-H] [-n-s] [-q] [-t time] [-m message] DESCRIPTION The reboot command terminates all currently executing processes except those essential to the system, then reboots the system, or halts, or makes the partition ready for reconfiguration. When invoked without arguments, reboot syncs all disks before rebooting the system.
reboot(1M) reboot(1M) SEE ALSO vpartition(1), reboot(2), partition(5).
remshd(1M) remshd(1M) NAME remshd - remote shell server SYNOPSIS /usr/lbin/remshd [-lmns ] In Kerberos V5 Network Authentication Environments /usr/lbin/remshd [-clmnKkRr ] DESCRIPTION The remshd command is the server for the rcp , rdist and remsh commands, rcmd() and the rcmd_af() function in case of IPv6 systems (see rcp(1), rdist(1), remsh(1), rcmd(3N), and rcmd_af(3N)). remshd allows two kinds of authentication methods: 1.
remshd(1M) remshd(1M) -s This option is used in multi-homed NIS systems. It disables remshd from doing a reverse lookup of the client’s IP address; see gethostbyname(3N). It can be used to circumvent an NIS limitation with multi-homed hosts. In a secure environment, remshd will recognize the following additional options: -c Ignore checksum verification. This option is used to achieve interoperability between clients and servers using different checksum calculation methods.
remshd(1M) remshd(1M) 7. The server reads the server’s host account name from the first connection. This is a nullterminated sequence not exceeding 256 characters. 8. The server reads a command to be passed to the shell from the first connection. The command length is limited by the maximum size of the system’s argument list. 9. remshd then validates the user as follows (all actions take place on the host remshd runs on): a.
remshd(1M) remshd(1M) Can’t get stderr port Unable to complete the connection of the secondary socket used for error communication. Second port not reserved The secondary socket connection does not use a reserved port. Locuser too long The name of the user account on the client’s host is longer than 256 characters. Remuser too long The name of the user on the server’s host is longer than 256 characters.
remshd(1M) remshd(1M) FILES $HOME/.rhosts /etc/hosts.equiv User’s private equivalence list List of equivalent hosts SEE ALSO rcp(1), rdist(1), remsh(1), inetd(1M), named(1M), chdir(2), signal(2), gethostbyaddr(3N), gethostbyname(3N), rcmd(3N), rcmd_af(3N), hosts(4), hosts.equiv(4), inetd.conf(4), inetd.sec(4), passwd(4), security(4), services(4), sis(5).
renice(1M) renice(1M) NAME renice - alter priority of running processes SYNOPSIS renice [-n newoffset] [-g-p-u] id ... DESCRIPTION The renice command alters the system nice value (used in the system scheduling priority) of one or more running processes specified by id .... The new system nice value is set to 20 + newoffset, and is limited to the range 0 to 39. However if the UNIX95 environment variable is set, the new system nice value is set to current nice value + newoffset.
renice(1M) renice(1M) renice -n 13 -u john 123 Change the system nice value of all processes in process group 20 to 10 . (Lowering the system nice value of a process group requires appropriate privileges.) renice -n -10 -g 20 WARNINGS Users who do not have appropriate privileges cannot reduce the system nice values of their own processes, even if they increased them in the first place. FILES /etc/passwd Maps user names to user ID’s SEE ALSO nice(1), ps(1), getpriority(2), nice(2).
repquota(1M) repquota(1M) NAME repquota - summarize file system quotas SYNOPSIS /usr/sbin/repquota [-guv ] filesystem ... /usr/sbin/repquota [-guv ] -a DESCRIPTION The repquota command prints a summary of disk usage and quotas for each specified filesystem . filesystem is either the name of the directory on which the file system is mounted or the name of the device containing the file system.
restore(1M) restore(1M) NAME restore, rrestore - restore file system incrementally, local or across network SYNOPSIS /usr/sbin/restore key [ name ... ] /usr/sbin/rrestore key [ name ... ] DESCRIPTION The restore and rrestore commands read tapes previously dumped by the dump or rdump command (see dump(1M) and rdump(1M)). Actions taken are controlled by the key argument where key is a string of characters containing not more than one function letter and possibly one or more function modifiers.
restore(1M) restore(1M) the extraction list (unless h is specified on the command line). The most expedient way to extract files from a directory is to add the directory to the extraction list, then delete unnecessary files. extract help ls [arg] pwd quit All files named on the extraction list are extracted from the dump tape. restore and rrestore ask which volume the user wants to mount. The fastest way to extract a few files is to start with the last volume, then work toward the first volume.
restore(1M) restore(1M) There are numerous consistency checks that can be listed by restore and rrestore . Most checks are self-explanatory or can ‘‘never happen’’. Here are some common errors: filename : not found on tape The specified file name was listed in the tape directory but not found on the tape. This is caused by tape read errors while looking for the file, and from using a dump tape created on an active file system.
rexd(1M) rexd(1M) NAME rexd - RPC-based remote execution server SYNOPSIS /usr/sbin/rpc.rexd [-l log_file] [-m mountdir] [-r] DESCRIPTION rexd is the RPC server for remote command execution. A rexd is started by inetd when a remote execution request is received (see inetd(1M)). rexd exits when command execution has completed. If the user ID (uid) in the remote execution request is assigned to a user on the server, rexd executes the command as that user.
rexd(1M) rexd(1M) rexd: mountdir (mountdir ) is not a directory The path name mountdir, under which temporary mount points are created, is not a directory or does not exist. rexd: command : Command not found rexd could not find command. rexd: command : Permission denied rexd was denied permission to execute command. rexd: command : Text file busy The executable file is currently open for writing. rexd: command : Can’t execute rexd was unable to execute command.
rexd(1M) /dev/tty [pqr ]* /dev/ptym/pty[pqr ]* /dev/pty/tty [pqr ]* /etc/inetd.conf /etc/hosts.equiv $HOME/.rhosts /var/spool/rexd/rexdxxxxx rexd(1M) slave pseudo terminals master pseudo terminals slave pseudo terminals configuration file for inetd(1M) list of equivalent hosts user’s private equivalence list temporary mount points for remote file systems where xxxxx is a string of alpha numeric characters. AUTHOR rexd was developed by Sun Microsystems, Inc.
rexecd(1M) rexecd(1M) NAME rexecd - remote execution server SYNOPSIS /usr/lbin/rexecd [ -n ] [ -m ] [ -s ] [ -S ] DESCRIPTION rexecd is the server for the rexec() routine, and the rexec_af() routine in case of IPv6 systems; it expects to be started by the internet daemon (see inetd(1M)). rexecd provides remote execution facilities with authentication based on user account names and unencrypted passwords.
rexecd(1M) rexecd(1M) fail, rexecd returns a diagnostic message through the connection, then closes the connection. NOTE: The use_psd option cannot be specified in the /etc/pam.conf file for rexecd . 7. A null byte is returned on the connection associated with stderr and the command line is passed to the normal login shell of the user with that shell’s -c option. The shell inherits the network connections established by rexecd .
ripngd(1M) ripngd(1M) NAME ripngd - RIPng routing daemon for IPv6 SYNOPSIS /usr/sbin/ripngd [-C] [-c] [-f config_file] [-N] [-n] [-q] [-t trace_options] [trace_file] DESCRIPTION ripngd is a routing daemon that works with Route Administration Manager (RAMD) for IPv6. This routing daemon is an implementation of Routing Information Protocol for IPv6 defined in RFC 2080. ripngd is invoked automatically if it is enabled in the /etc/ramd.conf configuration file.
ripquery(1M) ripquery(1M) NAME ripquery - query RIP gateways SYNOPSIS ripquery [-1] [-2] [-[a5] authkey] [-n] [-N dest[/mask] ] [-p] [-r] [-v] [-w time] gateway ... DESCRIPTION ripquery is used to request all routes known by a RIP gateway by sending a RIP request or POLL command. The routing information in any routing packets returned is displayed numerically and symbolically. ripquery is intended to be used as a tool for debugging gateways, not for network management.
rlogind(1M) rlogind(1M) NAME rlogind - remote login server SYNOPSIS /usr/lbin/rlogind [-lns ] [-B bannerfile ] In Kerberos V5 Network Authentication Environments /usr/lbin/rlogind [-clnKkRr ] [-B bannerfile ] DESCRIPTION rlogind is the server for the rlogin program. It provides a remote login facility with two kinds of authentication methods: 1. Authentication based on privileged port numbers where the client’s source port must be in the range 512 through 1023.
rlogind(1M) rlogind(1M) -K Authorization based on Kerberos V5 must succeed or access will be rejected (see sis(5) for details on authorization). -R Authentication based on privileged port numbers and authorization of the remote user through equivalent accounts must succeed. hosts.equiv(4). For more information on equivalent accounts, see -r Either one of the following must succeed. The order in which, the authorization checks are done is as specified below. 1.
rlogind(1M) rlogind(1M) EXTERNAL INFLUENCES International Code Set Support Single and multibyte character code sets are supported. DIAGNOSTICS Errors in establishing a connection cause an error message to be returned with a leading byte of 1 through the socket connection, after which the network connection is closed. Any errors generated by the login process or its descendents are passed through by the server as normal communication.
rlp(1M) rlp(1M) NAME rlp - send LP print request to a remote system SYNOPSIS /usr/sbin/rlp -I id [-C class] [-J job ] [-T title] [-i[ numcols ] ] [-k font] [-w num] [-cdfghlnptv ] file DESCRIPTION rlp transfers a spooling request to a remote system to be printed. rlp communicates with a spooling daemon on a remote system to transfer the spooling request. Options can be set only on the original system (the system where the request originated). The file name must be last.
rlp(1M) rlp(1M) FILES /etc/passwd /usr/sbin/rlpdaemon /var/spool/lp/* /var/adm/lp/* /etc/lp/* /usr/lib/lp/* SEE ALSO accept(1M), enable(1), lp(1), lpadmin(1M), lpsched(1M), lpstat(1), rcancel(1M), rlpdaemon(1M), rlpstat(1M).
rlpdaemon(1M) rlpdaemon(1M) NAME rlpdaemon - daemon for queuing, displaying, removing and altering remote spool requests and writing remote messages SYNOPSIS /usr/sbin/rlpdaemon [ -i ] [ -l ] [ -L logfile ] DESCRIPTION rlpdaemon is a LP daemon (spool area handler) for remote spool requests. rlpdaemon is normally invoked at boot time from the /sbin/rc file or started by inetd(1M), when necessary. rlpdaemon runs on a system that receives requests to be printed.
rlpdaemon(1M) rlpdaemon(1M) /etc/lp/* /usr/lib/lp/* /var/adm/inetd.sec SEE ALSO enable(1), lp(1), lpstat(1), accept(1M), inetd(1M), lpadmin(1M), lpsched(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). hosts.equiv(4), inetd.conf(4), inetd.sec(4), services(4).
rlpstat(1M) rlpstat(1M) NAME rlpstat - print status of LP spooler requests on a remote system SYNOPSIS /usr/sbin/rlpstat [-d printer] [-u user] [id]... DESCRIPTION rlpstat reports the status of the specified jobs or all requests associated with the specified users on the specified printer. At least one id or the name of a printer must be specified.
rmsf(1M) rmsf(1M) NAME rmsf - remove a special (device) file SYNOPSIS /sbin/rmsf /sbin/rmsf /sbin/rmsf /sbin/rmsf /sbin/rmsf [-a-k] [-D directory] [-q-v] special_file ... [-C class -d driver] [-D directory] -H hw_path [-k] [-q-v] -L -u -H hw_path -x DESCRIPTION The rmsf command removes one or more special files from the /dev directory and potentially removes information about the associated device or devices with H/W type DEVICE , TGT_PATH or a LUN_PATH , (see ioscan(1M)) from the system.
rmsf(1M) rmsf(1M) The -x option removes stale device special files and the stale IO nodes from the system. Stale device special files can be displayed using the lssf command with -s option (see lssf(1M)). Note that most drivers do not support the ability to be removed from the system. If the device being removed from the system uses a dynamically assigned major number, that number will be freed up for future allocation.
rmsf(1M) rmsf(1M) -v Verbose option. Prints the name of the special file as it is removed by rmsf . May be used as a progress indicator. -x Remove all the stale IO nodes and the stale device special files from the system. These entries correspond to those nodes which have an entry in the system I/O configuration files but the corresponding device is not found (see ioconfig(4)).
rmsf(1M) rmsf(1M) rmsf -u -H 64000/0xfa00/0x6 WARNINGS Most commands and subsystems assume their device files are in /dev , therefore the use of the -D option is discouraged. Most device drivers do not support the unbind operation necessary to remove the device from the system.
rmt(1M) rmt(1M) NAME rmt - remote magnetic-tape protocol module SYNOPSIS /usr/sbin/rmt DESCRIPTION rmt is a program used by the remote dump and restore programs for manipulating a magnetic tape drive through an interprocess communication (IPC) connection. The fbackup and frecover commands also use rmt to achieve remote backup capability (see fbackup(1M) and frecover (1M)). rmt is normally started up with an rexec() or rcmd() call (see rexec(3N) and rcmd(3N)).
rmt(1M) rmt(1M) machinevalue stat_struct_member_namevalue The end of the data is indicated by an ASCII NULL character. See /usr/include/sys/stat.h for the struct stat definition. In addition to the struct stat information, there is an entry in the buffer describing the machine type as returned from a uname() call (see uname(2)). In the above format ‘‘machine’’ is a key word. All fields except st_spare4 of the struct stat are returned.
roleadm(1M) roleadm(1M) NAME roleadm - noninteractive editing of role-related information in RBAC databases SYNOPSIS roleadm roleadm roleadm roleadm roleadm roleadm add role [comments] delete role modify oldrolename newrolename assign user role revoke user [role] list [user= username] [role= rolename] [sys ] DESCRIPTION roleadm is a noninteractive command that allows users with the appropriate authorization to modify and list the role information in /etc/rbac/user_role, /etc/rbac/role_auth, and /etc/rb
roleadm(1M) roleadm(1M) If the specified user does not exist in the system and there exists the special user, DEFAULT, in the /etc/rbac/user_role database, then the roles listed for the specified user will be those of the DEFAULT user. In the event that there is more than one DEFAULT user defined in the /etc/rbac/user_role database, the system will recognize only the last one. If sys is specified, then all the roles in the roles database, /etc/rbac/roles, will be listed.
roleadm(1M) roleadm(1M) # roleadm assign John administrator The following command will remove the line John:administrator from /etc/rbac/user_role file: # roleadm revoke John administrator The following command will remove all the roles for user John from /etc/rbac/user_role file: # roleadm revoke John The following command will remove all the roles for group name users from /etc/rbac/user_role file: # roleadm revoke "&users" The following command will list all the roles for user Joe : # roleadm list
route(1M) route(1M) NAME route - manually manipulate the routing tables SYNOPSIS /usr/sbin/route [-f] [-n] [-p pmtu] add [net host ] destination [netmask mask] gateway [count] [source src] /usr/sbin/route inet6 [-f] [-n] [-p pmtu] add [net host ] v6destination [ / prefix] v6gateway [count] [source v6src] /usr/sbin/route [-f] [-n] delete [net host ] destination [netmask mask] gateway [count] [source src] /usr/sbin/route inet6 [-f] [-n] delete [net host ] v6destination [ / prefix] v6gateway [count] [so
route(1M) route(1M) • • • • v6destination (inet6 only) The destination host system where the packets will be routed. v6destination can be one of the following: • • • prefix A host name (the official name or an alias, see gethostent(3N)). A network name (the official name or an alias, see getnetent(3N)). An Internet address in "dot" notation (see inet(3N)). The keyword default , which signifies the wildcard gateway route (see routing(7)).
route(1M) route(1M) If the -n option is not specified, any host and network addresses are displayed symbolically according to the name returned by gethostbyaddr() and getnetbyaddr(), respectively, except for the default network address (printed as default ) and addresses that have unknown names. Addresses with unknown names are printed in Internet "dot" notation (see inet(3N)).
route(1M) Count =0 >0 =0 >0 =0 >0 route(1M) Destination Type network network host host default default Flags U UG UH UGH U UG Route Type Route to a network directly from the local host Route to a network through a remote host gateway Route to a remote host directly from the local host Route to a remote host through a remote host gateway Wildcard route directly from the local host Wildcard route through a remote host gateway DIAGNOSTICS The following error diagnostics can be displayed: add a route th
rpc.nisd_resolv(1M) rpc.nisd_resolv(1M) NAME rpc.nisd_resolv - DNS service daemon for NIS SYNOPSIS rpc.nisd_resolv [-v | -V] [-F [-C file_descriptor]] [-t transport] [-p program_number] DESCRIPTION rpc.nisd_resolv is an auxiliary process which provides DNS forwarding service for NIS hosts requests. The rpc.nisd_resolv process is started by ypserv (NIS server) when invoked with the -d option. It requires the /etc/resolv.conf file to be set up for communication with a DNS nameserver.
rpcbind(1M) rpcbind(1M) NAME rpcbind - universal addresses to RPC program number mapper SYNOPSIS rpcbind [-d] [-w] DESCRIPTION rpcbind is a server that converts RPC program numbers into universal addresses. It must be running on the host to be able to make RPC calls on a server on that machine. When an RPC service is started, it tells rpcbind the address at which it is listening, and the RPC program numbers it is prepared to serve.
rpcinfo(1M) rpcinfo(1M) NAME rpcinfo - report RPC information SYNOPSIS rpcinfo rpcinfo rpcinfo rpcinfo rpcinfo rpcinfo rpcinfo rpcinfo rpcinfo [ -m ] [ -s ] [ host ] -p [ host ] -T transport host prognum [ versnum ] -l [ -T transport ] host prognum [ versnum ] [ -n portnum ] -u host prognum [ versnum ] [ -n portnum ] -t host prognum [ versnum ] -a serv_address -T transport prognum [ versnum ] -b [ -T transport ] prognum versnum -d [ -T transport ] prognum versnum DESCRIPTION rpcinfo makes an RPC call
rpcinfo(1M) rpcinfo(1M) -d Delete registration for the RPC service of the specified prognum and versnum. If transport is specified, unregister the service on only that transport, otherwise unregister the service on all the transports on which it was registered. Only the owner of a service can delete a registration, except the super-user who can delete any service. -l Display a list of entries with a given prognum and versnum on the specified host.
rquotad(1M) rquotad(1M) NAME rquotad - remote quota server SYNOPSIS /usr/sbin/rpc.rquotad DESCRIPTION rquotad is an RPC server that returns quotas for a user of a local file system currently mounted by a remote machine by means of NFS (see rpc(3N)). The results are used by quota to display user quotas for remote file systems (see quota(1)). rquotad might not work for local filesystems which support a 64-bit quota file format.
rstatd(1M) rstatd(1M) NAME rstatd - kernel statistics server SYNOPSIS /usr/lib/netsvc/rstat/rpc.rstatd [-l log_file] [-e-n] DESCRIPTION rstatd is an RPC server that returns performance statistics obtained from the kernel. The rup utility prints this information (see rup(1)). inetd invokes rstatd through /etc/inetd.conf (see inetd(1M)). Options rstatd recognizes the following options and command-line arguments: -l log_file Log any errors to the named log file, log_file.
rtradvd(1M) rtradvd(1M) NAME rtradvd - Router Advertisement daemon for IPv6 SYNOPSIS rtradvd [-C] [-c configfile] [-d debuglevel] [-i] [-p pidfile] [debugfile] DESCRIPTION rtradvd , the router advertisement daemon for IPv6, implements router functionality as specified by RFC 2461 ("Neighbor Discovery for IP Version 6"). The daemon listens to router solicitation and sends router advertisement messages on demand and periodically as described in "Neighbor Discovery for IP Version 6".
rtradvd(1M) rtradvd(1M) NOTE The following ICMPv6 types are assigned for Mobile IPv6: Home Agent Address Discovery Request: ICMPv6 type 144 Home Agent Address Discovery Reply: ICMPv6 type 145 Mobile Prefix Solicitation: ICMPv6 type 146 Mobile Prefix Advertisement: ICMPv6 type 147 Refer to the Mobile IPv6 Administrator’s Guide for information on configuring Virtual IPv6 Anycast addresses. AUTHOR rtradvd was developed by HP. FILES /etc/rtradvd.conf /var/run/rtradvd.pid /etc/rc.config.
runacct(1M) runacct(1M) NAME runacct - run daily accounting SYNOPSIS /usr/sbin/acct/runacct [ mmdd [ state ] ] DESCRIPTION runacct is the main daily accounting shell procedure. It is normally initiated via cron(1M). runacct processes connect, fee, disk, and process accounting files. It also prepares summary files for prdaily or billing purposes. runacct takes care not to damage active accounting files or summary files in the event of errors.
runacct(1M) runacct(1M) runacct mmdd WTMPFIX If runacct failed in its PROCESS state, remove the last ptacct file because it will not be complete. FILES /var/adm/acct/nite/active /var/adm/acct/nite/daytacct /var/adm/acct/nite/lastdate /var/adm/acct/nite/lock /var/adm/acct/nite/lock1 /var/adm/pacct* /var/adm/acct/nite/ptacct*.
rusersd(1M) rusersd(1M) NAME rusersd - network username server SYNOPSIS /usr/lib/netsvc/rusers/rpc.rusersd [-l log_file] [-e-n] DESCRIPTION rusersd is an RPC server that returns a list of users on the network. The rusers command prints this information (see rusers(1)). inetd invokes rusersd through /etc/inetd.conf (see inetd(1M)). Options rusersd recognizes the following options and command-line arguments: -l log_file Log any errors to the named log file, log_file.
rwall(1M) rwall(1M) NAME rwall - write to all users over a network SYNOPSIS /usr/sbin/rwall hostname ... /usr/sbin/rwall -n netgroup ... /usr/sbin/rwall -h host -n netgroup DESCRIPTION rwall reads a message from standard input until EOF, then sends the message, preceded by the line Broadcast Message ... , to all users logged in on the specified host machines. With the -n option, rwall sends the message to the specified network hosts defined in /etc/netgroup (see netgroup(4)).
rwalld(1M) rwalld(1M) NAME rwalld - network rwall server SYNOPSIS /usr/lib/netsvc/rwall/rpc.rwalld [-l log_file] [-e-n] DESCRIPTION rwalld is an RPC server that handles rwall requests (see rwall(1)). rwalld calls wall to send a message to all users logged into the host on which rwalld is running (see wall(1)). inetd invokes rwalld through /etc/inetd.conf (see inetd(1M)). Options rwalld recognizes the following options and command-line options: -l log_file Log any errors to log_file.
rwhod(1M) rwhod(1M) NAME rwhod - system status server SYNOPSIS /usr/sbin/rwhod [-s] [-r] DESCRIPTION rwhod is the server that maintains the database used by rwho and ruptime (see rwho(1) and ruptime(1)). rwhod sends status information to and receives status information from other nodes on the local network that are running rwhod . rwhod is started at system boot time if the RWHOD variable is set to 1 in the file /etc/rc.config.d/netdaemons.
rwhod(1M) rwhod(1M) AUTHOR rwhod was developed by the University of California, Berkeley. FILES /var/spool/rwho/whod.* Information about other machines. SEE ALSO rwho(1), ruptime(1), gethostname (2), services (4), utmp (4).
sa1(1M) sa1(1M) NAME sa1, sa2, sadc - system activity report package SYNOPSIS /usr/lbin/sa/sa1 [ t n ] /usr/lbin/sa/sa2 [-aAbcdLHmqtuvwy ] [-s time ] [-e time ] [-i sec ] /usr/lbin/sa/sadc [ t n ] [ ofile ] DESCRIPTION System activity data can be accessed at the special request of a user (see sar(1M)) and automatically on a routine basis as described here. The operating system contains a number of counters that are incremented as various system actions occur.
sa1(1M) sa1(1M) unsigned unsigned unsigned unsigned unsigned long long long long long phread; phwrite; swapin; swapout; bswapin; unsigned unsigned unsigned unsigned unsigned unsigned unsigned unsigned long long long long long long long long bswapout; pswitch; syscall; sysread; syswrite; sysfork; sysexec; runque; /* transfer via physical device mechanism */ /* number of swap transfers */ /* number of 512-bytes transferred * (for bswapin:include initial loading of * some programs */ /* process switch
sa1(1M) sa1(1M) FILES /tmp/sa. adrfl /var/adm/sa/sadd /var/adm/sa/sardd address file daily data file daily report file SEE ALSO timex(1), cron(1M), sar(1M), intro(7). 10.0 File System Layout White Paper on http://docs.hp.com.
sam(1M) sam(1M) (TO BE OBSOLETED) NAME sam - HP System Administration Manager (HP SAM) SYNOPSIS /usr/sbin/sam [ -f login | -r ] DESCRIPTION The sam command launches the HP System Management Homepage (HP SMH) program for performing system administration on the HP-UX operating system. HP SMH is an enhanced web-based program of HP System Administration Manager (HP SAM) in the HP-UX 11i V3 release. For more information, see smh(1M).
sam(1M) sam(1M) (TO BE OBSOLETED) samlog_viewer can filter the log file by user name, by time of log entry creation, and by level of detail. Functionality Obsolescence and Changes The following functional areas of the previous SAM interface have been removed, changed, or are planned to be obsolete in a future release of HP-UX. Alternate procedures are listed as appropriate. • Trusted systems is planned for obsolescence post HP-UX 11i V3 release. • Backup and Recovery.
sar(1M) sar(1M) NAME sar - system activity reporter SYNOPSIS sar [-aAbcdHLmMqPRStuvwy] [-p psetid ] [-o file ] t [ n ] sar [-aAbcdHLmMqPRStuvwy] [-p psetid ] [-s time ] [-e time ] [-i sec ] [-f file ] DESCRIPTION In the first form above, sar samples cumulative activity counters in the operating system at n intervals of t seconds. If the -o option is specified, it saves the samples in file in binary format. The default value of n is 1.
sar(1M) sar(1M) Logical name of the device and its corresponding instance. Devices are categorized into the following device types: device disk3 − SCSI and NIO FL disks sdisk − SCSI disks. -f %busy avque r+w/s Portion of time device was busy servicing a request. r/s Number of reads per second from the device. This information is available only when used with the -R option. w/s Number of writes per second to the device. This information is available only when used with the -R option.
sar(1M) -m sar(1M) w/s blks/s Number of writes per second to the lunpath. avwait Average time (in milliseconds) that transfer requests waited idly on queue for this lunpath. avserv Average time (in milliseconds) to service each transfer request (includes seek, rotational latency, and data transfer times) for this lunpath. Number of bytes transferred (in 512-byte units) from and to the LUN using this lunpath.
sar(1M) sar(1M) device %busy r/s w/s read write avserv -u -v s -w Number of reads per second from the device. Number of writes per second to the device. Number of bytes read (in MBs) from the device. Number of bytes written (in MBs) to the device. Average time (in milliseconds) to service each transfer request (includes seek, rotational latency, and data transfer times) for the device. pset pset id (only on a multi-processor pset configured system with the -P , -M and -u option).
sar(1M) sar(1M) Input characters per second processed by canon() . canch/s outch/s rcvin/s xmtin/s mdmin/s Output characters per second. Receive incoming character interrupts per second. Transmit outgoing character interrupts per second. Modem interrupt rate (not supported; always 0).
savecrash(1M) savecrash(1M) NAME savecrash - save a crash dump of the operating system SYNOPSIS /sbin/savecrash [-cflprvzZ ] [-D dumpdevice -O offset] [-d sysfile] [-m minfree] [-s chunksize] [-t tapedevice] [-w NOSWAP SWAPEACH SWAPEND ] [dirname] DESCRIPTION savecrash saves the crash dump information of the system (assuming one was made when the system crashed) and writes a reboot message in the shutdown log file.
savecrash(1M) savecrash(1M) -p Only preserves swap-endangered dump device contents into crash image files. Swap-endangered dump devices are those devices that are also configured as swap devices by the system. If all dump devices are configured as swap devices, the entire dump will be preserved in the crash directory. If no swap devices are used as dump devices (dedicated dump devices), only the INDEX file and kernel modules will be copied into the crash directory.
savecrash(1M) savecrash(1M) When dirname is specified with the -t option, dirname is the name of the existing directory where the INDEX file is created; the default directory is /tmp . The INDEX file is the first file that is written out to the dump tape. This file is written a second time once all the dump files have been written. The first copy of the file only contains crash dump header information and its filename on tape is tmpindex . It does not contain information for the module and image files.
scsictl(1M) scsictl(1M) NAME scsictl - control a SCSI device SYNOPSIS scsictl scsictl scsictl scsictl [-akq ] [-m mode[=value] ]... [-c command]... device -o ola_params arguments... -p pr_clear key device [-k] -t tgtid {-c command}... ctrl DESCRIPTION The scsictl command provides a mechanism for controlling a SCSI device. It can be used to query mode parameters, set configurable mode parameters, and perform SCSI commands.
scsictl(1M) scsictl(1M) reset_bus -k This command causes the system to generate a SCSI bus reset condition on the associated bus. A SCSI bus reset condition causes all devices on the bus to be reset (including clearing all active commands on all devices). Continue processing arguments even after an error is detected. The default behavior is to exit immediately when an error is detected. Command line syntax is always verified for correctness, regardless of the -k option.
scsictl(1M) scsictl(1M) separated by semicolon-blank (; ) or newline. -t tgtid ctrl Specify tgtid as the SCSI target parameter on which operation needs to be initiated. The valid range of tgtid value is between 0 and 15. In agile addressing the tgtid is the port_id returned by the command scsimgr get_info -H target_path. See intro(7) for information about agile addressing and scsimgr(1M).
scsictl(1M) scsictl(1M) DEPENDENCIES disc3 When the system is rebooted, the disc3 driver always resets the value of the immediate_report mode parameter to off . If ioctl() or scsictl is used to change the setting of immediate reporting on a SCSI device, the new value becomes the default setting upon subsequent configuration (for example, opens) of this device and retains its value across system or device powerfail recovery.
scsimgr(1M) scsimgr(1M) NAME scsimgr - SCSI management and diagnostic utility SYNOPSIS /usr/sbin/scsimgr [-fpv ] command [-d driver] [identifier] [keyword]... [argument]... /usr/sbin/scsimgr [-h] [-d driver] [command] DESCRIPTION scsimgr performs management and diagnostic operations on the SCSI objects and subsystems. SCSI objects are identified by either their hardware path, character Device Special File (DSF), or their class and instance number. These are typically visible in the output of ioscan(1M).
scsimgr(1M) scsimgr(1M) In general, change to current value of a per-object instance of a generic attribute takes effect immediately. For instance, if the I/O time out is changed for disk0, the new value will be used for the next I/O transfer to disk0. A given attribute can not necessary be set at all levels. Certain attributes can only be set at a global level. That is the case for attributes adjusting global resource usage. Other attributes can only be set at a per object instance level.
scsimgr(1M) scsimgr(1M) get_stat Displays statistics. inquiry Requests information on parameters of the target and a component LUN. lun_map Displays information about LUN paths of a LUN. lun_reset Resets a LUN. replace_leg_dsf Validates change of a LUN associated with a legacy DSF. replace_wwid save_attr set_attr set_devid sync_cache warm_bdr Validates the change of a LUN associated to a LUN path. Saves value persistently (across reboot) for attributes. Sets current values for attributes.
scsimgr(1M) scsimgr(1M) • ’/escsi/esdisk/0x0/HP /HP_*_’ : /ST336706LC All disk devices from HP with a vid of "ST336706LC with "HP". " and a rev starting Note: Only a few commands support legacy device special file of a LUN as SCSI object identifiers. See the command description to determine whether a command supports this identifier. keyword argument Provides additional information on the scope of the command. The following keywords are defined.
scsimgr(1M) scsimgr(1M) If an identifier or a keyword for a group of SCSI objects is specified, get_stat or clear_stat displays or clears generic statistics (in other words, statistics commonly defined for all class or interface drivers), respectively. It also displays or clears class and/or interface driver specific statistics if any, if the driver provides a scsimgr plug-in module. So there is no need to specify "-d driver" to display or clear driver specific statistics for SCSI objects.
scsimgr(1M) scsimgr(1M) scsimgr get_attr -N attr_scope For instance, if you add the scope corresponding to all disk devices from HP: ’/escsi/esdisk/0x0/HP ’, to list attributes which can be set at this level and their values, run the following command: scsimgr get_attr -N ’/escsi/esdisk/HP ’ settable For description of attributes, refer to the manpage of the scsimgr plug-in for the corresponding driver. disable /enable Disables/enables a SCSI object.
scsimgr(1M) scsimgr(1M) maintained by a class or interface driver, if any, refer to the manpage of the driver’s plug-in for scsimgr . See scsimgr_ (7), where is the name of the driver. For example, see scsimgr_esdisk(7). Usage: scsimgr [-v] get_attr [ identifier | all_lun | all_ctlr | all_ddr ] [current ] [default ] [saved ] [ nonsettable | settable | { -a attr...
scsimgr(1M) scsimgr(1M) scsimgr [-v] get_info { identifier all_lpt | all_tp } Note: identifier identifies a LUN, LUN path, target path, or SCSI HBA controller. get_stat inquiry See clear_stat above. Requests and displays information regarding parameters of the target and a component LUN including: standard inquiry data, vital product data and SCSI commands supported by the device server.
scsimgr(1M) scsimgr(1M) files with the new LUN. If all affected legacy DSFs are closed, it is not necessary to invoke replace_leg_dsf after invoking replace_wwid on corresponding LUN paths. Usage: scsimgr [-f] replace_leg_dsf identifier Note: identifier identifies a legacy Device Special File for the LUN, a LUN, or a target path. replace_wwid Validates the change of a LUN associated to a LUN path.
scsimgr(1M) scsimgr(1M) If no identifier or keyword for a group of SCSI objects is specified, attributes specified should be global generic attributes. If an identifier for a SCSI object is specified, attributes specified can be generic, class driver specific or interface driver specific attributes maintained for the SCSI object. So there is no need to specify option "-d driver" to save driver specific attribute for SCSI objects.
scsimgr(1M) scsimgr(1M) scsimgr sync_cache identifier Note: identifier identifies only a LUN. warm_bdr See cold_bdr above. Table: scsimgr Attributes This table lists the scsimgr generic attributes. Note: In this attribute description table, the following conventions are used: • RO is Read Only. • RW is Read Write. • Range of values for applicable attributes is listed.
scsimgr(1M) scsimgr(1M) serial_number vid pid firmware_rev protocol_rev total_path_cnt alias RO RO RO RO RO RO RO string string string string string uint32 string transient_secs RW uint32 leg_mpath_enable RW boolean max_q_depth RW uint32 lpt_lockdown RO string state protocol lunid class instance hw_path Target path state port_id protocol port_name RO RO RO RO RO RO RO RO RO RO node_name RO lpt_cnt RO class instance hw_path state device_file RO RO RO RO RO string string uint64 string
scsimgr(1M) scsimgr(1M) Class of the controller Instance of the controller Hardware path of the controller Total number of LUN paths for this controller Total number of target paths for this controller Controller port identifier SCSI transport protocol Controller port name (WWN) class instance hw_path lpt_cnt RO RO RO RO string uint32 string uint32 tp_cnt RO uint32 port_id protocol port_name RO RO RO driver_name RO driver_rev RO firmware_rev cur_speed max_speed capability RO RO RO RO uint64
scsimgr(1M) scsimgr(1M) >0 Error condition occurred. When an error condition occurs, scsimgr will display an error message specifying the nature and/or the cause of the error conditions. However, for operations supporting scriptable output (when the -p option is used), no errors will be printed if the error condition only affects one or more of the output fields. scsimgr will leave the affected field(s) empty and exit with a non-zero value.
scsimgr(1M) scsimgr(1M) scsimgr clear_stat -C fc -I 1 all_tp To get basic global status and information: scsimgr get_info To get global status information for driver esdisk : scsimgr -v get_info -d esdisk To get all status information of all the LUNs: scsimgr -v get_info all_lun To get basic status information for disk0 : scsimgr get_info -D /dev/rdisk/disk0 To get basic status information for all LUN paths of disk0 : scsimgr get_info -D /dev/rdisk/disk0 all_lpt To get all status information for the S
scsimgr(1M) scsimgr(1M) scsimgr get_attr -d esdisk -D /dev/rdisk/disk0 To set current values of attributes leg_mpath_enable and max_q_depth for disk0 : scsimgr set_attr -D /dev/rdisk/disk0 -a leg_mapth_enable=false \ -a max_q_depth=10 To save value of attribute leg_mpath_enable for disk0 : scsimgr save_attr -D /dev/rdisk/disk0 -a leg_mapth_enable=false To save default value of attribute leg_mpath_enable for disk0 : scsimgr save_attr -D /dev/rdisk/disk0 -a leg_mapth_enable=default To save default value of
scsimgr(1M) scsimgr(1M) scsimgr get_devid -C disk -I 7 To sync write data cache on LUN with DSF /dev/rdisk/disk47: scsimgr sync_cache -D /dev/rdisk/disk47 To forcefully pre-erase the medium of the magneto-optical device with hardware path 64000/0xfa00/0x6: scsimgr erase -H 64000/0xfa00/0x6 To display standard inquiry data for LUN with DSF /dev/rdisk/disk47: scsimgr inquiry -D /dev/rdisk/disk47 To display vital product data of page 83 of LUN disk23 : scsimgr inquiry -C disk -I 23 0x83 scsimgr
security_patch_check(1M) security_patch_check(1M) NAME security_patch_check - check security-bulletin compliance state of HP-UX 11.
security_patch_check(1M) security_patch_check(1M) will normally have more specific source information. Removal actions: Sometimes the only fix for software is to remove it. Generally, the security bulletin will recommend an upgrade path to another product with the same functionality.
security_patch_check(1M) security_patch_check(1M) lines, or after action identifiers. A bulletin identifier is in the same format as the "Bull" column in the human-readable output, with the bulletin number, optionally followed by "r" and the revision number of the bulletin. If the bulletin is revised, Security Patch Check will notify you again the next time you download an updated catalog, in case the revision affects you. The default file is $HOME/.spc_ignore.
security_patch_check(1M) security_patch_check(1M) By default security_patch_check will store the catalog in ./security_catalog, unless the -c option is used, in which case the catalog will be stored at the location specified by -c. If the url is specified, then the catalog must be in gzip format (must end in .gz ). For more retrieval configuration details refer to the SECURITY CATALOG RETRIEVAL section below. -s os-version Specify the OS version.
security_patch_check(1M) security_patch_check(1M) https_proxy=http://myproxy.mynet.com:8088 A web proxy generally uses the HTTP protocol (even for proxying HTTPS and FTP data). If you specify a URL on the command line and you wish to traverse a proxying firewall, then you must specify the proxy which corresponds to that URL. For example, set the http_proxy option if the URL begins with http:// .
security_patch_check(1M) security_patch_check(1M) EXAMPLES Get the latest security patch catalog, and then analyze the local system; print (the default) human-readable report. security_patch_check -r Get the latest security bulletin catalog, and then analyze localhost; write all output including warnings and errors to file report (using /usr/bin/sh ). This is useful for using security_patch_check in a cron job to execute nightly.
security_patch_check(1M) security_patch_check(1M) The https_proxy , http_proxy , or ftp_proxy variable must indicate a proxy that the script can use, if your network requires the use of a proxy. Use the appropriate proxy variable based on the protocol you are using to download the security catalog. If you are using the HTTPS protocol, then all the required trust store variables must be configured.
secweb(1M) secweb(1M) NAME secweb - invokes the HP-UX Security Attributes Configuration tool SYNOPSIS secweb [ -F ] [ -b ] secweb -t DESCRIPTION The HP-UX Security Attributes Configuration tool (secweb ) is used to view and configure system-wide and per-user (local users and NIS users) values of security attributes. It also gives information about account locks. The HP-UX Security Attributes Configuration tool provides both Web-based and terminal user interface.
secweb(1M) • secweb(1M) Launch the HP-UX Systems Insight Manager on the server and select the Security Attributes Configuration tool from Configure -> HP-UX Configuration menu. Online Help After the HP-UX Security Attributes Configuration tool is started, the online help provides details on how to use the tool.
sendmail(1M) sendmail(1M) NAME sendmail - send mail over the Internet SYNOPSIS /usr/sbin/sendmail [ mode ] [ flags ] [ address ... ] DESCRIPTION sendmail sends a message to one or more recipients or addresses and routes the message over whatever networks are necessary. sendmail does internetwork forwarding as necessary to deliver the message to the correct place. sendmail is not intended as a user interface routine. Other programs provide user-friendly front ends.
sendmail(1M) sendmail(1M) -bi Initialize the alias database for the mail aliases file. newaliases is identical to sendmail -bi . See newaliases(1M). -bm Deliver mail in the usual way (default). -bp Print a listing of the mail queue. mailq is identical to sendmail -bp . See mailq(1). -bs Use the SMTP protocol as described in RFC821 on standard input and output. This flag implies all the operations of the ba flag that are compatible with SMTP. -bt Run in address test mode.
sendmail(1M) -qp[time] sendmail(1M) h being hours, d being days, and w being weeks. For example, -q1h30m or -q90m would both set the timeout to one hour thirty minutes. If time is specified, sendmail will run in background. This option can be used safely with bd . Similar to -qtime except that instead of periodically forking a child to process the queue, sendmail forks a single persistent child for each queue that alternates between processing the queue and sleeping.
sendmail(1M) sendmail(1M) HoldExpensive On mailers that are considered ‘‘expensive’’ to connect to, do not initiate immediate connection. This requires queuing. CheckpointInterval=N Checkpoint the queue file after every N successful deliveries (default 10). This avoids excessive duplicate deliveries when sending to long mailing lists interrupted by system crashes. DeliveryMode= x Set the delivery mode to x. The delivery modes are: b d background (asynchronous) delivery.
sendmail(1M) sendmail(1M) QueueDirectory=queuedir Select the directory in which the messages are to be queued. StatusFile= file Use this option to save mail traffic statistics into the specified file. DeadLetterDrop Define the location of the system-wide dead.letter file. ConnectOnlyTo Override the connection address (for testing). TrustedUser Define trusted user for changing the file ownership and also for starting the daemon. ControlSocketName Set this option to create a daemon control socket.
sendmail(1M) sendmail(1M) ClientCertFile File containing the cert of the client; i.e., this cert is used when sendmail acts as a client. ClientKeyFile File containing the private key belonging to the client cert. DHParameters File containing the DH parameters. RandFile File containing random data (use prefix file: ) or the name of the UNIX socket if EGD is used (use prefix egd: ). Timeout.control Set this option to limit the total time spent in satisfying a control socket request. Timeout.resolver.
sendmail(1M) sendmail(1M) DefaultCharSet=charset Use this option to set the default character-set used to label 8-bit data that is not otherwise labeled. DialDelay= sleeptime If opening a connection fails, sleep for sleeptime seconds and try again. This is useful on dial-on-demand sites. NoRecipientAction=action Use this option to set the behaviour when there are no recipient headers (To:, Cc: or Bcc:) in a message to action.
sendmail(1M) sendmail(1M) LinkedMapInWritableDir LinkedServiceSwitchFileInWritableDir FileDeliveryToHardLink FileDeliveryToSymLink WriteMapToHardLink WriteMapToSymLink WriteStatsToHardLink WriteStatsToSymLink RunProgramInUnsafeDirPath RunWritableProgram DontInitGroups=True |False Set this option to true, to prevent program deliveries from picking up extra group privileges.
sendmail(1M) sendmail(1M) needmailhelo needexpnhelo noexpn needvrfyhelo novrfy restrictmailq restrictqrun noreceipts goaway authwarnings noverb noetrn Insist on HELO (or EHLO) before the MAIL command. Insist on HELO (or EHLO) before the EXPN command. Disallow EXPN command totally. Insist on HELO (or EHLO) before the VRFY command. Disallow VRFY command totally. Restrict mailq command. Restrict -q command-line flag. Do not return success DSN’s. Disallow essentially all SMTP status queries.
sendmail(1M) sendmail(1M) EXIT STATUS sendmail returns an exit status describing what it did. The codes are defined in : EX_OK Successful completion on all addresses. EX_NOUSER User name not recognized. EX_UNAVAILABLE Catchall meaning necessary resources were not available. EX_SYNTAX Syntax error in address. EX_SOFTWARE Internal software error, including bad arguments. EX_OSERR Temporary operating system error, such as ‘‘cannot fork’’ . EX_NOHOST Host name not recognized.
service.switch(1M) service.switch(1M) NAME service.switch - indicate lookup sources and fallback mechanism SYNOPSIS /etc/mail/service.switch DESCRIPTION /etc/mail/service.switch is a sendmail(1M) service switch similar to /etc/nsswitch.conf (see nsswitch.conf(4)) that indicates the lookup source for hostnames and aliases. It consists of two lines, one for hosts and one for aliases . The lookup sources are listed after the hosts or aliases name.
set_parms(1M) set_parms(1M) NAME set_parms - set system initial identity parameters: hostname, date/time, root password, and networking SYNOPSIS set_parms set_parms set_parms set_parms set_parms set_parms set_parms initial hostname timezone date_time ip_address addl_netwrk locale DESCRIPTION The set_parms command is an interactive system set-up command that allows you to specify various "initial identity parameters" when first booting a newly installed operating system (whether preinstalled, or install
set_parms(1M) set_parms(1M) (Domain Name Servers), etc. This higher level of configuration is handled later by broader configuration tools. WARNING: When changing the hostname, set_parms does not know about optionallyinstalled software. If any such software remembers the previous hostname, it might not work properly after the hostname is changed. A mechanism is provided that helps generalize the hostname changing function.
set_parms(1M) set_parms(1M) management of a DHCP lease. After set_parms completes this and other system set-up tasks, control passes back to /sbin/rc , which completes the boot-up sequence using the newly-created system initial identity parameters. See the rc(1M) manpage for information about /sbin/rc for invocation context in the first-boot case.
setboot(1M) setboot(1M) NAME setboot - display and modify boot variables in stable storage SYNOPSIS setboot [-p primary-path] [-h HA_alternate-path] [-a alternate-path] [-b on|off ] [-s on|off ] [-m on|off ] [-r] [-v] [-t testname =on |off |default ]... [-T testname =on off default ]... DESCRIPTION The setboot command displays and sets boot variables in stable storage (also known as nonvolatile memory). Any user can display the values; only a superuser can change them.
setboot(1M) Memory_init IO_HW Chipset setboot(1M) on|off on|off on|off on|off on|off on|off The Columns Test The keyword names of the tests that can be controlled by SpeedyBoot. See The Tests section below. Current The current enablement of each test. on means the test is normally executed on each boot. off means the test is normally omitted on each boot. partial means some of the subtests are normally executed on each boot.
setboot(1M) setboot(1M) IO_HW IO Hardware. When on, enables system firmware, or EFI drivers to perform all the tests of IO hardware (boot devices only). When off, do not. Supported only on Integrity platform. Chipset When on, enables Chipset tests. When off, does not enable Chipset tests. Supported only on Integrity platform.
setboot(1M) setboot(1M) section. The -s option is not supported on Integrity system architecture. -b onoff Enable or disable the autoboot sequence. The interpretation of Autoboot and Autosearch has changed for PA-RISC systems that support hardware partitions. Refer to the WARNINGS section. -m onoff Enable or disable hyperthreading. -m option is supported only on Integrity system architecture.
setboot(1M) setboot(1M) setboot can’t set the specified boot path. type may be primary , HA_alternate , or alternate . error accessing boot path - message The message explains why. For example, you may not have permission (not be superuser) to change parameters. error accessing firmware - message The firmware could not be read or written. The message explains why. Failed to retrieve lun token An error occurs when one of the boot paths is invalid (when running setboot -r or /sbin/init.d/setboot).
setboot(1M) setboot(1M) setboot -a /dev/disk/disk2 -b on setboot displays: Alternate boot path set to 0/0/0/3/0.0x6.0x0 (/dev/disk/disk2) 3. Display the boot paths, auto flags and hyperthreading: setboot on PA-RISC and Integrity system architecture displays: Primary bootpath : 0/0/0/3/0.0x5.0x0 (/dev/rdisk/disk3) HA Alternate bootpath : 0/0/0/3/0.0x6.0x0 (/dev/rdisk/disk2) Alternate bootpath : 0/0/0/3/0.0x6.
setboot(1M) setboot(1M) FASTBOOT on on Platform on on Full_memory on on Memory_init on on IO_HW off off Chipset on on Enable full_memory and PDH tests and have those tests executed on all subsequent reboots. setboot -t FASTBOOT=on 2. 3. Disable the late processor tests and have those tests skipped on all subsequent reboots. If early CPU tests are on when this command is executed, the SELFTESTS state in BCH stays on while setboot -v shows the state as partial . setboot -t late_cpu=off 4.
setboot(1M) off setboot(1M) on try next path. Skip the primary path and try alternate path. If the alternate paths are not configured to boot or fail, go to BCH. Additionally, systems with hardware partitions support a boot action for each path. However the boot action for the paths other than the primary path cannot be set using setboot. Instead, these must be set through the Boot Console Handler using the pf (path flags) command of the BCH Configuration menu.
setfilexsec(1M) setfilexsec(1M) NAME setfilexsec - set extended security attributes on a binary file SYNOPSIS setfilexsec -d filename setfilexsec -D absolutepath setfilexsec [-c compartmentname] [-f flags] [-p privs] [-P privs] [-r privs] [-R privs] filename DESCRIPTION setfilexsec sets various extended security attributes of binary files. The attributes currently include retained privileges, permitted privileges, compartment, and the privilege start flag.
setfilexsec(1M) setfilexsec(1M) Security Restrictions The caller must have the following authorization: hpux.security.xsec.filexsec.unrestricted —or— hpux.security.xsec.filexsec.restricted RETURN VALUE setfilexsec returns the following values: 0 Successful completion. The security attributes are updated successfully. >0 An error occurs. An error can be caused by an invalid option, an invalid argument, or insufficient permissions for the user to perform the operation.
setmemwindow(1M) setmemwindow(1M) NAME setmemwindow - change window ID of running program or start program in particular memory window SYNOPSIS setmemwindow [-bcfjnov ] [-i WinId] { -p pid | program [arg]... } DESCRIPTION setmemwindow is the command that changes the window ID of a running process or starts a specified program in a particular memory window. If the -p option is specified with a nonzero pid, only the process’s window ID is changed, and any value specified for program is ignored.
setmemwindow(1M) setmemwindow(1M) • A memory window with WinId could not be found in the attempt to join a memory window. • A memory window with the WinId was found in the attempt to create a memory window. The -f option instructs setmemwindow to execute program whether the desired memory window was set or not. Obviously, using this option there is no guarantee program has been attached to the desired memory window and it is unclear in what memory window it is running.
setmemwindow(1M) setmemwindow(1M) The /etc/services.window file maps a memory window application to a particular window ID. Using this central file allows applications to share memory windows, by using the same window ID, as well as avoid unintentional memory window collisions. See services.window(4) for more information. The getmemwindow command is used to extract the window ID of a user process from the /etc/services.window file. The setmemwindow command starts a particular process in a memory window.
setoncenv(1M) setoncenv(1M) NAME setoncenv - NFS environment configuration command SYNOPSIS /usr/sbin/setoncenv [-av ] variable value /usr/sbin/setoncenv -l [v] [subsystem|variable] /usr/sbin/setoncenv -r [v] variable [value] DESCRIPTION setoncenv initializes, displays, and removes the value of NFS configuration variables, found either in /etc/rc.config.d/nfsconf, /etc/rc.config.d/namesvrs, /etc/default/autofs, /etc/default/key, /etc/default/nfs, or /etc/default/nfslogd.
setoncenv(1M) setoncenv(1M) AUTOFS [0 | 1] Used to enable or disable the AutoFS service during system startup. Can only be 0 to disable the service or 1 to enable the service. This variable will be obsolete in a future release. AUTOMOUNT_OPTIONS [option_string] automount command The run time arguments for the /sbin/init.d/autofs. This variable will be obsolete in a future release.
setoncenv(1M) setoncenv(1M) LOCKD_RETRANSMIT_TIMEOUT [number] Retransmit timeout, in seconds, before rpc.lockd retries. The default is 5. LOCKD_SERVERS [number] Maximum number of concurrent rpc.lockd requests. The default value is 20. LOCKMGR [0 | 1] Used to enable or disable the klm service by /sbin/init.d/lockmgr. Value can either be 0 to disable the service or 1 to enable the service. This variable will be obsolete in a future release. STATD_OPTIONS [option_string] rpc.
setoncenv(1M) setoncenv(1M) NFS_SERVER [0 | 1] Used to enable or disable the NFS server service by /sbin/init.d/nfs.server. Can either be 0 to disable or 1 to enable the service. This variable will be obsolete in a future release. NFS_SERVER_DELEGATION [on | off ] The NFS server by default does not provide delegations to clients. Delegations can be turned on for all exported file systems by setting this variable to be on. This variable only applies to NFS Version 4.
setoncenv(1M) setoncenv(1M) nfs2_cots_timeo Controls the default RPC timeout for NFS version 2 mounted file systems using a connection-oriented transport. nfs2_do_symlink_cache Used to enable or disable the symbolic link cache for NFS version 2 mounted file systems. nfs2_dynamic Used to enable or disable dynamic retransmission for NFS version 2 mounted file systems. nfs2_lookup_neg_cache Used to enable or disable the negative name cache used for NFS version 2 mounted file systems.
setoncenv(1M) setoncenv(1M) when sequentially accessing a file. nfs3_pathconf_disable_cache Used to enable or disable the caching of pathconf information for NFS version 3 mounted file systems. nfs4_async_clusters Controls the mix of asynchronous requests for NFS version 4 clients. nfs4_bsize Controls the logical block size used by NFS version 4 clients. nfs4_cots_timeo Controls the default RPC timeout for NFS version 4 mounted file systems using a connection-oriented transport.
setoncenv(1M) setoncenv(1M) nfs_write_error_to_cons_only Used to enable or disable logging messages to both the system console and syslog . The setoncenv command recognizes the following configuration variable names for the NFS logging subsystem: CYCLE_FREQUENCY [number] Specifies how often, in hours, the log files are cycled. This variable is used to insure that the log files do not get too large.
setoncenv(1M) setoncenv(1M) YPSET_ADDR [string ] This sets the IP address of an NIS server that the client should bind to. This value is used by /sbin/init.d/nis.client. YPUPDATED_OPTIONS [option_string] The run time arguments for the rpc.ypupdated daemon used by /sbin/init.d/nis.server. YPXFRD_OPTIONS [option_string] ypxfrd daemon used by The run time arguments for the /sbin/init.d/nis.server.
setprivgrp(1M) setprivgrp(1M) NAME setprivgrp - set special privileges for groups SYNOPSIS setprivgrp setprivgrp setprivgrp setprivgrp groupname [privileges] -g [privileges] -n [privileges] -f file DESCRIPTION The setprivgrp command associates a group with a list of privileges, thus providing access to certain system capabilities for members of a particular group or groups. The privileges can be displayed with the getprivgrp command (see getprivgrp (1)).
setprivgrp(1M) PSET MPCTL setprivgrp(1M) Can change system pset configuration (see pset_create (2)). Can use mpctl() to change processor binding, locality domain binding or launch policy of a process (see mpctl(2)). Group Privileges File Format The file specified with the -f option should contain one or more lines in the following formats: groupname [privileges] -g [privileges] -n [privileges] They are described above in "Options and Arguments".
setrules(1M) setrules(1M) NAME setrules - set compartment rules SYNOPSIS setrules [-p] DESCRIPTION setrules takes the current rules files on the system and puts them into effect. Prior to using this command, changes in the rules files have no effect on the system. This command can only be used when compartmentalization is enabled (see cmpt_tune(1M)). Options setrules recognizes the following option: -p Preview the rules.
setrules(1M) setrules(1M) Error: "/etc/cmpt/iface.rules", line 10 # Undefined compartment "ooutside". Error: "/etc/cmpt/iface.rules", line 14 # Undefined compartment "cgi". SEE ALSO authadm(1M), cmpt_tune(1M), getrules(1M), compartments(4), compartments(5).
setuname(1M) setuname(1M) NAME setuname - change machine information SYNOPSIS setuname [-s name] [-n node] [-t] DESCRIPTION The setuname command is used to modify the value for system name and/or the node name by using the appropriate option(s). The setuname command attempts to change the parameter values in both the running kernel and the system configuration to cross reboots. A temporary change affects only the running kernel.
share(1M) share(1M) NAME share - make local resource available for mounting by remote systems SYNOPSIS /usr/sbin/share [-F FSType] [-o specific_options] [-d description] [pathname] DESCRIPTION The share command exports, or makes a resource available for mounting, through a remote file system of type FSType. If the option -F FSType is omitted, the first file system type listed in /etc/dfs/fstypes is used as default. For a description of NFS specific options, see share_nfs(1M).
share(1M) share(1M) AUTHOR share was developed by Sun Microsystems, Inc. SEE ALSO mountd(1M), nfsd(1M), share_nfs(1M), shareall(1M), unshare(1M), dfstab(4), fstypes(4), sharetab(4).
share_nfs(1M) share_nfs(1M) NAME share_nfs: share - make local NFS file systems available for mounting by remote systems SYNOPSIS /sbin/fs/nfs/share [-d description] [-F nfs ] [-o specific_options] pathname DESCRIPTION The share utility makes local file systems available for mounting by remote systems. If no argument is specified, then share displays all file systems currently shared, including NFS file systems and file systems shared through other distributed file system packages.
share_nfs(1M) share_nfs(1M) used if the file system shared is using UNIX authentication (AUTH_SYS ). rw Sharing will be read-write to all clients. This is the default behavior. rw= access_list Sharing will be read-mostly to clients in access_list . Read-mostly means read-write to those clients specified and read-only for all other systems. If sec= option is provided, sharing will be read-write to the clients listed in access_list ; overrides the ro suboption for the clients specified.
share_nfs(1M) share_nfs(1M) A single dot can be used to match a hostname with no suffix. For example, rw=. will match "mydomain" but not "mydomain.mycompany.com". This feature can be used to match hosts resolved through NIS rather than DNS and LDAP. network The network or subnet component is preceded by an at-sign (@). It can be either a name or a dotted address. If a name, it will be converted to a dotted address by getnetbyname(). For example, =@mynet would be equivalent to: =@129.144 or =@129.144.0.
share_nfs(1M) share_nfs(1M) clients using more secure modes get stronger access than clients using less secure modes. If rw= , and ro= options are specified in the same sec= clause, and a client is in both lists, the order of the two options determines the access the client gets.
share_nfs(1M) share_nfs(1M) SEE ALSO mount(1M), mountd(1M), nfsd(1M), nfslogd(1M), share(1M), unshare(1M), getnetbyname(3N), fstypes(4), netgroup(4), nfslog.conf(4), sharetab(4), nfssec(5).
shareall(1M) shareall(1M) NAME shareall, unshareall - share, unshare multiple resources SYNOPSIS /usr/sbin/shareall [-F FSType[,FSType ]...] [ - | file ] /usr/sbin/unshareall [-F FSType[,FSType ]...] DESCRIPTION When used with no arguments, shareall shares all resources from file , which contains a list of share command lines. If the operand is a hyphen (-), then the share command lines are obtained from the standard input.
showmount(1M) showmount(1M) NAME showmount - show all remote mounts SYNOPSIS /usr/sbin/showmount [-a] [-d] [-e] [ host ] DESCRIPTION showmount lists all clients that have remotely mounted a file system from host. This information is maintained by the mountd server on host (see mountd(1M)). The default value for host is the value returned by hostname (see hostname(1)).
shutdown(1M) shutdown(1M) NAME shutdown - terminate all processing SYNOPSIS /sbin/shutdown [-h-r] [-y] [-o] [grace] /sbin/shutdown -R [-H] [-y] [-o] [grace] DESCRIPTION The shutdown command is part of the HP-UX system operation procedures. Its primary function is to terminate all currently running processes in an orderly and cautious manner.
shutdown(1M) • shutdown(1M) • If the system is standalone, /sbin/rc is executed to shut down subsystems, unmount file systems, and perform other tasks to bring the system to run level 0. • If the system is a server, the optional -o argument is used to determine if all clients in the cluster should also be rebooted.
shutdown(1M) shutdown(1M) Authorization file. The file contains lines that consist of a system host name and the login name of a user who is authorized to reboot or halt the system. A superuser’s login name must be included in this file in order to execute shutdown . However, if the file is missing or of zero length, the root user can run the shutdown program to bring the system down.
sig_named(1M) sig_named(1M) (BIND 9.3) NAME sig_named - send signals to the domain name server SYNOPSIS sig_named [kill |restart ] DESCRIPTION sig_named sends the appropriate signal to the domain name server /usr/sbin/named. The process is obtained from /var/run/named.pid or from the ps command (see ps(1)) if /var/run/named.pid does not exist. ID Operands sig_named recognizes the following operands: kill Kill the name server process. restart Signal the name server to reload its database.
slpd(1M) slpd(1M) NAME slpd - Service Location Protocol (SLP) Daemon SYNOPSIS slpd [-c configuration_file] [-r registration_file] [-l log_file ] [-p pid_file] [-d] DESCRIPTION The slpd daemon provides the functionality of the Directory Agent and Service Agent for the Service Location Protocol ("SLP") version 2. SLP provides a scalable framework that allows the networking applications to discover the existence, location and configuration of networked services in the enterprise networks.
slpd(1M) slpd(1M) DIAGNOSTICS Any errors encountered by slpd in the registration or configuration file or in normal operation are logged in the log file, /var/adm/syslog/slpd.log, which is the default file. To change this log file, use the slpd -l log_file command. AUTHOR slpd was developed by the Caldera Systems, Inc. FILES /etc/slp.conf /etc/slp.reg /var/run/slpd.pid /var/adm/syslog/slpd.
slpdc(1M) slpdc(1M) NAME slpdc - send signals to the SLP daemon or starts slpd SYNOPSIS slpdc [start stop restart dump ] DESCRIPTION slpdc sends the appropriate signal to the SLP daemon or starts slpd /usr/sbin/slpd. The process ID is obtained from /var/run/slpd.pid or from the ps command if /var/run/slpd.pid does not exist (see ps(1)). Options slpdc recognizes the following command-line arguments: dump Sends the SIGINT signal to slpd and makes slpd dump its database.
slweb(1M) slweb(1M) NAME slweb - start the HP-UX hardware event viewer tool (a Web interface) SYNOPSIS /usr/sbin/diag/contrib/slweb [-h hostname ] [-F] /usr/sbin/diag/contrib/slweb -c /usr/sbin/diag/contrib/slweb -s {stop|startssl |status|restart} DESCRIPTION The HP-UX hardware event viewer tool (slweb ) can be used to display hardware events from log files or raw hexadecimal word pairs. The slweb command starts the user interface.
slweb(1M) slweb(1M) Security Certificates slweb will generate an SSL certificate authority and use that to sign a generated SSL certificate. Because this certificate is self signed, your web browser will probably prompt you to see if you want to accept this certificate before it connects to the HP-UX hardware event viewer application.
smh(1M) smh(1M) NAME smh - HP System Management Homepage (HP SMH) SYNOPSIS /usr/sbin/smh [ -F | -w | -r ] DESCRIPTION The smh command launches HP System Management Homepage (HP SMH) for performing system administration on an HP-UX system. HP SMH is an enhanced version of HP System Administration Manager (HP SAM). HP SMH provides web-based graphical user interface (GUI), terminal user interface (TUI), and command line interface (CLI). You can access these interfaces using the smh command.
smh(1M) smh(1M) SEE ALSO samlog_viewer(1), fsweb(1M), hpsmh(1M), kcweb(1M), ncweb(1M), parmgr(1M), pdweb(1M), sam(1M), secweb(1M), smhstartconfig(1M), ugweb(1M), intro(7), evweb(9). HP SMH White Paper available on http://www.docs.hp.com.
smhstartconfig(1M) smhstartconfig(1M) NAME smhstartconfig - configures the startup mode of the HPSMH server and of the Tomcat instance used by HPSMH SYNOPSIS /opt/hpsmh/bin/smhstartconfig [-a {on|off } | -b {on|off }] [-t {on|off }] DESCRIPTION The smhstartconfig script is used to configure the startup mode of the HPSMH server and of the Tomcat instance used by HPSMH. If no options are specified, smhstartconfig displays the current configuration.
smrsh(1M) smrsh(1M) NAME smrsh - restricted shell for sendmail SYNOPSIS smrsh -c command DESCRIPTION The smrsh program is intended as a replacement for sh for use in the prog mailer in sendmail configuration files. It sharply limits the commands that can be run using the |program syntax of sendmail in order to improve the overall security of your system.
snmpd(1M) snmpd(1M) NAME snmpd, snmpdm - Simple Network Management Protocol (SNMP) Process SYNOPSIS /usr/sbin/snmpd [ -a ] [ -authfail ] [ -C contact ] [ -Contact contact ] [ -h ] [ -help ] [ -L location ] [ -Location location ] [ -l logfile ] [ -logfile logfile ] [ -m logmask ] [ -mask logmask ] [ -n ] [ -P portnum ] [ -Port portnum ] [ -sys description ] [ -sysDescr description ] /usr/sbin/snmpd [ -e extendFile ] /usr/sbin/snmpdm [ -apall ] [ -aperror ] [ -aptrace ] [ -apwarn ] [ -a ] [ -authfail ] [ -
snmpd(1M) snmpd(1M) -logfile logfile -l logfile Use the logfile for logging rather than the default logfile, /var/adm/snmpd.log. A value of - will direct logging to stdout . -log_format value The value can be 0 or 1. 0 means use traditional logging format for /var/adm/snmpd.log file. 1 means use new logging format. The new logging format gives the Log level, Timestamp, Program Name, File name, Line Number and message in separate lines. -mask logmask -m logmask Sets the initial logging mask to logmask.
snmpd(1M) snmpd(1M) linkUp Sends a linkUp trap when an interface comes up. authenticationFailure Sends an authenticationFailure trap when an SNMP request is sent to the SNMPR agent with a community name that does not match the community names specified in /etc/SnmpAgent.d/snmpd.conf. The Master Agent (snmpdm ) and the IPv6 subAgent (ipv6agt ) collaborate to send the following SNMP traps: linkDown linkUp Sends a linkDown trap when an IPv6 interface goes down.
snmpd(1M) snmpd(1M) It also includes the subagents /usr/sbin/trapdestagt and /usr/sbin/naaagt. The trapdestagt supports the MIB variables used for updating the trapdest entries in snmpd.conf file. For details on the naaagt subagent please refer to naaagt man page. The MIB-2 subAgent supports most of the objects in RFC1213 . The EGP group is not supported. The HP-UX subAgent supports most of the objects in the HP-UX MIB.
snmpd(1M) snmpd(1M) /sbin/init.d/SnmpMib2 invokes /usr/sbin/mib2agt /sbin/rc /sbin/rc2.d/s565SnmpHpunix /sbin/init.d/SnmpHpunix invokes invokes invokes /sbin/rc2.d/s565SnmpHpunix /sbin/init.d/SnmpHpunix /usr/sbin/hp_unixagt /sbin/rc /sbin/rc2.d/s565SnmpTrpDst /sbin/init.d/SnmpTrpDst invokes invokes invokes /sbin/rc2.d/s565SnmpTrpDst /sbin/init.d/SnmpTrpDst /usr/sbin/trapdestagt HP-UX 11i Version 1 (with IPv6 depot installed) /sbin/rc invokes /sbin/rc2.d/S560SnmpMaster invokes /sbin/init.
snmpd(1M) snmpd(1M) Objects that return Null values (Solaris only): • ifInNUcastPkts ifInDiscards ifOutNUcastPkts ifOutDiscards Objects that return noSuchName errors (Solaris only): • ifLastChange ifInOctets ifInUnknownProtos ifOutOctets • ipInReceives ipInAddrErrors ipForwDatagrams ipInUnknownProtos ipInDiscards ipInDelivers ipOutRequests ipOutDiscards ipOutNoRoutes ipReasmTimeout ipReasmReqds ipReasmOKs ipReasmFails ipFragOKs ipFragFails ipFragCreates ipAdEntReasmMaxSize ipRouteAge ipRoutingDiscards •
snmpd(1M) snmpd(1M) The environment variables specific to the master agent snmpdm are as below: Environment Variables SNMP_LOG_SIZE Exporting this variable to >= 1MB restricts the size of the snmp log file. When the size grows beyond the value exported, the log file rolls over. SR_SNMP_TEST_PORT This variable can be exported to change the default port on which snmpdm listens. SR_TRAP_TEST_PORT This variable can be exported to change the default port to which snmpdm sends traps.
softpower(1M) softpower(1M) NAME softpower - determine if softpower hardware is installed on the system SYNOPSIS /sbin/softpower DESCRIPTION The softpower command determines whether a software controlled power switch is installed on the system. RETURN VALUE softpower returns the following values: 0 Softpower hardware detected on the system. 1 Softpower hardware was not detected on the system.
spray(1M) spray(1M) NAME spray - spray packets SYNOPSIS /usr/sbin/spray [-c count ] [-d delay ] [-l length ] [-t nettype ] host DESCRIPTION spray sends a one-way stream of packets to host using RPC, then reports how many were received by host and what the transfer rate was. The host name can be either a name or an internet address. spray is not useful as a networking benchmark, as it uses unreliable connectionless transports, UDP, for example.
sprayd(1M) sprayd(1M) NAME rpc.sprayd, sprayd - spray server SYNOPSIS /usr/lib/netsvc/spray/rpc.sprayd [-l log_file ] [-e-n] DESCRIPTION sprayd is an RPC server that records the packets sent by spray from another system (see spray(1M)). sprayd daemon may be started by inetd or through the command line. The service provided by sprayd is not useful as a networking benchmark as it uses unreliable connectionless transports, UDP, for example.
st(1M) st(1M) NAME st - shared tape administration SYNOPSIS st -f device_file [-r] [-s] DESCRIPTION The st command provides users with a command-line interface to check the status of a shared tape device or to reclaim a shared tape device from a host system that has failed while holding a reservation on the shared tape device. The st command can also be used for the same purpose on shared library robotic devices. To use the st command you must have root user id. Please see examples below for usage.
statd(1M) statd(1M) NAME statd, rpc.statd - network status monitor SYNOPSIS /usr/sbin/rpc.statd DESCRIPTION statd is an RPC server. It interacts with lockd to provide the crash and recovery functions for the locking services on NFS (see lockd(1M)). statd keeps track of the clients with processes which hold locks on a server. When the server reboots after a crash, statd sends a message to the statd on each client indicating that the server has rebooted.
strace(1M) strace(1M) NAME strace - write STREAMS event trace messages to standard output SYNOPSIS strace [ mod sub pri ] ... DESCRIPTION strace gets STREAMS event trace messages from STREAMS drivers and modules via the STREAMS log driver (strlog(7) ), and writes these messages to standard output. By default, strace without arguments writes all STREAMS trace messages from all drivers and modules. strace with command-line arguments limits the trace messages received.
strace(1M) strace strace(1M) 28 2 0 28 3 0 28 4 1 WARNINGS Running strace with several sets of arguments can impair STREAMS performance, particularly for those modules and drivers that are sending the messages. Also be aware that strace may not be able to handle a large number of messages. If drivers and modules return messages to strace too quickly, some may be lost. FILES /usr/lib/nls/msg/C/strace.cat NLS catalog for strace . SEE ALSO strclean(1M), strerr(1M), strlog(7).
strchg(1M) strchg(1M) NAME strchg, strconf - change or query stream configuration SYNOPSIS strchg -h module1[, module2]... strchg -p [ -a-u module] strchg -f file strconf strconf -t strconf -m module DESCRIPTION The strchg and strconf commands are used to change or query the configuration of the stream associated with the user’s standard input. The strchg command pushes modules on and/or pops modules off the stream. The strconf command queries the configuration of the stream.
strchg(1M) strchg(1M) DIAGNOSTICS strchg returns zero on success. It prints an error message and returns non-zero status for various error conditions, including usage error, bad module name, too many modules to push, failure of an ioctl on the stream, or failure to open file from the -f option. strconf returns zero on success (for the -m or -t option, "success" means the named or topmost module is present). It returns a non-zero status if invoked with the -m or -t option and the module is not present.
strclean(1M) strclean(1M) NAME strclean - remove outdated STREAMS error log files SYNOPSIS strclean [-d logdir ] [-a age ] DESCRIPTION strclean cleans the STREAMS error logger directory of log files (error. mm-dd) that contain error messages sent by the STREAMS log driver, strlog(7). If the -d option is not used to specify another directory, strclean removes error log files in the /var/adm/streams directory.
strerr(1M) strerr(1M) NAME strerr - receive error messages from the STREAMS log driver SYNOPSIS strerr [-a sys_admin_mail_name ] [-d logdir ] DESCRIPTION strerr receives error messages from the STREAMS log driver (strlog(7)) for addition to the STREAMS error log files (error. mm-dd) in the STREAMS error logger directory (/var/adm/streams by default). When first called, strerr creates the log file error. mm-dd.
strvf(1M) strvf(1M) NAME strvf - STREAMS verification tool SYNOPSIS strvf [-v] DESCRIPTION strvf executes a series of subcommands that verify whether or not STREAMS is currently installed and configured on your system. All output is sent to stdout . Verbose output is always sent to the logfile /var/adm/streams/strvf.log. These subcommands make sure that the STREAMS kernel daemons are running and that open() , putmsg() , getmsg() , ioctl() , and close() can be performed on /dev/echo .
swacl(1M) swacl(1M) NAME swacl - view or modify the Access Control Lists (ACLs) which protect software products SYNOPSIS swacl -l level [-D acl_entry | -F acl_file | -M acl_entry ] [-f software_file ] [-t target_file ] [-x option=value ] [-X option_file ] [software_selections] [@ target_selections] Remarks • This command supports operations on remote systems. See the Remote Operation section below for details. • Type man 5 sd to display sd(5) for an overview of all SD commands.
swacl(1M) swacl(1M) NOTE: You can also set up remote access by using swacl directly on the remote machines to grant root or non-root access to users from the controller system. Options If the -D, -F, or -M option is not specified, swacl prints the requested ACL(s) to the standard output. The swacl command supports the following options: -D acl_entry Deletes an existing entry from the ACL associated with the specified object(s). For this option, the permission field of the ACL entry is not required.
swacl(1M) swacl(1M) You can specify only one of the -D, -F , or -M options at each invocation of swacl . Operands Most SD commands support two types of operands: software selections followed by target selections. These operands are separated by the "at" (@) character. This syntax implies that the command operates on "software selections at targets".
swacl(1M) swacl(1M) [command_name.]option=value The optional command_name prefix denotes one of the SD commands. Using the prefix limits the change in the default value to that command. If you leave the prefix off, the change applies to all commands. You can also override default values from the command line with the -x or -X options: command -x option =value command -X option_file The following section lists all of the keywords supported by the swacl command.
swacl(1M) swacl(1M) rpc_binding_info=ncacn_ip_tcp:[2121] ncadg_ip_udp:[2121] Defines the protocol sequence(s) and endpoint(s) on which the daemon listens and which the other commands use to contact the daemon. If the connection fails for one protocol sequence, the next is attempted. SD supports both the tcp (ncacn_ip_tcp:[2121]) and udp (ncadg_ip_udp:[2121]) protocol sequence on most platforms. rpc_timeout=5 Relative length of the communications timeout.
swacl(1M) swacl(1M) LANG=ja_JP.eucJP to make the agent and daemon log messages display in Japanese. LC_ALL Determines the locale used to override any values for locale categories specified by the settings of LANG or any environment variables beginning with LC_ . LC_CTYPE Determines the interpretation of sequences of bytes of text data as characters (e.g., single-versus multibyte characters in values for vendor-defined attributes). LC_MESSAGES Determines the language in which messages are written.
swacl(1M) swacl(1M) r ead Grants permission to read the object. On host , depot , or root objects, read permission allows swlist operations. On products within depots, read permission allows product files to be installed or copied with swinstall or swcopy . w rite Grants permission to modify the object itself. • On a root object (e.g. installed root filesystem), this also grants permission to modify the products installed (contained) within it.
swacl(1M) swacl(1M) RETURN VALUE The swacl command returns: 0 1 2 The software_selections and/or target_selections were successfully displayed or modified. The display/modify operation failed on all target_selections. The modify/modify operation failed on some target_selections. DIAGNOSTICS The swacl command writes to stdout, stderr, and to the daemon logfile. Standard Output The swacl command prints ACL information to stdout when the user requests an ACL listing.
swacl(1M) swacl(1M) user:ramon:-r--t group:swadm:crwit other:-r--t host:lehi.fc.hp.
swacl(1M) swacl(1M) swacl -l depot -M user:steve:- -M user:george:- \ @ newdist:/var/spool/sw To delete entries for local user rick from all products in the default local depot: swacl -l product -D user:rick \* WARNINGS • You can edit an ACL in such a way that it will leave a system inaccessible. Do not remove all control permissions on an ACL. (Note, however, that the local super-user can always edit SD ACLs, regardless of permissions.) • ACLs can grant the equivalent of local superuser permission.
swagentd(1M) swagentd(1M) NAME swagent, swagentd - serve local or remote SD software management tasks; daemon that invokes swagent SYNOPSIS swagent executed by swagentd only. swagentd [-k] [-n] [-r] [-x option=value ] [-X option_file ] Remarks • This command supports operation on remote systems. See Remote Operation below. • For an overview of all SD commands, see the sd(5) man page by typing man 5 sd on the command line.
swagentd(1M) swagentd(1M) -k The kill option stops the currently running daemon. Stopping the daemon will not stop any agent processes currently performing management tasks (such as installing or removing software), but will cause any subsequent management requests to this host to be refused. This option is equivalent to sending a SIGTERM to the daemon that is running. -n The no fork option runs the daemon as a synchronous process rather than the default behavior of forking to run it asynchronously.
swagentd(1M) swagentd(1M) Agent Options These options apply only to the agent, swagent . You cannot set these options directly from the command line. To set agent options, you must edit the system-wide defaults file. See the Default Options heading above for instructions.
swagentd(1M) swagentd(1M) mount_cmd=/sbin/mount Defines the command called by the agent to mount all file systems. reboot_cmd=/sbin/reboot Defines the command called by the agent to reboot the system after all filesets have been loaded, if any of the filesets required reboot. remove_setup_cmd=/usr/lbin/sw/remove_setup Defines the script called by the agent to perform release-specific remove preparation. For an OS update, this script will invoke the tlink command when a fileset is removed.
swagentd(1M) swagentd(1M) LANG=ja_JP.eucJP to make the agent and daemon log messages display in Japanese. LC_ALL Determines the locale to be used to override any values for locale categories specified by the settings of LANG or any environment variables beginning with LC_ . LC_CTYPE Determines the interpretation of sequences of bytes of text data as characters (e.g., single-versus multibyte characters in values for vendor-defined attributes).
swagentd(1M) swagentd(1M) When operating on software depots, the swagent logs messages to the file swagent.log beneath the depot directory (e.g. /var/spool/sw). When accessing a read-only software depot (for example, as a source), the swagent logs messages to the file /tmp/swagent.log. EXAMPLES To start the daemon: /usr/sbin/swagentd To restart the daemon: /usr/sbin/swagentd -r To stop the daemon: /usr/sbin/swagentd -k FILES /usr/lib/sw/sys.
swapinfo(1M) swapinfo(1M) NAME swapinfo - system paging space information SYNOPSIS /usr/sbin/swapinfo [-mtadfnrMqws ] DESCRIPTION swapinfo prints information about device and file system paging space. mation about primary paging device for next boot. swapinfo also prints infor- (Note: the term ‘swap’ refers to an obsolete implementation of virtual memory; HP-UX actually implements virtual memory by way of paging rather than swapping.
swapinfo(1M) swapinfo(1M) PCT USED The percentage of capacity in use, based on Kb USED divided by Kb AVAIL; 100% if Kb AVAIL is zero. START/LIMIT For device paging areas, START is the block address on the mass storage device of the start of the paging area. The value is normally 0 for devices dedicated to paging, or the end of the file system for devices containing both a file system and paging space.
swapinfo(1M) swapinfo(1M) When a process is created, or requests additional space, space is reserved for it by increasing the space shown on the reserve line above. When paging activity actually occurs, space is used in one of the paging areas (the one with the lowest priority number that has free space available, already allocated), and that space will be shown as used in that area.
swapinfo(1M) swapinfo(1M) -f Print information about file system paging areas only. This modifies the output header appropriately. -n Categorize file system paging area information into localfs areas and network areas, instead of calling them both fs areas. -r Print information about reserved paging space only. -M Print information about memory paging space only. The -d, -f, -n, -r and -M options can be combined. The default is -dfnrM . -q Quiet mode.
swapon(1M) swapon(1M) NAME swapon - enable device or file system for paging SYNOPSIS Form 1: Enable all defined swap areas /usr/sbin/swapon -a [-u] [-t type]... Form 2: Enable paging on specified block devices (for the current boot) /usr/sbin/swapon [-e -f] [-p priority] [-u] device ...
swapon(1M) swapon(1M) system dump information (see savecrash(1M)). The -u option can be used to forcibly enable paging to devices being used by the savecrash command; however, this may overwrite system dump information contained on the device. In Form 4, the -R option unconfigures the block device that was previously defined as the primary paging area for subsequent boots (see -s option). The last two forms of swapon provide methods for enabling file systems for paging. Form 5 is the preferred method.
swapon(1M) swapon(1M) subsequent boots; therefore, -L must be used in conjunction with the -s option. -m min min indicates the space the paging system will initially take from the file system. The value of min is rounded up so that it is a multiple of the paging allocation chunk size, which is set with the kernel tunable parameter swchunk (see swchunk(5), kctune(1M), and swapinfo(1M)). The default value for min is 0, indicating no paging space is to be allocated initially.
swapon(1M) swapon(1M) This example enables paging to two block devices and sets the priority of both devices to 0. /usr/sbin/swapon -p 0 /dev/dsk/c10t0d0 /dev/dsk/c13t0d0 This example enables paging to a block device, using the space after the end of the file system for paging and letting the priority default to 1. /usr/sbin/swapon -e /dev/dsk/c4t0d0 This example enables paging to a block device, forcing paging even if a file system exists on the device.
swask(1M) swask(1M) NAME swask - ask for user response SYNOPSIS swask [-v] [-c catalog ] [-C session_file ] [-f software_file ] [-J jobid ] [-Q date ] [-s source ] [-S session_file ] [-t target_file ] [-x option=value ] [-X options_file ] [ software_selections ] [@ target_selections] Remarks • This command supports operation on remote systems. See Remote Operation below. • For an overview of all SD commands, see the sd(5) man page by typing man 5 sd on the command line.
swask(1M) swask(1M) $HOME/.sw/sessions/. You can recall a session file with the -S option. -f software_file Reads the list of software_selections from software_file instead of (or in addition to) the command line. -s source Specifies the source depot (or tape) from which software is selected for the ask operation. (SD can read both tar and cpio tape depots.) -S session_file Executes swask based on the options and operands saved from a previous session, as defined in session_file.
swask(1M) swask(1M) • All version components are repeatable within a single specification (e.g. r>=AA.12 , r
swask(1M) swask(1M) ask=true Executes the request script, if one is associated with the selected software, and stores the user response in a file named response . If ask=as_needed, the swask command first determines if a response file already exists in the catalog and executes the request script only when a response file is absent. autoselect_dependencies=true Controls the automatic selection of prerequisite and corequisite software that is not explicitly selected by the user.
swask(1M) swask(1M) logfile=/var/adm/sw/swask.log Defines the default log file for swask . loglevel=1 Controls the log level for the events logged to the command logfile and the target agent logfile. A value of 0 provides no information to the logfile. 1 enables verbose logging of key events to the log files. 2 enables very verbose logging, including per-file messages, to the log files. patch_filter=*.
swask(1M) swask(1M) Environment Variables The environment variables that affect the swask command are: LANG Determines the language in which messages are displayed. If LANG is not specified or is set to the empty string, a default value of C is used. See lang(5) for more information. NOTE: The language in which the SD agent and daemon log messages are displayed is set by the system configuration variable script, /etc/rc.config.d/LANG. For example, /etc/rc.config.d/LANG, must be set to LANG=ja_JP.
swask(1M) swask(1M) made available to other scripts, the targets option contains software_collection_spec for the targets on which the script is being executed. the single SW_SOFTWARE_SPEC This variable contains the fully qualified software specification of the current product or fileset. The software specification allows the product or fileset to be uniquely identified.
swask(1M) swask(1M) /usr/lib/sw/sys.defaults Contains the master list of current SD options, with their default values, for documentation purposes only. /var/adm/sw/ The directory which contains all of the configurable (and non-configurable) data for SD. This directory is also the default location of log files. /var/adm/sw/defaults Contains the active system-wide default values for some or all SD options.
swconfig(1M) swconfig(1M) NAME swconfig - configure, unconfigure, or reconfigure installed software SYNOPSIS swconfig [-p] [-u] [-v] [-c catalog ] [-C session_file ] [-f software_file ] [-J jobid ] [-Q date ] [-S session_file ] [-t target_file ] [-x option=value ] [-X option_file ] [software_selections] [@ target_selections] Remarks • This command supports operation on remote systems. See Remote Operation below. • swconfig can perform limited interactive operations. See Interactive Operation below.
swconfig(1M) • 2) swconfig(1M) If remote system is older than 11.00 or for some other reason does not have setaccess in place, copy setaccess script from an 11.11 or higher system to the remote system. swinstall , swcopy , and swremove have enhanced GUI interfaces for remote operations. Enable the enhanced GUIs by creating the .sdkey file on the controller. Use this command: touch /var/adm/sw/.
swconfig(1M) swconfig(1M) bundle[.product[.subproduct][.fileset]][,version ] product[.subproduct][.fileset][,version ] • The = (equals) relational operator lets you specify selections with the following shell wildcard and pattern-matching notations: • Bundles and subproducts are recursive. Bundles can contain other bundles and subproducts can contain other subproducts. • The \* software specification selects all products. Use this specification with caution.
swconfig(1M) swconfig(1M) EXTERNAL INFLUENCES Default Options In addition to the standard options, several SD behaviors and policy options can be changed by editing the default values found in: /var/adm/sw/defaults the system-wide default values. $HOME/.swdefaults the user-specific default values. Values must be specified in the defaults file using this syntax: [command_name.]option=value The optional command_name prefix denotes one of the SD commands.
swconfig(1M) swconfig(1M) defined for each selected product.) If set to true , target compatibility is not enforced. allow_multiple_versions=false Prevents the configuration of another, independent version of a product when a version already is configured at the target. If set to true , another version of an existing product can be configured in its new location. Multiple versions can only be installed if a product is locatable. Multiple configured versions will not work unless the product supports it.
swconfig(1M) swconfig(1M) The swconfig , command will not proceed unless the dependencies have also been selected or already exist at the target in the correct state (INSTALLED or CONFIGURED). This prevents unusable software from being configured on the system. If set to false , dependencies will still be checked, but not enforced. Corequisite dependencies, if not enforced, may keep the selected software from working properly.
swconfig(1M) swconfig(1M) 1 enables verbose logging to the logfiles. 2 enables very verbose logging to the logfiles. mount_all_filesystems=true By default, the swconfig command attempts to automatically mount all filesystems in the /etc/fstab file at the beginning of the analysis phase, to ensure that all listed filesystems are mounted before proceeding. This policy helps to ensure that files are not loaded into a directory that may be below a future mount point.
swconfig(1M) swconfig(1M) write_remote_files=false Prevents the configuring of files on a target which exists on a remote (NFS) filesystem. All files on a remote filesystem will be skipped. If set to true and if the superuser has write permission on the remote filesystem, the remote files will not be skipped, but will be configured. Session File Each invocation of the swconfig command defines a configuration session.
swconfig(1M) swconfig(1M) directory, or a directory within in the Installed Products Database (IPD). This variable tells scripts where other control scripts for the software are located (e.g. subscripts). SW_CONTROL_TAG Holds the tag name of the control_file being executed. When packaging software, you can define a physical name and path for a control file in a depot.
swconfig(1M) swconfig(1M) DIAGNOSTICS The swconfig command writes to stdout, stderr, and to specific logfiles. Standard Output The swconfig command writes messages for significant events. These include: • • a begin and end session message, selection, analysis, and execution task messages for each target_selection. Standard Error The swconfig command also writes messages for all WARNING and ERROR conditions to stderr.
swconfig(1M) swconfig(1M) /usr/lib/sw/sys.defaults Contains the master list of current SD options with their default values. /var/adm/sw/ The directory which contains all configurable and non-configurable data for SD software management commands. This directory is also the default location of logfiles. /var/adm/sw/defaults Contains the active system-wide default values for some or all SD software management command options. /var/adm/sw/getdate.
swgettools(1M) swgettools(1M) NAME swgettools - Utility for retrieving the SD product from new SD media in preparation for an OS update. SYNOPSIS swgettools [-s source][-t temp_directory_path] DESCRIPTION The swgettools command updates or reinstalls the latest SD commands (SW-DIST product) to your system from media or a depot. The new SD commands are needed to install updated releases of HP-UX. Prerequisites • The swgettools script needs a temporary directory with at least 2 MB of free space.
swgettools(1M) swgettools(1M) Options The swgettools command supports the following options: -s source Specifies the path for the source media. Possible locations are: a local directory that is an SD depot, a character-special tape device file connected to a tape drive that has an SD media tape loaded, a CD-ROM mount point that has an SD media CD-ROM loaded, or a remote machine and depot combination. The default source type is directory.
swinstall(1M) swinstall(1M) NAME swinstall, swcopy - install and configure software products; software products for subsequent installation or distribution; respectively SYNOPSIS swinstall [XToolkit Options] [-i] [-p] [-r] [-v] [-c catalog ] [-C session_file ] [-f software_file] [-J jobid ] [-Q date ] [-s source ] [-S session_file ] [-t target_file ] [-x option=value ] [-X option_file ] [software_selections] [@ target_selections] swcopy [XToolkit Options] [-i] [-p] [-v] [-C session_file ] [-f software_fi
swinstall(1M) swinstall(1M) or swcopy on the command line (without any command-line options). You can also invoke the GUI by including the -i option with any other command-line options. The sd command provides an interactive interface for monitoring and scheduling software jobs. You can also use sd to invoke the swinstall , copy , and swremove GUIs. If you have enabled SD’s remote operations features, swinstall , swcopy , and swremove provide enhanced GUIs to support operations on remote targets.
swinstall(1M) swinstall(1M) request a script that asks the user questions and stores responses in a response file. The response file can then be used by configuration or other scripts. checkinstall a script executed during the analysis of a target_selection, it checks that the installation can be attempted. If this check fails, the software product is not installed. preinstall postinstall configure a script executed immediately before the software’s files are installed.
swinstall(1M) • swinstall(1M) Both the swinstall and swcopy commands perform various checks prior to installing or copying the software_selections, for example disk space analysis. Options swinstall and swcopy support the following options: XToolKit Options The swinstall and swcopy commands support a subset of the standard X Toolkit options to control the appearance of the GUI. The supported options are: -bg , -background , -fg, -foreground , -display , -name , -xrm , and -synchronous .
swinstall(1M) swinstall(1M) [host][:][/directory] A host may be specified by its host name, domain name, or Internet address. A directory must be specified by an absolute path. -S session_file Execute swinstall or swcopy based on the options and operands saved from a previous session, as defined in session_file. You can save session information from a command-line session with the -C session_file option.
swinstall(1M) swinstall(1M) For example, r>=B.10.00 chooses all revisions greater than or equal to B.10.00 . The system compares each dot-separated field to find matches. • The = (equals) relational operator lets you specify selections with the shell wildcard and patternmatching notations: [ ], *, ?, ! For example, the expression r=1[01].* returns any revision in version 10 or version 11. • All version components are repeatable within a single specification (e.g. r>=A.12 , r
swinstall(1M) swinstall(1M) • The default value is forced to /var/home/LOGNAME/sw. • The path element LOGNAME is replaced with the name of the invoking user, which SD reads from the system password file. • If you set the value of this option to HOME/ path, SD replaces HOME with the invoking user’s home directory (from the system password file) and resolves path relative to that directory. For example, HOME/my_admin resolves to the my_admin directory in your home directory.
swinstall(1M) swinstall(1M) a user response. If ask=as_needed, the swinstall command first determines if a response file already exists in the catalog specified in the -c option or source depot and executes the request script only when a response file is absent. If set to ask=true , or ask=as_needed, you can use the -c catalog option to specify the pathname of an exported catalog to store copies of the response file or files created by the request script.
swinstall(1M) swinstall(1M) automatically including sticky bundles that contain it. codeword= Provides the "codeword" needed to unlock protected HP CD-ROM software. Some HP software products are shipped on CD-ROM as "protected" products. That is, they cannot be installed or copied unless a "codeword" and "customer ID" are provided. The codeword is found on the CD-ROM certificate which you received from HP.
swinstall(1M) swinstall(1M) swlist , swcopy , and swinstall . The default of zero includes all bundles, products, subproducts, and filesets in the source depot as candidates for selection (and autoselection of dependencies and patches), based on the software selections and other options.
swinstall(1M) swinstall(1M) enforce_scripts=true Controls the handling of errors generated by scripts. If true , and a script returns an error, an error message appears reporting that the execution phase failed. If false , swinstall attempts to continue operation. A warning message appears saying that the analysis or execution phase succeeded. The message identifies the specific swinstall phase (checkinstall, preinstall, postinstall, or configure).
swinstall(1M) swinstall(1M) information.) A value of: 0 provides no information to the logfile. 1 enables verbose logging to the logfiles. 2 enables very verbose logging, including per-file messages, to the logfiles. log_msgid=0 Adds numeric identification numbers at the beginning of SD logfile messages: 0 (default) No identifiers are attached to messages. 1 Adds identifiers to ERROR messages only. 2 Adds identifiers to ERROR and WARNING messages. 3 Adds identifiers to ERROR, WARNING, and NOTE messages.
swinstall(1M) swinstall(1M) To commit a patch by removing the corresponding saved files, use the swmodify command’s patch_commit option. polling_interval=2 Defines the polling interval, in seconds, used by the interactive GUI or TUI of the controller. It specifies how often each target agent is polled to obtain status information about the task being performed. When operating across wide-area networks, the polling interval can be increased to reduce network overhead.
swinstall(1M) swinstall(1M) The reinstall_files option should also be set to false to avoid installing files within the fileset that were successfully installed. This option also applies to the controller contacting the agent. If the agent session fails to start for any reason, the controller tries to recontact that agent for the number of times specified in retry_rpc , using the values from the retry_rpc_interval option to determine how long to wait between each attempt to recontact the agent.
swinstall(1M) swinstall(1M) • SD ACLs are ignored. • Files created by SD have the uid and gid of the invoking user, and the mode of created files is set according to the invoking user’s umask. SD’s nonprivileged mode is intended only for managing applications that are specially designed and packaged. This mode cannot be used to manage the HP-UX operating system or patches to it. For a full explanation of nonprivileged SD, see the Software Distributor Administration Guide, available at the http://docs.
swinstall(1M) swinstall(1M) Session File Each invocation of the swinstall or swcopy command defines an installation or copy session. The invocation options, source information, software selections, and target hosts are saved before the installation or copy task actually commences. This lets you re-execute the command even if the session ends before proper completion. Each session is saved to the file $HOME/.sw/sessions/swinstall{swcopy}.last .
swinstall(1M) swinstall(1M) typing man 5 sd for more information. NOTE: The language in which the SD agent and daemon log messages are displayed is set by the system configuration variable script, /etc/rc.config.d/LANG. For example, /etc/rc.config.d/LANG, must be set to LANG=ja_JP.SJIS or LANG=ja_JP.eucJP to make the agent and daemon log messages display in Japanese.
swinstall(1M) swinstall(1M) Additional environment variables that affect scripts for swinstall : SW_DEFERRED_KERNBLD This variable is normally unset. If it is set, the actions necessary for preparing the system file /stand/system cannot be accomplished from within the postinstall scripts, but instead must be accomplished by the configurescripts. This occurs whenever software is installed to a directory other than /, such as for a cluster client system.
swinstall(1M) swinstall(1M) Read Locks Both swinstall and swcopy commands set fcntl(2) read locks on source depots using the swlock file mentioned above. When a read lock is set, it prevents all SD commands from performing modifications (i.e. from setting write locks). Terminal Support For in-depth information about terminal support refer to: • • The Software Distributor Administration Guide manual Start the GUI or TUI, select the Help menu, then select the Keyboard...
swinstall(1M) swinstall(1M) EXAMPLES swinstall To invoke an interactive session of swinstall : swinstall Select the C and Pascal products from the network source software server (sw_server) and start an interactive session: swinstall -i -s sw_server cc pascal Install the C and Pascal products to a set of remote hosts: swinstall -s sw_server cc pascal @ hostA hostB hostC Update the HP Omniback product from a CD-ROM mounted at /cd : swinstall -s /cd/swmedia Omniback Install an incompatible version of HP
swinstall(1M) swinstall(1M) To linkinstall product TEST2 to your own "/" directory from an application server on "serve": swinstall -l -s serve TEST2 swcopy Invoke an interactive session of swcopy : swcopy Invoke an interactive session, using default depot at hostX as the source: swcopy -i -s hostX Copy all products from the cartridge tape /dev/rmt/0m to the default depot on the local host: swcopy -s /dev/rmt/0m \* Load the software_selections listed in the file /tmp/load.
swinstall(1M) swinstall(1M) SEE ALSO swacl(1M), swagentd(1M), swask(1M), swconfig(1M), swjob(1M), swlist(1M), swmodify(1M), swpackage(1M), swreg(1M), swremove(1M), swverify(1M), update-ux(1M) on 11i, sd(4), swpackage(4), sd(5). Software Distributor Administration Guide, available at http://docs.hp.com. SD customer web site at http://docs.hp.com/en/SD/.
swjob(1M) swjob(1M) NAME swjob, sd - display and monitor job information and create and remove jobs; invoke graphical user interface to display and monitor job information and create and remove jobs; respectively SYNOPSIS swjob [-i] [-R] [-u] [-v] [-a attribute ] [-C session_file ] [-f jobid_file ] [-S session_file ] [-t target_file ] [-x option=value ] [-X option_file ] [jobid(s)] [@ target_selections ] sd [XToolkit Options] [-x option=value ] [-X option_file ] Remarks • The sd command invokes an intera
swjob(1M) swjob(1M) XToolKit Options The sd command supports a subset of the standard XToolkit options to control the appearance of the system GUI. The supported options are: -bg , -background , -fg, -foreground , -display , -name , -xrm , and -synchronous . See the X(1) man page by typing man X for a definition of these options. -i Runs the command in interactive mode (invokes the GUI.) (Using this option is an alias for the sd command.
swjob(1M) swjob(1M) The optional command_name prefix denotes one of the SD commands. Using the prefix limits the change in the default value to that command. If you leave the prefix off, the change applies to all commands. You can also override default values from the command line with the -x or -X options: command -x option =value command -X option_file The following section lists all of the keywords supported by the swjob command. If a default value exists, it is listed after the =.
swjob(1M) swjob(1M) the invoking user is super-user. When set to the default value of true, SD operations are performed normally, with permissions for operations either granted to a local super-user or set by SD ACLs. (See swacl(1M) for details on ACLs.) When set to false and the invoking user is local and is not super-user, nonprivileged mode is invoked: • Permissions for operations are based on the user’s file system permissions. • SD ACLs are ignored.
swjob(1M) LC_ALL swjob(1M) Determines the locale to be used to override any values for locale categories specified by the settings of LANG or any environment variables beginning with LC_ . LC_CTYPE Determines the interpretation of sequences of bytes of text data as characters (e.g., single-versus multibyte characters in values for vendor-defined attributes). LC_MESSAGES Determines the language in which messages should be written.
swjob(1M) swjob(1M) Logging The swjob command does not log summary events. It logs events about each read task to the swagent logfile associated with each target_selection. swagentd Disabled If the swagentd daemon has been disabled on the host, it can be enabled by the host’s system administrator by setting the SW_ENABLE_SWAGENTD entry in /etc/rc.config.d/swconfig to 1 and executing /usr/sbin/swagentd -r .
swlist(1M) swlist(1M) NAME swlist - display information about software products SYNOPSIS swlist [-d|-r] [-i] [-R] [-v] [-a attribute ] [-C session_file ] [-f software_file ] [-l level] [-s source ] [-S session_file ] [-t target_file ] [-x option=value ] [-X option_file ] [software_selections] [@ target_selections] Remarks • This command supports operation on remote systems. See Operations on Remote Systems below.
swlist(1M) swlist(1M) swlist -d -a readme -l product SW-DIST @ hostA:/depot11 Options When no options or operands are specified, swlist lists the software bundles (and products which are not part of a bundle) that are installed at the local host. swlist supports the following options: -d -i List software available from a depot (instead of software installed on a root filesystem). -r Operates on an alternate root directory, which must be specified in the @ target_selections option.
swlist(1M) swlist(1M) -t target_file Read the list of target_selections from target_file instead of (or in addition to) the command line. -x option=value Set the session option to value and override the default value (or a value in an alternate option_file specified with the -X option). Multiple -x options can be specified. -X option_file Read the session options and behaviors from option_file. Operands swlist supports two types of operands: software selections followed by target selections.
swlist(1M) swlist(1M) within the context of an exported catalog, where instance_id is an integer that distinguishes versions of products and bundles with the same tag. Target Selections swlist supports this syntax for each target_selection. [host ][:][/directory ] The colon (:) is required if both a host and directory are specified.
swlist(1M) swlist(1M) codeword= Provides the "codeword" needed to unlock protected HP CD-ROM software. Some HP software products are shipped on CD-ROM as "protected" products. That is, they cannot be installed or copied unless a "codeword" and "customer ID" are provided. The codeword is found on the CD-ROM certificate which you received from HP. You may use this default specification on the command line or the SD-UX interactive user interface to enter the codeword.
swlist(1M) swlist(1M) writing distributions and swlist output. Supported values are "1.0" (default) and "0.8". SD object and attribute syntax conforms to the layout_version 1.0 specification of the IEEE POSIX 1387.2 Software Administration standard. SD commands still accept the keyword names associated with the older layout version, but you should use layout_version=0.8 only to create distributions readable by older versions of SD.
swlist(1M) swlist(1M) When set to false and the invoking user is local and is not super-user, nonprivileged mode is invoked: • Permissions for operations are based on the user’s file system permissions. • SD ACLs are ignored. • Files created by SD have the uid and gid of the invoking user, and the mode of created files is set according to the invoking user’s umask. SD’s nonprivileged mode is intended only for managing applications that are specially designed and packaged.
swlist(1M) swlist(1M) Environment Variables The environment variables that affect the swlist command are: LANG Determines the language in which messages are displayed. If LANG is not specified or is set to the empty string, a default value of C is used. See lang(5) for more information. NOTE: The language in which the SD agent and daemon log messages are displayed is set by the system configuration variable script, /etc/rc.config.d/LANG. For example, /etc/rc.config.d/LANG, must be set to LANG=ja_JP.
swlist(1M) swlist(1M) always listed (as described above). The -l option can defeat this listing by specifying a level equivalent to the level of objects in the software_selections. For example, if you want to list specific product selections but not their contents, use -l product . If you want to list specific fileset selections but not their contained files, use -l fileset . The software_selection options only apply if the level is bundle, product, subproduct, fileset, file, or patch.
swlist(1M) swlist(1M) swlist -i @ host1 Use interactive swlist to view a depot: swlist -i -d @ /tmp/depot List all of the products installed on the local host: swlist Generate a comprehensive listing that includes all filesets for the product NETWORKING: swlist -v -l fileset NETWORKING List all the attributes for the ARPA-RUN fileset: swlist -v NETWORKING.ARPA.
swlist(1M) swlist(1M) swlist -l patch BogusProduct Output: BogusProduct BogusProduct.FakeFS PHZX-0004.FakeFS PHZX-3452.FakeFS 1.0 This is a Bogus Product Fake fileset Patch for defect X superseded Patch for defect Y applied Another example showing just the patch: swlist -l patch PHZX-0004 Output: PHZX-0004 PHZX-0004.FakeFS 1.0 Patch product Patch for defect X superseded FILES $HOME/.swdefaults Contains the user-specific default values for some or all SD options. $HOME/.
swmodify(1M) swmodify(1M) NAME swmodify - modify software products in a target root or depot SYNOPSIS swmodify [-d|-r] [-p] [-u] [-v] [-V] [-a attribute=[value]] [-c catalog ] [-C session_file ] [-f software_file ] [-P pathname_file ] [-s product_specification_file| [-S session_file ] [-x option=value ] [-X option_file ] [software_selections] [@ target_selection] Remarks For an overview of all SD commands, see the sd(5) man page by typing man 5 sd on the command line.
swmodify(1M) swmodify(1M) -a attribute[=value] Add, modify, or delete the value of the given attribute. If the -u option is specified, then delete the attribute from the given software_selections (or delete the value from the set of values currently defined for the attribute). Otherwise add/modify the attribute for each software_selection by setting it to the given value. Multiple -a options can be specified. Each attribute modification will be applied to every software_selection.
swmodify(1M) swmodify(1M) [ ], *, ? • Bundles and subproducts are recursive. Bundles can contain other bundles and subproducts can contain other subproducts. • The \* software specification selects all products. Use this specification with caution.
swmodify(1M) swmodify(1M) The optional command_name prefix denotes one of the SD commands. Using the prefix limits the change in the default value to that command. If you leave the prefix off, the change applies to all commands. You can also override default values from the command line with the -x or -X options: command -x option =value command -X option_file The following keywords are supported by swmodify . If a default value exists, it is listed after the =.
swmodify(1M) swmodify(1M) control_files= When adding or deleting control file objects, this option lists the tags of those control files. There is no supplied default. If there is more than one tag, they must be separated by white space and surrounded by quotes. distribution_target_directory=/var/spool/sw Defines the default distribution directory of the target depot. The target_selection operand overrides this default.
swmodify(1M) swmodify(1M) A value of: 0 provides no information to the log files. 1 enables verbose logging to the log files. 2 enables very verbose logging to the log files. To enable logging by swmodify commands invoked by control files, add the following line to the system defaults file: swmodify.loglevel=1 patch_commit=false Commits a patch by removing files saved for patch rollback.
swmodify(1M) swmodify(1M) You can also save session information to a specific file by executing swmodify with the -C session__file option. A session file uses the same syntax as the defaults files. You can specify an absolute path for the session file. If you do not specify a directory, the default location for a session file is $HOME/.sw/sessions/. To re-execute a session file, specify the session file as the argument for the -S session__file option of swmodify .
swmodify(1M) swmodify(1M) Logfile The swmodify command logs events to the command logfile and to the swmodify logfile associated with each target_selection. Command Log The swmodify command logs all messages to the the logfile /var/adm/sw/swmodify.log. (The user can specify a different logfile by modifying the logfile option.) Target Log When swmodify logs messages to the file modifying installed software, var/adm/sw/swagent.log beneath the root directory (e.g. / or an alternate root directory).
swmodify(1M) swmodify(1M) /var/adm/sw/defaults Contains the active system-wide default values for some or all SD options. /var/adm/sw/products/ The Installed Products Database (IPD), a catalog of all products installed on a system. /var/spool/sw/ The default location of a target software depot. AUTHOR swmodify was developed by the Hewlett-Packard Company.
swpackage(1M) swpackage(1M) NAME swpackage - package software products into a target depot or tape SYNOPSIS swpackage [-p] [-v] [-V] [-C session_file ] [-d directory|device ] [-f software_file ] [-s product_specification_file|directory ] [-S session_file ] [-x option=value ] [-X option_file ] [software_selections] [@ target_selection] Remarks • For a description of the Product Specification File (PSF) used as input to the swpackage command, see the swpackage(4) man page by typing man 4 swpackage on the c
swpackage(1M) swpackage(1M) Options swpackage supports the following options: -p Previews a package session without actually creating or modifying the distribution tape. -v Turns on verbose output to stdout. Verbose output is enabled by default, see the verbose option below. -V List the data model revision that swpackage supports. By default, swpackage always packages using the latest data model revision. -C session_file Save the current options and operands to session_file.
swpackage(1M) • swpackage(1M) The \* software specification selects all products. Use this specification with caution. The version component has the form: [,r revision][,a arch][,v vendor] [,c category ][,q= qualifier][,l= location] [,fr revision][,fa arch] • location applies only to installed software and refers to software installed to a location other than the default product directory. • fr and fa apply only to filesets.
swpackage(1M) swpackage(1M) command -X option_file The following section lists all of the keywords supported by swpackage and swcopy . If a default value exists, it is listed after the =. The commands that this option applies to are also specified. admin_directory=/var/adm/sw (for normal mode) admin_directory=/var/home/LOGNAME/sw (for nonprivileged mode) The location for SD logfiles and the default parent directory for the installed software catalog.
swpackage(1M) swpackage(1M) compress_index=false Determines whether SD commands create compressed INDEX and INFO catalog files when writing to target depots or roots. The default of false does not create compressed files. When set to true , SD creates compressed and uncompressed INDEX and INFO files. The compressed files are named INDEX.gz and INFO.gz , and reside in the same directories as the uncompressed files.
swpackage(1M) swpackage(1M) layout_version=1.0 Specifies the POSIX layout_version to which the SD commands conform when writing distributions and swlist output. Supported values are "1.0" (default) and "0.8". SD object and attribute syntax conforms to the layout_version 1.0 specification of the IEEE POSIX 1387.2 Software Administration standard. SD commands still accept the keyword names associated with the older layout version, but you should use layout_version=0.
swpackage(1M) swpackage(1M) checksums to determine if a new file should overwrite an old file. Use of checksums slows the comparison but is a more robust check for equivalency than size and time stamp. If set to false, SD does not compute checksums and compares files only by size and timestamp. run_as_superuser=true This option controls SD’s nonprivileged mode. This option is ignored (treated as true) when the invoking user is super-user.
swpackage(1M) swpackage(1M) Session File Each invocation of the swpackage command defines a packaging session. The invocation options, source information, software selections, and target hosts are saved before the installation or copy task actually commences. This lets you re-execute the command even if the session ends before proper completion. Each session is saved to the file $HOME/.sw/sessions/swpackage.last. This file is overwritten by each invocation of swpackage .
swpackage(1M) swpackage(1M) var/adm/sw/products/swlock relative to the root directory (e.g. /var/adm/sw/products/swlock). The SD commands which modify software in a depot are restricted from simultaneous modification using fcntl(2) locking on the file catalog/swlock relative to the depot directory (e.g. /var/spool/sw/catalog/swlock). All commands set fcntl(2) read locks on roots and depots using the swlock file mentioned above.
swpackage(1M) swpackage(1M) Standard Error The swpackage command writes messages for all WARNING and ERROR conditions to stderr. Logfile The swpackage command logs detailed events to the log file /var/adm/sw/swpackage.log. The user can specify a different logfile by modifying the logfile option.
swreg(1M) swreg(1M) NAME swreg - register or unregister depots and roots SYNOPSIS swreg -l level [-u] [-v] [-C session_file] [-f object_file] [-S session_file] [-t target_file] [-x option=value] [-X option_file] [objects_to_(un)register] [@ target_selections] Remarks • This command supports operations on remote systems. See Remote Operation below. • For an overview of all SD commands, see the sd(5) man page by typing man 5 sd on the command line.
swreg(1M) swreg(1M) Causes swreg to unregister the specified objects instead of registering them. -u -v Turns on verbose output to stdout. (The swreg logfile is not affected by this option.) Verbose output is enabled by default, see the verbose option below. -C session_file Save the current options and operands to session_file. You can enter a relative or absolute path with the file name. The default directory for session files is $HOME/.sw/sessions/. You can recall a session file with the -S option.
swreg(1M) swreg(1M) • If you set the value of this option to HOME/ path, SD replaces HOME with the invoking user’s home directory (from the system password file) and resolves path relative to that directory. For example, HOME/my_admin resolves to the my_admin directory in your home directory. SD’s nonprivileged mode is intended only for managing applications that are specially designed and packaged. This mode cannot be used to manage the HP-UX operating system or patches to it.
swreg(1M) swreg(1M) ncadg_ip_udp protocol sequence. This option may not have any noticeable impact when using the ncacn_ip_tcp protocol sequence. run_as_superuser=true This option controls SD’s nonprivileged mode. This option is ignored (treated as true) when the invoking user is super-user. When set to the default value of true, SD operations are performed normally, with permissions for operations either granted to a local super-user or set by SD ACLs. (See swacl(1M) for details on ACLs.
swreg(1M) swreg(1M) The environment variables that affect the swreg command are: LANG Determines the language in which messages are displayed. If LANG is not specified or is set to the empty string, a default value of C is used. See the lang(5) man pages by typing man 5 lang for more information. NOTE: The language in which the SD agent and daemon log messages are displayed is set by the system configuration variable script, /etc/rc.config.d/LANG. For example, /etc/rc.config.
swreg(1M) swreg(1M) swreg -u -l depot /var/spool/sw @ hostA hostB hostC Unregister a specific depot at the local host: swreg -u -l depot /cdrom FILES $HOME/.swdefaults Contains the user-specific default values for some or all SD options. /usr/lib/sw/sys.defaults Contains the master list of current SD options with their default values. /var/adm/sw/ The directory which contains all of the configurable and non-configurable data for SD. This directory is also the default location of logfiles.
swremove(1M) swremove(1M) NAME swremove - unconfigure and remove software products SYNOPSIS swremove [XToolkit Options] [-d|-r] [-i] [-p] [-v] [-C session_file] [-f software_file] [-J jobid] [-Q date] [-S session_file] [-t target_file] [-x option=value] [-X option_file] [software_selections] [@ target_selections] Remarks • swremove supports an interactive user interface (GUI) that can be invoked alone or by the sd command. See Interactive Operation below.
swremove(1M) swremove(1M) If you have enabled SD’s central management features, swinstall , swcopy , and swremove provide enhanced GUIs to support operations on remote machines. See Remote Operations above. Removing Patches or Patch Rollback Files To remove patch software, rollback files corresponding to the patch must be available for rollback. You must remove the base software modified by the patch. (Removing the base software also removes the patches associated with that software.
swremove(1M) swremove(1M) -J jobid Executes a previously scheduled job. This is the syntax used by the daemon to start the job. -Q date Schedules a job for the specified date. You can change the date format by modifying the file /var/adm/sw/getdate.templ. -S session_file Execute swremove based on the options and operands saved from a previous session, as defined in session_file. You can save session information to a file with the -C option.
swremove(1M) swremove(1M) For example, r>=B.10.00 chooses all revisions greater than or equal to B.10.00 . The system compares each dot-separated field to find matches. Shell patterns are not allowed with these operators. • The = (equals) relational operator lets you specify selections with the shell wildcard and patternmatching notations: [ ], *, ?, ! For example, the expression r=1[01].* returns any revision in version 10 or version 11.
swremove(1M) swremove(1M) • If you set the value of the installed_software_catalog default option to a relative path, that path is resolved relative to the value of this option. SD’s nonprivileged mode is intended only for managing applications that are specially designed and packaged. This mode cannot be used to manage the HP-UX operating system or patches to it. For a full explanation of nonprivileged SD, see the Software Distributor Administration Guide, available at the http://docs.hp.com web site.
swremove(1M) swremove(1M) autoselect_reference_bundles=true If true , bundles that have the is_sticky attribute set to true will be automatically removed when the last of its contents is removed. If false , the sticky bundles will not be automatically removed. compress_index=false Determines whether SD commands create compressed INDEX and INFO catalog files when writing to target depots or roots. The default of false does not create compressed files.
swremove(1M) swremove(1M) using a different IPD. Caution: use a specific installed_software_catalog to manage a specific application. SD does not support multiple descriptions of the same application in multiple IPDs. See also the admin_directory and run_as_superuser options, which control SD’s nonprivileged mode. (This mode is intended only for managing applications that are specially designed and packaged. This mode cannot be used to manage the HP-UX operating system or patches to it.
swremove(1M) swremove(1M) depot itself is removed. The swagent.log and directory will be removed if this option is set to true, the remove_empty_depot option is set to true and the last product/bundle has been removed from the depot. rpc_binding_info=ncacn_ip_tcp:[2121] ncadg_ip_udp:[2121] Defines the protocol sequence(s) and endpoint(s) on which the daemon listens and the other commands contact the daemon. If the connection fails for one protocol sequence, the next is attempted.
swremove(1M) swremove(1M) a remote file system are not removed. If set to true and if the superuser has write permission on the remote file system, the remote files are removed. Session File Each invocation of swremove defines a task session. The command automatically saves options, source information, software selections, and target selections before the task actually commences. This lets you re-execute the command even if the session ends before the task is complete.
swremove(1M) swremove(1M) LC_TIME Determines the format of dates (create_date and mod_date) when displayed by swlist . Used by all utilities when displaying dates and times in stdout , stderr , and logging . TZ Determines the time zone for use when displaying dates and times. Environment variables that affect scripts are: SW_CATALOG Holds the path to the Installed Products Database (IPD), relative to the path in the SW_ROOT_DIRECTORY environment variable.
swremove(1M) swremove(1M) The value of this variable is always equal to the value of SW_SESSION_IS_REBOOT. SW_SESSION_IS_REBOOT Indicates whether a reboot is scheduled for a fileset selected for removal. Because all HP-UX kernel filesets are also reboot filesets, the value of this variables is always equal to the value of SW_SESSION_IS_KERNEL. SW_SESSION_IS_UPDATE A value of 1 indicates the SD command was invoked during an Operating System update. This variable is set by the update-ux command.
swremove(1M) swremove(1M) /var/adm/sw/swremove.log. Similar messages are logged by an interactive swremove session. The user can specify a different logfile by modifying the logfile option. Target Log A swagent process performs the actual remove operation at each target_selection. When removing installed software, the swagent logs messages to the file var/adm/sw/swagent.log beneath the root directory (e.g. / or an alternate root directory).
swremove(1M) swremove(1M) SEE ALSO swacl(1M), swagentd(1M), swask(1M), swconfig(1M), swcopy(1M), swinstall(1M), swjob(1M), swlist(1M), swmodify(1M), swpackage(1M), swreg(1M), swverify(1M), install-sd(1M), sd(4), swpackage(4), sd(5). Software Distributor Administration Guide, available at http://docs.hp.com. SD customer web site at http://docs.hp.com/en/SD/.
swverify(1M) swverify(1M) NAME swverify - verify software products SYNOPSIS swverify [-d|-r] [-F] [-v] [-C session_file] [-f software_file] [-J jobid] [-Q date] [-S session_file] [-t target_file] [-x option=value] [-X option_file] [software_selections] [@ target_selections] Remarks • This command supports operations on remote systems. See Remote Operation below. • For an overview of all SD commands, see the sd(5) man page by typing man 5 sd on the command line.
swverify(1M) swverify(1M) Options swverify supports the following options: -d Operate on a depot rather than installed software. -F Runs vendor-specific fix scripts to correct and report problems on installed software. The fix script can create missing directories, correct file modifications (mode, owner, group, major, and minor), and recreate symbolic links. -r Operates on an alternate root directory, which must be specified in the @ target_selections option.
swverify(1M) swverify(1M) [,r revision][,a arch][,v vendor] [,c category ][,q= qualifier][,l= location] [,fr revision][,fa arch] • location applies only to installed software and refers to software installed to a location other than the default product directory. • fr and fa apply only to filesets. • r , a , v , c , and l apply only to bundles and products. They are applied to the leftmost bundle or product in a software specification.
swverify(1M) swverify(1M) admin_directory=/var/home/LOGNAME/sw (for nonprivileged mode) The location for SD logfiles and the default parent directory for the installed software catalog. The default value is /var/adm/sw for normal SD operations. When SD operates in nonprivileged mode (that is, when the run_as_superuser default option is set to true ): • The default value is forced to /var/home/LOGNAME/sw.
swverify(1M) swverify(1M) swverify validates the size and checksum for compressed files. In the default state of false , swverify checks only the mtime, size and cksum attributes of the compressed file. If set to true , swverify uncompresses the file in memory and verifies the size and cksum attributes of the uncompressed contents. Only files compressed with SD’s internal compressor can be uncompressed during a swverify operation.
swverify(1M) swverify(1M) appends the value to the value specified by the admin_directory option to determine the path to the IPD. For alternate roots, this path is resolved relative to the location of the alternate root. This option does not affect where software is installed, only the IPD location. This option permits the simultaneous installation and removal of multiple software applications by multiple users or multiple processes, with each application or group of applications using a different IPD.
swverify(1M) swverify(1M) rpc_timeout=5 Relative length of the communications timeout. This is a value in the range from 0 to 9 and is interpreted by the DCE RPC. Higher values mean longer times; you may need a higher value for a slow or busy network. Lower values will give faster recognition on attempts to contact hosts that are not up, or are not running swagentd . Each value is approximately twice as long as the preceding value. A value of 5 is about 30 seconds for the ncadg_ip_udp protocol sequence.
swverify(1M) swverify(1M) To re-execute a session file, specify the session file as the argument for the -S session__file option of swverify . Note that when you re-execute a session file, the values in the session file take precedence over values in the system defaults file. Likewise, any command line options or parameters that you specify when you invoke swverify take precedence over the values in the session file.
swverify(1M) swverify(1M) SW_SESSION_OPTIONS Contains the pathname of a file containing the value of every option for a particular command, including software and target selections. This lets scripts retrieve any command options and values other than the ones provided explicitly by other environment variables.
swverify(1M) swverify(1M) swagentd Disabled If the swagentd daemon has been disabled on the host, it can be enabled by the host’s system administrator by setting the SW_ENABLE_SWAGENTD entry in /etc/rc.config.d/swconfig to 1 and executing /usr/sbin/swagentd -r . EXAMPLES Verify the C and Pascal products installed at the local host: swverify cc pascal Verify a particular version of HP Omniback: swverify Omniback,1=/opt/Omniback_v2.
sync(1M) sync(1M) NAME sync - synchronize file systems SYNOPSIS sync [-l] DESCRIPTION sync executes the sync() system call (see sync(2)). If the system is to be stopped, the sync command must be called to ensure file system integrity. sync flushes all previously unwritten system buffers including modified super blocks, modified inodes, and delayed block I/O out to disk. This ensures that all file modifications are properly saved before performing a critical operation such as a system shutdown.
syncer(1M) syncer(1M) NAME syncer - periodically sync for file system integrity SYNOPSIS /usr/sbin/syncer [ seconds ] [-s] [-d directory ... ] DESCRIPTION syncer is a program that periodically executes sync() at an interval determined by the input argument seconds (see sync(2)). If seconds is not specified, the default interval is every 30 seconds. This ensures that the file system is fairly up-to-date in case of a crash.
sysdef(1M) sysdef(1M) (TO BE OBSOLETED) NAME sysdef - display system definition SYNOPSIS /usr/sbin/sysdef [kernel [master] ] DESCRIPTION Note: sysdef will not be supported in future releases of HP-UX (refer to WARNINGS section below). So users are advised to use the kctune(1M) utility which provides additional information on kernel tunable parameters. The command sysdef analyzes the currently running system and reports on its tunable configuration parameters.
syslogd(1M) syslogd(1M) NAME syslogd - log system messages SYNOPSIS /usr/sbin/syslogd [-a] [-d] [-D] [-f configfile] [-m markinterval] [-N] [-p logfile] [-r] [-s] [-v] DESCRIPTION The syslogd command reads and logs messages into a set of files described by the configuration file /etc/syslog.conf. Options syslogd recognizes the following options: -a Allows all messages except consecutive duplicate messages without reordering them. -d -D Turn on debugging.
syslogd(1M) syslogd(1M) syslogd configures itself when it starts up and whenever it receives a hangup signal. Lines in the configuration file consist of a selector to determine the message priorities to which the line applies and an action. The action field is separated from the selector by one or more tabs. Selectors are semicolon separated lists of priority specifiers.
syslogd(1M) syslogd(1M) WARNINGS A configuration file selector selects all messages at the specified level or higher. The configuration lines: user.debug user.info /tmp/logfile /tmp/logfile cause the logfile to get two copies of all user messages at level info and above. Kernel panic messages are not sent to syslogd . All HP-UX kernel messages are treated as if they had the crit priority level.
talkd(1M) talkd(1M) NAME talkd - remote user communication server SYNOPSIS talkd DESCRIPTION Talkd is the server that notifies a user that someone wants to initiate a conversation. It acts as a repository of invitations, responding to requests by clients wishing to initiate a conversation. To initiate a conversation, the client (the talk command) sends a message of type LOOK_UP to the server (see /usr/include/protocols/talkd.h).
tcpd(1M) tcpd(1M) NAME tcpd - access control facility for internet services DESCRIPTION The tcpd program can be set up to monitor the incoming requests for telnet , finger , ftp , exec , rsh , rlogin , tftp , talk , and other services that have a one-to-one mapping onto executable files. The program supports both 4.3BSD-style sockets and System V.4-style TLI. The functionality may be limited when the protocol underneath TLI is not an internet protocol.
tcpd(1M) tcpd(1M) Example 1 Move the original daemon to the /usr/lbin/wrapper directory and install tcpd in place of the original daemon. No changes are required to the inetd configuration file, /etc/inetd.conf.
telnetd(1M) telnetd(1M) NAME telnetd - TELNET protocol server SYNOPSIS /usr/lbin/telnetd [-A ] [-a [-TCP_DELAY ] authmode] [-b [bannerfile] ] [-e] [-f] [-n] [-s] [-t] [-y] [-z] DESCRIPTION The telnetd daemon executes a server that supports the DARPA standard TELNET virtual terminal protocol. The Internet daemon (inetd ) executes telnetd when it receives a service request at the port listed in the services database for telnet using the tcp protocol (see inetd(1M) and services (4)).
telnetd(1M) telnetd(1M) Options telnetd has the following options. -b [bannerfile] Specify a file containing a custom banner. This option overrides the standard telnetd login banner. For example, to use /etc/issue as the login banner, have inetd start telnetd with the following lines in /etc/inetd.conf (\ provides line continuation): -e -n telnet stream tcp nowait root /usr/lbin/telnetd \ telnetd -b/etc/issue To work in the IPv6 environment, the entry in /etc/inetd.
telnetd(1M) telnetd(1M) system may telnet directly to any participating system without being prompted for another login. -y Set the behavior for stty 0 to instruct telnetd to close the connection on the shell command stty 0 or whenever the telnet client communicates with telnetd to arrive upon 0 baud rate for TELOPT_TERMSPEED. -z This option allows users to set the BUFFERTIMEOUT value.
telnetd(1M) telnetd(1M) DIAGNOSTICS If any error is encountered by telnetd in establishing the connection, an error message is returned through the connection, after which the connection is closed and the server exits. Any errors generated by the login process or its descendents are passed through as ordinary data. The following diagnostic messages are displayed by telnetd : unable to allocate Telnet device The server was unable to obtain a Telnet pseudo-terminal for use with the login process.
tftpd(1M) tftpd(1M) NAME tftpd - trivial file transfer protocol server SYNOPSIS /usr/lbin/tftpd [-l ] [-R retran-seconds] [-r blksize |timeout |tsize ] [-s] [-T total-seconds] [-L port] [-U port] [path ...] DESCRIPTION tftpd is a server that supports the Internet Trivial File Transfer Protocol (RFC783). The TFTP server operates at the port indicated in the tftp service description (see services (4)). The server is normally started by inetd using the /etc/inetd.conf file (see inetd(1M) and inetd.conf(4)).
tftpd(1M) tftpd(1M) a file. tftpd disallows a client access to any file that does not match entirely or in its initial components one of the restriction paths. It also disallows access to any file path containing ‘‘.. ’’. However, an accessed file can be a symbolic link that points outside the set of restricted paths. • If any path is specified on the command line and the tftp home directory is defined and is not /, tftpd first looks for a file relative to (under) the home directory.
tic(1M) tic(1M) NAME tic - terminfo compiler SYNOPSIS tic [-v [n]] [-c] file ... DESCRIPTION tic translates terminfo files from source format into the compiled format. Results are placed in the directory /usr/share/lib/terminfo. -vn Specifies that (verbose) output be written to standard error trace information showing tic’s progress. The optional integer n is a number from 1 to 10, inclusive, indicating the desired level of detail of information. If n is omitted, the default level is 1.
tsm.lpadmin(1M) tsm.lpadmin(1M) NAME tsm.lpadmin - add or remove a printer for use with tsm SYNOPSIS /usr/tsm/bin/tsm.lpadmin -p printer -m model /usr/tsm/bin/tsm.lpadmin -x printer DESCRIPTION tsm.lpadmin is used to add (or remove) a printer to the LP spooling system when the printer is connected to the system through a terminal running the Terminal Session Manager (see tsm(1)). tsm.
tunefs(1M) tunefs(1M) NAME tunefs - tune up an existing HFS file system SYNOPSIS /usr/sbin/tunefs [-A] [-v] [-a maxcontig ] [-d rotdelay ] [-e maxbpg ] [-m minfree ] [-r advanced read-ahead ] special-device DESCRIPTION The tunefs command is used to alter dynamic parameters that affect HFS file system layout policies. Parameters to be altered are specified by the options and arguments provided on the command line as described below. tunefs affects how the file system blocks are laid out on the disk.
tunefs(1M) tunefs(1M) AUTHOR tunefs was developed by the University of California, Berkeley. SEE ALSO dumpfs(1M), mkfs(1M), newfs(1M).
udpublickey(1M) udpublickey(1M) NAME udpublickey - update the publickey database file and the NIS map SYNOPSIS udpublickey Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same. DESCRIPTION udpublickey is executed from the updaters(1M) makefile when either newkey or rpc.ypupdated updates the /etc/publickey database file. udpublickey receives the following information from newkey or rpc.
ugweb(1M) ugweb(1M) NAME ugweb - starts the HP-UX User and Group Account Configuration tool SYNOPSIS ugweb [ -F ] [ -b ] ugweb -t DESCRIPTION The HP-UX User and Group Account Configuration tool (ugweb ) is used to manage user accounts and group accounts on the local system. This tool can also be used to manage user accounts on a NIS system. The HP-UX User and Group Account Configuration tool provides both Web-based and terminal user interface.
ugweb(1M) ugweb(1M) Note: You can also start the HP-UX User and Group Account Configuration tool using one of the following methods: • Run /usr/sbin/sam and select the User and Group Account Configuration (Web-based Interface) to launch the Web-based tool. • Start the HP-UX User and Group Account Configuration tool Web interface by typing the URL http:// hostname :2301/ug/ug.cgi in the address bar of your browser, where hostname is the name of the server.
unshare(1M) unshare(1M) NAME unshare - make local resource unavailable for mounting by remote systems SYNOPSIS /usr/sbin/unshare [-F FSType] [pathname resourcename] DESCRIPTION The unshare command makes a shared local resource unavailable as file system type FSType. If the option -F FSType is omitted, then the first file system type listed in /etc/dfs/fstypes file will be used as the default.
unshare_nfs(1M) unshare_nfs(1M) NAME unshare_nfs - make local NFS file systems unavailable for mounting by remote systems SYNOPSIS /sbin/fs/nfs/unshare [-F nfs ] pathname DESCRIPTION The unshare command makes local file systems unavailable for mounting by remote systems. The shared file system must correspond to a line with NFS as the FSType in the /etc/dfs/sharetab file.
untic(1M) untic(1M) NAME untic - terminfo de-compiler SYNOPSIS untic [term] [-f file] DESCRIPTION untic translates a terminfo file from the compiled format into the source format. If the environment variable TERMINFO is set to a path name, untic checks for a compiled terminfo description of the terminal under the path specified by TERMINFO before checking /usr/share/lib/terminfo. Otherwise, only /usr/share/lib/terminfo is checked.
update-ux(1M) update-ux(1M) NAME update-ux - updates the HP-UX operating system from new HP-UX media SYNOPSIS [-i] [-p] [sw_selections]... update-ux [-v] -s source_location [-? ] [-x option=value] [-f software_file] DESCRIPTION The update-ux command updates the HP-UX operating system to a newer version. Use update-ux when updating the operating system (OS), and installing or changing operating environments (OEs).
update-ux(1M) update-ux(1M) Where op can be: =, ==, >=, <=, <, >, or != The = (equals) relational operator lets you specify selections with the shell wildcard and pattern-matchingexpressions: [ ], *, ? The syntax !selection causes that selection to be deselected even if it was listed on the command line as part of other selections. RETURN VALUE The update-ux command returns a value when it is not successful: 1 Error during execution; update aborted.
update-ux(1M) update-ux(1M) /usr/sbin/update-ux -s /depot/OE !Perl HPUX11i-OE AUTHOR update-ux was developed by HP. FILES /usr/sbin/update-ux /var/adm/swm/swm.log /var/adm/sw/update-ux.log The update-ux command. The swm log file. The update-ux log file. SEE ALSO swm(1M), swinstall(1M). These manuals are available on the HP-UX 11i Instant Information CD and at http://docs.hp.
updaters(1M) updaters(1M) NAME updaters - configuration file for NIS updating SYNOPSIS updaters Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (YP). The functionality of the two remains the same; only the name has changed. DESCRIPTION updaters is a makefile used for updating the Network Information Service (NIS) databases. Databases can be updated only if the network is secure, that is, only if there is a NIS publickey database ( publickey.byname).
ups_mond(1M) ups_mond(1M) NAME ups_mond - HP PowerTrust Uninterruptible Power System monitor daemon SYNOPSIS /usr/lbin/ups_mond [-f configfile ] [-s ] [-t ] DESCRIPTION When it detects a loss of AC power for a period of time exceeding a configured limit, ups_mond ensures file system integrity by shutting down HP-UX.
ups_mond(1M) ups_mond(1M) Messages resulting in exit of daemon: usage: ups_mond [-f configfile]. cannot exec /usr/lbin/ups_mond -f -e ups_monchild due to . permission denied; must be superuser. exiting; unable to lock process in memory: . aborted, configfile open received error: . aborted, configfile fseek error: . aborted, malloc error: . terminated by signal .
ups_mond(1M) ups_mond(1M) UPS line too noisy; ignoring that UPS. UPS could not enable; loss of power would not be detectable. UPS read failed: ; Uninterruptible Power Supply has not been connected correctly; loss of power would not be detectable. UPS write failed: ; ignoring that UPS. UPS read of status received ILLEGAL CMD or NOISY LINE.
ups_mond(1M) ups_mond(1M) Timer Controlled On/Off information invalid; ignored. mknod error: for Timed On/Off fifo file /var/tmp/timed_off; continuing without. open error: for Timed On/Off fifo file /var/tmp/timed_off; continuing without. Timer Controlled On value exceeds UPS maximum. The maximum value of will be used for this UPS.
useradd(1M) useradd(1M) NAME useradd - add a new user login to the system SYNOPSIS useradd [-u uid [-o] ] [-g group] [-G group[,group]...
useradd(1M) useradd(1M) -f inactive Specify the maximum number of days of continuous inactivity of the login before the account is locked. For the valid values of inactive refer to description of inactivity field in shadow(4). -e expire Specify the date on which this account is no longer valid. After the expire date occurs, no user will be able to access this account. This option is used to create temporary logins. expire, which is a date, may be typed in any format, except a Julian date.
useradd(1M) useradd(1M) NIS The useradd command is aware of NIS user and group entries. Only local users and groups may be modified with the useradd command. Attempts to modify an NIS user or group will result in an error. NIS users and groups must be administered from the NIS server.
useradd(1M) useradd(1M) useradd -D -g staff WARNINGS A directory can be shared between the users belonging to the same group. If the home directory is in the unshared mode and a new user is allocated to that directory then it will be put into the shared mode by setting the permissions of that directory to 775 (includes the write permissions to the group as well). Also, the directory which will be shared should have read and execute permissions for the group. Otherwise, useradd will report an error.
userdbck(1M) userdbck(1M) NAME userdbck - verify or fix information in the user database, /var/adm/userdb SYNOPSIS /usr/sbin/userdbck [-a] [-u] [-r] [-f] [file] DESCRIPTION userdbck verifies the information in the user database (/var/adm/userdb), reports inconsistencies, and fixes problems. If no options and no arguments are specified, userdbck reports all data corruption problems in all files in /var/adm/userdb. If the -r option is also specified, each reported problem is repaired.
userdbget(1M) userdbget(1M) NAME userdbget - display information residing in the user database, /var/adm/userdb SYNOPSIS /usr/sbin/userdbget [-i] -u name [attr]... /usr/sbin/userdbget [-i] -a [attr]... DESCRIPTION userdbget displays the per-user information residing in the user database as a sequence of attribute =value pairs. Each pair is printed on a separate line and is preceded by the username.
userdbget(1M) userdbget(1M) /usr/sbin/userdbget -a joe AUDIT_FLAG=1 joe DISPLAY_LAST_LOGIN=0 jane ALLOW_NULL_PASSWORD=0 mike AUDIT_FLAG=0 FILES /var/adm/userdb /etc/default/security /etc/security.dsc user database security defaults configuration file security attributes description file SEE ALSO userdbck(1M), userdbset(1M), userdb_read(3), security(4), userdb(4).
userdbset(1M) userdbset(1M) NAME userdbset - modify information in the user database, /var/adm/userdb SYNOPSIS /usr/sbin/userdbset /usr/sbin/userdbset /usr/sbin/userdbset /usr/sbin/userdbset /usr/sbin/userdbset -u name attr =value [attr=value]... -d -u name [-i] -d -u name attr [attr]... -d -a attr [attr]... [-u name] -f filename DESCRIPTION userdbset modifies the per-user information residing in the user database, /var/adm/userdb.
userdbset(1M) 9 10 11 12 userdbset(1M) database lock failure database is disabled; see userdb(4) invalid user name not a local user EXAMPLES In the following example, the first command deletes all of the configurable attributes for user joe , while retaining the internal attributes. At this point, the system-wide defaults in /etc/default/security apply. The second command sets joe ’s minimum password length to 7 and UMASK to 0022 (the leading zero denotes an octal value).
userdel(1M) userdel(1M) NAME userdel - delete a user login from the system SYNOPSIS userdel [-r] [-F] [-P -S alternate_password_file] login DESCRIPTION The userdel command deletes a user login from the system by modifying the appropriate login related files. The userdel command requires the login argument. login is the name to be deleted, specified as a string of printable characters. It may not contain a colon (:) or a newline (\n ).
userdel(1M) 10 12 13 14 userdel(1M) Cannot modify the /etc/group file, but the login was removed from the /etc/passwd file. Unable to remove or modify the home directory. Unable to open /etc/ptmp file or /etc/passwd file is non-existent. /etc/passwd file or /etc/ptmp file busy. Another command may be modifying the /etc/passwd file. 17 Cannot delete entry from /etc/passwd file. 18 Out of memory. 19 Invalid template file.
usermod(1M) usermod(1M) NAME usermod - modify a user login on the system SYNOPSIS usermod [-u uid [-o] ] [-g group] [-G group[,group]...] [-d dir [-m [-i] ] ] [-s shell] [-c comment ] [-f inactive] [-l new_logname] [-e expire] [-p encrypted_password] [-F] [-P -S alternate_password_file] login DESCRIPTION The usermod command modifies a user login on the system by changing the appropriate login related files. The usermod command requires the login argument.
usermod(1M) usermod(1M) July 13, 1993 7/13/93 A value of ’’ (two single quotes) or "" (two double quotes) results in no expiration date. -p encrypted_password Specify the encrypted password for the user. Before using the -p option, obtain the encrypted password by using crypt() (see crypt(3C)). -F -P Force the changes, even if the login is currently in use. Indicate that modifications are to be made to the alternate password file of NIS specified by the -S option.
usermod(1M) usermod(1M) 11 There is insufficient space to move the home directory (with the -m option). The other parts of the update request will be performed. 12 Unable to complete the move of the home directory to the new home directory. 13 Unable to open /etc/ptmp file, or /etc/passwd file is non-existent. 14 /etc/passwd file or /etc/ptmp file busy. Another command may be modifying the /etc/passwd file. 15 Cannot modify the entry in the /etc/passwd file. 18 Out of memory. 19 Invalid template file.
userstat(1M) userstat(1M) NAME userstat - check status of local user accounts SYNOPSIS /usr/sbin/userstat [-q] -u name [parm]... /usr/sbin/userstat [-q] -a [parm]... DESCRIPTION userstat checks the status of local user accounts and reports abnormal conditions, such as account locks. If any parm arguments are specified, abnormal status is displayed only for those parameters, otherwise abnormal status is displayed for all parameters.
userstat(1M) userstat(1M) RETURN VALUE userstat exits with one of the following values: 0 did not find abnormal status 1 found abnormal status 2 invalid usage or user not found EXAMPLES The following example reports all abnormal status for all local accounts. /usr/sbin/userstat -a joe nullpw mary admlock maxtries=5 The following example shows that the account for user joe is not locked due to too many consecutive authentication failures.
utmpd(1M) utmpd(1M) NAME utmpd - user accounting database daemon SYNOPSIS /usr/sbin/utmpd DESCRIPTION utmpd , user accounting database daemon, manages the user accounting database which is the database of currently logged-in users. This was previously maintained by /etc/utmp and /etc/utmpx files on HP-UX. Upon startup, utmpd writes its pid to the file /etc/useracct/utmpd_pid. Applications can add, update, or query entries into the database using the getuts() APIs.
uucheck(1M) uucheck(1M) (TO BE OBSOLETED) NAME uucheck - check the uucp directories and permissions file SYNOPSIS /usr/lbin/uucp/uucheck [-v] [-x debug_level ] DESCRIPTION The uucp commands, including uucheck , are targeted for removal from HP-UX; see the WARNINGS below. uucheck checks for the presence of the files and directories required by uucp (see uucp(1)). uucheck is executed from the UUCP makefile before the installation occurs.
uucico(1M) uucico(1M) TO BE OBSOLETED NAME uucico - transfer files for the uucp system SYNOPSIS /usr/lbin/uucp/uucico -r1 -s system [-x debug_level] [-d spool_directory] /usr/lbin/uucp/uucico [-x debug_level] [-d spool_directory] Remarks The uucp commands, including uucico , are targeted for removal from HP-UX; see the WARNINGS section below. DESCRIPTION uucico scans the /var/spool/uucp directories for work files.
uuclean(1M) uuclean(1M) (TO BE OBSOLETED) NAME uuclean - uucp spool directory clean-up SYNOPSIS /usr/lbin/uucp/uuclean [ options ] DESCRIPTION The uucp commands, including uuclean , are targeted for removal from HP-UX; see the WARNINGS below. uuclean scans the spool directories for files with the specified prefix and deletes all those that are older than the specified number of hours. Options uuclean recognizes the following options: -ddirectory Clean directory instead of the spool directory.
uucleanup(1M) uucleanup(1M) (TO BE OBSOLETED) NAME uucleanup - uucp spool directory clean-up SYNOPSIS /usr/lbin/uucp/uucleanup [-C time ] [-D time ] [-W time ] [-X time ] [-m string ] [-o time ] [-s system ] [-x debug_level ] DESCRIPTION The uucp commands, including uucleanup , are targeted for removal from HP-UX; see the WARNINGS below. uucleanup scans the spool directories for old files and takes appropriate action to remove them.
uucleanup(1M) uucleanup(1M) (TO BE OBSOLETED) Grace Todino and Dale Dougherty, Using UUCP and Usenet, O’Reilly & Associates, Inc. USA.
uucpd(1M) uucpd(1M) (TO BE OBSOLETED) NAME uucpd - UUCP over TCP/IP server daemon SYNOPSIS /usr/sbin/uucpd DESCRIPTION The uucp commands, including uucpd , are targeted for removal from HP-UX; see the WARNINGS below. uucpd is the server for supporting UUCP connections over TCP/IP networks.
uugetty(1M) uugetty(1M) (TO BE OBSOLETED) NAME uugetty - set terminal type, modes, speed and line discipline SYNOPSIS /usr/lbin/uucp/uugetty [-h] [-t timeout ] [-r] line [ speed [ type [ linedisc ] ] ] /usr/lbin/uucp/uugetty -c file DESCRIPTION The uucp commands, including uugetty , are targeted for removal from HP-UX; see the WARNINGS below. uugetty sets terminal type, modes, speed and line discipline.
uuls(1M) uuls(1M) (TO BE OBSOLETED) NAME uuls - list spooled uucp transactions grouped by transaction SYNOPSIS uuls [-m] [directories]... uuls [-s] [-m] [directories]... uuls [-k] [-m] [directories]... DESCRIPTION The uucp commands, including uuls , are targeted for removal from HP-UX; see the WARNINGS below. This command lists the contents of UUCP spool directories (default /var/spool/uucp/*) with the files in each directory grouped into three categories: • • • Transactions, Orphans, and Others.
uuls(1M) uuls(1M) (TO BE OBSOLETED) stat-able, and to print the C-file meaning. uucp -C and uux both set to a true (spooled) subfile name. Orphan files are those whose names start with D. and which are not referenced by any control files. This algorithm extracts from control files the names of all subfiles that should exist in the spool directory when the transaction is not being actively processed.
uusched(1M) uusched(1M) (TO BE OBSOLETED) NAME uusched - schedule uucp transport files SYNOPSIS /usr/lbin/uucp/uusched [-u debug_level ] [-x debug_level ] DESCRIPTION The uucp commands, including uusched , are targeted for removal from HP-UX; see the WARNINGS below. uusched is the UUCP file transport scheduler. It is usually started by the daemon uudemon.hour , which is started by cron (see cron(1M)) from the following entry in /var/spool/cron: 39 * * * * /usr/bin/su uucp -c */usr/lbin/uucp/uudemon.
uusnap(1M) uusnap(1M) (TO BE OBSOLETED) NAME uusnap - show snapshot of the UUCP system SYNOPSIS uusnap DESCRIPTION The uucp commands, including uusnap , are targeted for removal from HP-UX; see the WARNINGS below. uusnap displays in tabular format a synopsis of the current UUCP situation.
uusnaps(1M) uusnaps(1M) (TO BE OBSOLETED) NAME uusnaps - sort and embellish uusnap output SYNOPSIS uusnaps DESCRIPTION The uucp commands, including uusnaps , are targeted for removal from HP-UX; see the WARNINGS below. uusnaps runs uusnap (see uusnap(1M)) and post-processes the output into a more useful form. It sorts output lines in ‘‘Pareto-style’’, showing first those remote systems with the greatest number of Cmds files, next Data files, and then Xqts files.
uusub(1M) uusub(1M) (TO BE OBSOLETED) NAME uusub - monitor uucp network SYNOPSIS /usr/lbin/uucp/uusub [ options ] DESCRIPTION The uucp commands, including uusub , are targeted for removal from HP-UX; see the WARNINGS below. uusub defines a uucp subnetwork and monitors the connection and traffic among the members of the subnetwork. Options uusub recognizes the following options: -asys Add sys to the subnetwork. -dsys Delete sys from the subnetwork. -l Report the statistics on connections.
uusub(1M) uusub(1M) (TO BE OBSOLETED) WARNINGS Use of uucp commands, including uusub , is discouraged because they are targeted for removal from HP-UX. Use ftp(1) or rcp(1) instead. FILES /var/uucp/.Admin/L_sub /var/uucp/.Admin/R_sub /var/uucp/.Log/* connection statistics traffic statistics system log file SEE ALSO uucp(1), uustat(1). Tim O’Reilly and Grace Todino, Managing UUCP and Usenet, O’Reilly & Associates, Inc. USA.
uuxqt(1M) uuxqt(1M) (TO BE OBSOLETED) NAME uuxqt - execute remote uucp or uux command requests SYNOPSIS /usr/lbin/uucp/uuxqt [ -s system ] [ -x debug_level ] DESCRIPTION The uucp commands, including uuxqt , are targeted for removal from HP-UX; see the WARNINGS below. uuxqt executes remote job requests generated by use of the uux command (see uux(1)). uux generates X. files and places them in the spool directory, where uuxqt searches for them. For each X.
vgcfgbackup(1M) vgcfgbackup(1M) NAME vgcfgbackup - create or update LVM volume group configuration backup file SYNOPSIS /usr/sbin/vgcfgbackup [-f vg_conf_path] [-u] vg_name DESCRIPTION The vgcfgbackup command saves the LVM configuration for a volume group in a default or alternate configuration backup file (see the -f option). By default, vgcfgbackup runs automatically each time an LVM command changes the LVM configuration. In this case, it always uses the default configuration backup file.
vgcfgbackup(1M) vgcfgbackup(1M) AUTHOR vgcfgbackup was developed by HP. SEE ALSO vgcfgrestore(1M).
vgcfgrestore(1M) vgcfgrestore(1M) NAME vgcfgrestore - display or restore LVM volume group configuration from backup file SYNOPSIS /usr/sbin/vgcfgrestore /usr/sbin/vgcfgrestore /usr/sbin/vgcfgrestore /usr/sbin/vgcfgrestore -n vg_name -l [-v] [-R] [-F ] -n vg_name [-o old_pv_path] pv_path -f vg_conf_path -l [-v] [-R] [-F] -f vg_conf_path [-o old_pv_path] pv_path Remarks vgcfgrestore cannot be performed if the volume group is activated in shared mode.
vgcfgrestore(1M) vgcfgrestore(1M) absolutely valid and up-to-date. Restoring invalid configuration data can result in data corruption later.
vgcfgrestore(1M) vgcfgrestore(1M) Volume Group Configuration information in "/etc/lvmconf/vg00.conf" VG Name /dev/vg00 ---- Physical volumes : 2 ---/dev/rdsk/c0t6d0 (Bootable) /dev/rdsk/c0t5d0 (Non-bootable) Restore LVM configuration information stored for /dev/rdsk/c0t7d0 in default configuration file /etc/lvmconf/vg01.conf to physical volume /dev/rdsk/c0t6d0: vgcfgrestore -n /dev/vg01 -o /dev/rdsk/c0t7d0 /dev/rdsk/c0t6d0 AUTHOR vgcfgrestore was developed by HP.
vgchange(1M) vgchange(1M) NAME vgchange - set LVM volume group availability SYNOPSIS Activate volume group /usr/sbin/vgchange -a availability [-l] [-p] [-q quorum] [-s] [-P resync_daemon_count] [vg_name ... ] Set volume group high-availability cluster attributes /usr/sbin/vgchange -c cluster [-S sharable] vg_name Change activation mode of sharable volume group /usr/sbin/vgchange -a availability -x {vg_name...
vgchange(1M) vgchange(1M) have read-only access to the data. When the volume group is also marked as sharable, it may be activated in shared mode for read-write access by all the nodes in the cluster. The configuration of a shared volume group can be changed only if it is activated in exclusive mode. Crossactivation between shared and exclusive modes of shared volume groups is possible with the -x option to vgchange .
vgchange(1M) vgchange(1M) y Mark each specified volume group as a member of a high availability cluster. The high availability software must be running; otherwise, the volume group is not marked. Needs to be done on one node only. -S may be optionally specified with the -c option to indicate whether the VG is sharable, and when the -c option is used without -S the VG is marked not sharable. n Remove each specified volume group from membership in the high availability cluster.
vgchange(1M) vgchange(1M) Volume Groups section for a more complete description of quiesced volume groups. -S sharable Control the sharability of volume groups in a high availability cluster. sharable can have one of the following values: y Mark each specified volume group as sharable. The high availability software must be running; otherwise, the volume group is not marked. This only has to be done from one node of the cluster. n Remove the shared attribute from the volume group.
vgchange(1M) vgchange(1M) EXTERNAL INFLUENCES Environment Variables LANG determines the language in which messages are displayed. If LANG is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
vgchange(1M) vgchange(1M) vgchange -Q rw -t 600 /dev/vg03 WARNINGS Ordinary Operation In ordinary operation (that is, without the optional high availability software), it is possible to activate a volume group for read-write access from more than one physically connected system, leading to a high potential for data corruption.
vgchgid(1M) vgchgid(1M) NAME vgchgid - modify the Volume Group ID (VGID) on a given set of physical devices SYNOPSIS /usr/sbin/vgchgid PhysicalVolumePath [PhysicalVolumePath] ... DESCRIPTION The vgchgid command is designed to change the LVM Volume Group ID (VGID) on a supplied set of disks. vgchgid will work with any type of storage, but it is primarily targeted at disk arrays that are able to create "snapshots" or "clones" of mirrored LUNs.
vgchgid(1M) vgchgid(1M) 3. Make a new volume group using the BCV disks. mkdir /dev/vgbcv mknod /dev/vgbcv/group c 64 0x040000 4. Import the BCV disks into the new volume group. vgimport /dev/vgbcv /dev/dsk/c0t0d0 /dev/dsk/c0t0d1 /dev/dsk/c0t0d2 5. Activate the new volume group. vgchange -a y /dev/vgbcv 6. Backup the new volume group’s LVM data structure. vgcfgbackup /dev/vgbcv 7. Mount the associated logical volumes.
vgcreate(1M) vgcreate(1M) NAME vgcreate - create LVM volume group SYNOPSIS /usr/sbin/vgcreate [-f] [-A autobackup] [-x extensibility] [-e max_pe] [-l max_lv ] [-p max_pv ] [-s pe_size] [-g pvg_name] vg_name pv_path ... DESCRIPTION The vgcreate command creates a new volume group. vg_name is a symbolic name for the volume group and must be used in all references to it. vg_name is the path to a directory entry under /dev that must contain a character special file named group .
vgcreate(1M) vgcreate(1M) -f This option will force a volume group to be created with a physical volume which has alternate block(s) already allocated, (that is, this physical volume was not initialized using pvcreate -f .) This option should be used with extreme caution. If the volume group to be created has a different physical extent size, the alternate block(s) might be inside the user data area. Potential data corruption could occur.
vgcreate(1M) vgcreate(1M) EXAMPLES Create a volume group named /dev/vg00 containing two physical volumes with extent size set to 2 MB, from scratch. First, create the directory /dev/vg00 with the character special file called group . mkdir /dev/vg00 mknod /dev/vg00/group c 64 0x030000 The minor number for the group file should be unique among all the volume groups on the system. It has the format 0xNN 0000 , where NN runs from 00 to ff . Initialize the disks using pvcreate .
vgdisplay(1M) vgdisplay(1M) NAME vgdisplay - display information about LVM volume groups SYNOPSIS /usr/sbin/vgdisplay [-F] [-v] [vg_name...] DESCRIPTION The vgdisplay command displays information about volume groups. For each vg_name specified, vgdisplay displays information for that volume group only. If no vg_name is specified, vgdisplay displays names and corresponding information for all defined volume groups. The volume group must be activated (see vgchange(1M)) before it can be displayed.
vgdisplay(1M) Total Spare PVs vgdisplay(1M) Total number of physical volumes that are designated as spares for this volume group. This will include both stand-by and active spares -- see below. Total Spare PVs in use Total number of spare physical volumes that are active in place of (containing all data from) a failed physical volume.
vgdisplay(1M) vgdisplay(1M) it’s data now resides on an active spare, and its data is available if the active spare is available. unavailable/active spare The physical volume is unavailable and it’s an active spare. Thus, the data on this physical volume is unavailable. unavailable/standby spare The physical volume is a spare "standing by" that is not currently available to capture data from a failed physical volume. Total number of physical extents on the physical volume.
vgdisplay(1M) vgdisplay(1M) max_pe_per_pv=value:vgda=value:pe_size=value:total_pe=value: alloc_pe=value:free_pe=value:total_pvg=value:total_spare_pvs=value: total_spare_pvs_in_use=value LINE 2 The format of Line 2 is as follows: cluster:server=value:client=value[:...] LINE 3 The format of Line 3 is as follows: lv_name=value:lv_status=value:lv_size=value:current_le=value: allocated_pe=value:used_pv=value ... The above line may be repeated with different values.
vgexport(1M) vgexport(1M) NAME vgexport - export an LVM volume group and its associated logical volumes SYNOPSIS /usr/sbin/vgexport [-m mapfile] [-p] [-v] [-f outfile] vg_name /usr/sbin/vgexport -m mapfile -s [-p] [-v] vg_name DESCRIPTION Using the format of the first command line of the SYNOPSIS above, the vgexport command can be used to remove a volume group from the system. The volume group will be removed without modifying the logical volume information found on the physical volumes.
vgexport(1M) vgexport -m vgexport(1M) vg01.mymap /dev/vg01 Export the volume group /dev/vg01 and write the disk names into the file vg01.outfile . vgexport -v -f vg01.outfile /dev/vg01 Create a mapfile to be copied to other systems in a high availability cluster to build the volume group information for the volume group, /dev/vg02 . Note that the volume group is not removed from the exporting system.
vgextend(1M) vgextend(1M) NAME vgextend - extend an LVM volume group by adding physical volumes SYNOPSIS /usr/sbin/vgextend [-f] [-A autobackup] [-g pvg_name] [-x extensibility] [-z sparepv] vg_name pv_path ... Remarks vgextend cannot be performed if the volume group is activated in shared mode. DESCRIPTION The vgextend command assigns additional physical volumes to volume group vg_name. The volume group must be active.
vgextend(1M) vgextend(1M) -x extensibility Set allocation permission for additional physical extents on the physical volume specified by pv_path. extensibility can have one of the following values: y n -z sparepv Allow allocation of additional physical extents on the physical volume. Prohibit allocation of additional physical extents on the physical volume. Logical volumes residing on the physical volume can still be accessed.
vgextend(1M) vgextend(1M) WARNINGS The new physical volume which has been added to the volume group could potentially have a different block size compared to physical volumes already in the volume group. If a logical volume is created on two or more physical volumes which have a different block size, it is not possible to use such logical volume for file system purposes (see extendfs(1M)).
vgimport(1M) vgimport(1M) NAME vgimport - import an LVM volume group onto the system SYNOPSIS /usr/sbin/vgimport [-m mapfile] [-p] [-v] vg_name pv_path ... /usr/sbin/vgimport [-m mapfile] [-p] [-v] [-f infile] vg_name /usr/sbin/vgimport -m mapfile [-N] [-v] [-p] -s vg_name DESCRIPTION The vgimport command adds the specified volume group to the system. The physical volumes, specified as pv_path ..., are scanned to obtain the volume group information and logical volume information.
vgimport(1M) vgimport(1M) -p Preview the actions to be taken but do not update the /etc/lvmtab file or add the logical volume device files. This option is best used in conjunction with the -v option. -v -f infile Print verbose messages including names of the logical volumes. Import the set of pv_paths held in the infile into the volume group. This option is used as an alternative to specifying the pv_paths on the command line. Each pv_path must appear on a new line in the infile.
vgimport(1M) vgimport(1M) SEE ALSO vgexport(1M), vgscan(1M), intro(7), lvm(7).
vgmodify(1M) vgmodify(1M) NAME vgmodify - handle physical volume size changes and modify configuration parameters of an existing LVM volume group SYNOPSIS Set Specified Parameters /usr/sbin/vgmodify [-B bootable] [-e max_pe] [-l max_lv ] [-n] [-p max_pv ] [-r] [-v] vg_name [pv_path ... ] Optimize the Volume Group Settings /usr/sbin/vgmodify -o [-B bootable] [-r] [-v] vg_name [pv_path ...
vgmodify(1M) • vgmodify(1M) Change a physical volume type from boot to non-boot or vice versa (see pvcreate(1M) -B ). Note that making a physical volume non-bootable will increase the space available on that device for LVM configuration data. However, even a single bootable physical volume in the volume group will restrict the max_pv and max_pe settings available. All the physical volumes associated with the volume group must be available for the vgmodify command to succeed.
vgmodify(1M) vgmodify(1M) on each physical volume and, therefore, the possible settings for the volume group parameters. No user data is moved during that process, only the LVM numbering of physical extents changes. When the first extent is being reallocated from user to LVM configuration data, the physical extent numbers are decreased. This will only occur if the first extent is free.
vgmodify(1M) >0 vgmodify(1M) Error condition occurred.
vgmodify(1M) vgmodify(1M) /etc/lvmconf/VG_restore A script created by vgmodify before making any update, to be used if the vgmodify command is interrupted while committing the configuration changes to the physical volumes. See the Remarks section for its usage. SEE ALSO boot(1M), lvlnboot(1M), mkboot(1M), pvcreate(1M), pvmove(1M), vgcfgbackup(1M), vgcfgrestore(1M), vgchange(1M), vgcreate(1M), vgdisplay(1M), vgextend(1M), vgreduce(1M), lvm(7).
vgreduce(1M) vgreduce(1M) NAME vgreduce - remove physical volumes from an LVM volume group SYNOPSIS /usr/sbin/vgreduce [-A autobackup] vg_name pv_path ... /usr/sbin/vgreduce [-A autobackup] [-l] vg_name pv_path /usr/sbin/vgreduce [-A autobackup] [-f] vg_name Remarks vgreduce cannot be performed if the volume group is activated in shared mode. DESCRIPTION The vgreduce command removes each physical volume specified by a pv_path argument from volume group vg_name.
vgreduce(1M) vgreduce(1M) option was mainly designed for the problem where the vgscan or the vgimport command place too many links beyond the max limit allowed in the lvmtab file. Currently the max limit is 8 paths to a PV (seven alternates and one primary). In this situation, invoking the command without the -f option will not resolve the condition because the path is not attached to the volume group.
vgremove(1M) vgremove(1M) NAME vgremove - remove LVM volume group definition from the system SYNOPSIS /usr/sbin/vgremove vg_name ... DESCRIPTION The vgremove command removes from the system the last physical volume of the volume group and the definition of the volume group or groups specified by vg_name .... Since all system knowledge of the volume group and its contents are removed, the volume group can no longer be accessed.
vgscan(1M) vgscan(1M) NAME vgscan - scan physical volumes for LVM volume groups SYNOPSIS /usr/sbin/vgscan [-p] [-v] [-a -B -k -N] [-f vg_names ...] DESCRIPTION The vgscan command is used as follows: 1. Recovering and recreating the /etc/lvmtab file when the file has been deleted or does not match the current physical volumes. 2. Reporting device special file lists for unconfigured volume groups. For recovery, vgscan will add entries for volume groups that are missing from /etc/lvmtab .
vgscan(1M) vgscan(1M) (1) Update incorrect, existing entries for activated volume groups. For example, a volume group may have been imported with only a partial set of devices. Or, a boot volume group may have been activated with persistent DSFs, while the existing entry in /etc/lvmtab has legacy DSFs. (2) Migrate a deactivated volume group using legacy DSFs to use persistent DSFs, or vice-versa. (3) Add volume group entries to the /etc/lvmtab file in the order specified on the command line.
vgscan(1M) vgscan(1M) mv /etc/lvmtab /etc/lvmtab.BCK vgscan -B 5. Recreate the /etc/lvmtab file for activated volume groups, using the DSFs that were used to activate them. For deactivated volume groups, no entries are added to /etc/lvmtab , and no physical volume DSFs are reported. mv /etc/lvmtab /etc/lvmtab.BCK vgscan -k 6.
vgscan(1M) vgscan(1M) *** *** *** *** LVMTAB has been created successfully. Do the following to resync information on disk. #1. vgchange -a y #2. lvlnboot -R No more than 8 paths to any Physical Volume will be added to the /etc/lvmtab file. All other paths will be omitted. SEE ALSO lvlnboot(1M), vgchange(1M), vgcreate(1M), vgextend(1M), vgexport(1M), vgimport(1M), vgreduce(1M), intro(7), lvm(7).
vgsync(1M) vgsync(1M) (Requires Optional HP MirrorDisk/UX Software) NAME vgsync - synchronize stale logical volume mirrors in LVM volume groups SYNOPSIS /usr/sbin/vgsync vg_name ... Remarks This command requires the installation of the optional HP MirrorDisk/UX software, which is not included in the standard HP-UX operating system. DESCRIPTION The vgsync command synchronizes the physical extents of each mirrored logical volume in the volume group specified by vg_name ....
vhardlinks(1M) vhardlinks(1M) NAME vhardlinks - checks the consistency of compartment rules for files with multiple hardlinks SYNOPSIS vhardlinks [-m mount_point[...]] DESCRIPTION vhardlinks checks the consistency of compartment rules for files that have multiple hard links pointing to them. If a file has multiple hard links, it is possible to create compartment rules such that the file will have conflicting rules controlling access to it.
vipw(1M) vipw(1M) NAME vipw - edit the password file SYNOPSIS vipw DESCRIPTION vipw edits the password file while setting the appropriate locks, and does any necessary processing after the password file is unlocked. If the password file is already being edited, you will be told to try again later. The vi editor is used unless the environment variable EDITOR indicates an alternate editor.
volcopy(1M) volcopy(1M) NAME volcopy, labelit - copy a file system with label checking SYNOPSIS /usr/sbin/volcopy [options] fsname special1 volname1 special2 volname2 /usr/sbin/labelit [options] special [fsname volume [-n] ] DESCRIPTION The volcopy command makes a literal copy of the file system using a block size matched to the device. Options volcopy recognizes the following options: -F FStype Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)).
volcopy(1M) volcopy(1M) The labelit command can be used to provide initial labels for unmounted disk or tape file systems. With the optional arguments omitted, the labelit command prints current label values. The -n option provides for initial labeling of new tapes only (this destroys previous contents). The -F, -V, and -o options can be specified for the labelit command. The behavior of the -F, -V, and -o options is similar to their behavior in the volcopy command.
volcopy_hfs(1M) volcopy_hfs(1M) NAME volcopy_hfs: volcopy, labelit - copy an HFS file system with label checking SYNOPSIS /usr/sbin/volcopy [options] fsname special1 volname1 special2 volname2 /usr/sbin/labelit [options] special [fsname volume [-n] ] DESCRIPTION The volcopy command makes a literal copy of an HFS file system using a block size matched to the device. Options volcopy recognizes the following options: -F hfs Specifies the HFS file system type.
vtdaemon(1M) vtdaemon(1M) NAME vtdaemon - respond to vt requests SYNOPSIS vtdaemon [-g[ngateway]] [-n] lan_device lan_device ... DESCRIPTION vtdaemon responds to requests from other systems (via local area network) made by vt (see vt(1)). vtdaemon spawns a server to respond to each request that it receives.
vtdaemon(1M) vtdaemon(1M) FILES /var/adm/vtdaemonlog logfile used by vtdaemon. /dev/lan0 default lan device name. SEE ALSO vt(1), uucico(1M).
wall(1M) wall(1M) NAME wall - write message to all users SYNOPSIS /usr/sbin/wall [-ggroupname] [file] DESCRIPTION Without arguments, the wall command reads a message from standard input until end-of-file. Then it sends this message to all currently logged-in users preceded by: Broadcast Message from ... If the -g groupname option is specified, wall sends the message to all currently logged-in groupname members (as specified in /etc/group ) preceded by: Broadcast Message from ...
whodo(1M) whodo(1M) NAME whodo - which users are doing what SYNOPSIS /usr/sbin/whodo [-h] [-l] [user ] DESCRIPTION The whodo command produces merged, reformatted, and dated output from the who , ps and acctcom commands (see who(1) , ps(1) and acctcom(1M)). If user is specified, output is restricted to all sessions pertaining to that user. The following options are available: -h -l Suppress the heading. Produce a long form of output.
xntpd(1M) xntpd(1M) NAME xntpd - Network Time Protocol daemon SYNOPSIS xntpd [ -abdm ] [ -c conffile ] [ -e authdelay ] [ -f driftfile ] [ -k keyfile ] [ -l logfile ] [ -p pidfile ] [ -r broadcastdelay ] [ -s statsdir ] [ -t key ] [ -v variable ] [ -V variable ] [ -x ] DESCRIPTION xntpd is an operating system daemon which sets and maintains the system time-of-day in synchronism with Internet standard time servers.
xntpd(1M) xntpd(1M) The file format is similar to other UNIX configuration files. Comments begin with a # character and extend to the end of the line. Blank lines are ignored. Configuration commands consist of an initial keyword followed by a list of arguments, some of which may be optional, separated by white space. Commands may not be continued over multiple lines.
xntpd(1M) xntpd(1M) offset and then updated once per hour with the current frequency offset computed by the daemon. If the file does not exist or this command is not given, the initial frequency offset is assumed zero. In this case, it may take some hours for the frequency to stabilize and the residual timing errors to subside. enable auth|bclient|monitor|pll|pps|stats disable auth|bclient|monitor|pll|pps|stats Provides a way to enable or disable various server options.
xntpd(1M) xntpd(1M) maintained. A zero key in NTP format would be specified as 8080808080808080 A The key is a 1-to-8 character ASCII string. A key is formed from this by using the lower order 7 bits of the ASCII representation of each character in the string, with zeroes being added on the right when necessary to form a full width 56 bit key, in the same way that encryption keys are formed from Unix passwords. M The key is a 1-to-32 character ASCII string, using the MD5 authentication scheme.
xntpd(1M) xntpd(1M) feature is enabled by specifying link and disabled using nolink . The default is link . If link is specified, a hard link from the current file set element to a file without suffix is created. When there is already a file with this name and the number of links of this file is one, it is renamed appending a dot, the letter C, and the pid of the xntpd server process. When the number of links is greater than one, the file is unlinked.
xntpd(1M) xntpd(1M) Additional information is available with the rv and clockvar commands, which take as argument the association ID shown in the as billboard. The rv command with no argument shows the system variables, while the rv command with association ID argument shows the peer variables for the clock, as well as any other peers of interest.
xntpd(1M) xntpd(1M) model is unique, but the maximum slew rate is typically about 40 milliseconds per second. Thus a SLEW adjustment of 411 seconds will take over 10,000 seconds (about 3 hours) to complete. A better approach would be to run the ntpdate command once at system startup, and accept the one STEP change that comes with it. Then start the NTP daemon process xntpd and it will never make a STEP as long as your connection to the timesource is good.
xntpdc(1M) xntpdc(1M) NAME xntpdc - special NTP query program SYNOPSIS xntpdc [ -dilnps ] [ -c command ] [ host ] [ ... ] DESCRIPTION xntpdc is used to query the xntpd daemon about its current state and to request changes in that state. The program may be run either in interactive mode or controlled mode using command line arguments. Extensive state and statistics information is available through the xntpdc interface.
xntpdc(1M) xntpdc(1M) help [ command_keyword ] A ? or help by itself will print a list of all the command keywords. ntpq . A ? or help followed by a command keyword (command_keyword) will print function and usage information about the command. delay milliseconds Specify a time interval to be added to timestamps included in requests which require authentication. This is used to enable (unreliable) server reconfiguration over long delay network paths or between machines whose clocks are unsynchronized.
xntpdc(1M) xntpdc(1M) was cast off in the falseticker detection. A plus (+) indicates that the peer made it through. An asterisk (*) denotes the peer that the server is currently synchronizing with. showpeer peer_address [ ... ] Shows a detailed display of the current peer variables for one or more peers. Most of these values are described in the NTP Version 2 specification. pstats peer_address [ ... ] Show per-peer statistic counters associated with the specified peer(s).
xntpdc(1M) xntpdc(1M) RUNTIME CONFIGURATION REQUESTS All requests which cause state changes in the server are authenticated by the server using a configured NTP key. This facility is disabled if the NTP key is not configured. The key number and the corresponding key must also be made known to xtnpdc . This can be done using the keyid and passwd commands, the latter of which will prompt at the terminal for a password to use as the encryption key.
xntpdc(1M) xntpdc(1M) monitor Enables the monitoring facility. See the xntpdc program and the monolist command for more information. The default for this flag is enable. pll Enables the server to adjust its local clock by means of NTP. If disabled, the local clock free-runs at its intrinsic time and frequency offset. This flag is useful in case the local clock is controlled by some other device or protocol and NTP is used only to provide synchronization to other clients.
ypinit(1M) ypinit(1M) NAME ypinit - build and install Network Information Service databases SYNOPSIS /usr/sbin/ypinit -m [DOM= NIS_domain] /usr/sbin/ypinit -s NIS_server_name [DOM= NIS_domain] /usr/sbin/ypinit -c Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same.
ypinit(1M) ypinit(1M) /etc/services /etc/auto_master /etc/mail/aliases SEE ALSO domainname(1), makedbm(1M), ypmake(1M), yppush(1M), ypserv(1M), ypxfr(1M), ypxfrd(1M), group(4), hosts(4), netgroup(4), networks(4), passwd(4), protocols(4), publickey(4), rpc(4), services(4), ypfiles(4).
ypmake(1M) ypmake(1M) NAME ypmake - create or rebuild Network Information Service databases SYNOPSIS /var/yp/ypmake [DIR= source_directory ] [DOM= NIS_domain ] [NOPUSH=1 ] [PWFILE= passwd_file ] [SWFILE= shadow_file ] [ map [ map ... ] ] cd /var/yp; make [DIR= source_directory ] [DOM= NIS_domain ] [NOPUSH=1 ] [PWFILE= passwd_file ] [SWFILE= shadow_file ] [ map ... ] Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp).
ypmake(1M) 0 1 2 3 4 5 ypmake(1M) Normal termination; no problems. One or more unrecognized arguments were passed. The NIS domain name is not set. The subdirectory used to contain maps for a specific NIS domain, /var/yp/domain_name, does not exist or is not writable. An error was encountered when building at least one of the maps. One or more maps’ ASCII files do not exist or are unreadable. EXAMPLES Create or rebuild the password databases (both the passwd.byname and passwd.
yppasswdd(1M) yppasswdd(1M) NAME yppasswdd: rpc.yppasswdd - daemon for modifying Network Information Service passwd database SYNOPSIS /usr/lib/netsvc/yp/rpc.yppasswdd passwd_file [-l log_file] [-nogecos ] [-noshell ] [-nopw ] [-nohome ] [-m [ arg1 arg2 ... ] ] /usr/lib/netsvc/yp/rpc.yppasswdd [-D directory] [-l log_file] [-nogecos ] [-noshell ] [-nopw ] [-nohome ] [-m [ arg1 arg2 ... ] ] Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp).
yppasswdd(1M) yppasswdd(1M) EXAMPLES Assume the yppasswdd daemon is started on the master NIS server as follows: /usr/lib/netsvc/yp/rpc.yppasswdd /var/yp/src/passwd \ -l /var/adm/yppasswdd.log \ -m passwd DIR=/var/yp/src /usr/lib/netsvc/yp/rpc.yppasswdd -D /opt \ -l /var/adm/yppasswdd.log \ This indicates that the ASCII file from which the NIS passwd database is built is /var/yp/src/passwd.
yppoll(1M) yppoll(1M) NAME yppoll - query NIS server for information about NIS map SYNOPSIS /usr/sbin/yppoll [-h host] [-d domain] mapname Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same.
yppush(1M) yppush(1M) NAME yppush - force propagation of Network Information Service database SYNOPSIS /usr/sbin/yppush [-d domain ] [-m maxm ] [-t mint ] [-v] mapname Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same. DESCRIPTION yppush copies a Network Information Service (NIS) map (database), mapname, from the map’s master NIS server to each slave NIS server.
yppush(1M) yppush(1M) AUTHOR yppush was developed by Sun Microsystems, Inc. FILES /usr/sbin/ domain/ypservers.{dir, pag} /usr/sbin/ domain/mapname.{dir, pag} SEE ALSO domainname(1), ypserv(1M), ypxfr(1M), ypfiles(4).
ypserv(1M) ypserv(1M) NAME ypserv, ypbind, ypxfrd - Network Information Service (NIS) server, binder, and transfer processes SYNOPSIS /usr/lib/netsvc/yp/ypserv [-l log_file] [-dv ] /usr/lib/netsvc/yp/ypbind [-l log_file] [-s] [-ypset -ypsetme ] [-broadcast ] /usr/sbin/ypxfrd Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (YP). The functionality remains the same; only the name has changed.
ypserv(1M) ypserv(1M) normal lookup functions. (If you examine the map with makedbm or yppoll (see makedbm(1M) or yppoll(1M)), they are visible.) Other functions are used within the NIS subsystem and are not of general interest to NIS clients. These include: Do_you_serve_this_domain? Transfer_map Reinitialize_internal_state The ypbind daemon remembers information that lets client processes on its machine communicate with a ypserv process.
ypserv(1M) -l log_file -s ypserv(1M) Log diagnostic and error messages to the file, log_file. See the description above. Secure. When specified, only NIS servers bound to a reserved port are used. This allows for a slight increase in security in completely controlled environments, where there are no computers operated by untrusted individuals. It offers no real increase in security. -ypset Allow ypset to be used to change the binding (see ypset(1M)).
ypset(1M) ypset(1M) NAME ypset - bind to particular Network Information Service server SYNOPSIS /usr/sbin/ypset [-V1 ] [-h host ] [-d domain ] server Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same. DESCRIPTION ypset tells ypbind to get Network Information Service (NIS) services for the specified domain from the ypserv process running on server (see ypserv (1M) and ypbind(1M)).
ypset(1M) ypset(1M) SEE ALSO domainname(1), ypwhich(1), ypserv(1M), ypfiles(4).
ypupdated(1M) ypupdated(1M) NAME ypupdated, rpc.ypupdated - server for changing NIS information SYNOPSIS /usr/lib/netsvc/yp/rpc.ypupdated [-is] Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same. DESCRIPTION ypupdated is a daemon that updates information in the Network Information Service (NIS) databases.
ypxfr(1M) ypxfr(1M) NAME ypxfr, ypxfr_1perday, ypxfr_1perhour, ypxfr_2perday - transfer NIS database from server to local node SYNOPSIS /usr/sbin/ypxfr [b] [-c] [-d domain] [-f] [-h host] [-s domain] [-C tid prog ipaddr port] mapname Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same.
ypxfr(1M) ypxfr(1M) AUTHOR ypxfr was developed by Sun Microsystems, Inc. FILES /usr/sbin/ypxfr.log Log file The following scripts are suggested for use with cron . /usr/sbin/ypxfr_1perday Run one transfer per day /usr/sbin/ypxfr_2perday Run two transfers per day /usr/sbin/ypxfr_1perhour Hourly transfers of "volatile" maps SEE ALSO crontab(1), domainname(1), cron(1M), ypinit(1M), yppush(1M), ypserv(1M), ypfiles(4).
(Notes) (Notes) y 692 Hewlett-Packard Company −1− HP-UX 11i Version 3: February 2007