HP-UX Reference Section 1M: System Administration Commands (A-M) HP-UX 11i Version 2 December 2007 Update Volume 3 of 10 Manufacturing Part Number : B2355-92068 E1207 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 or DVD, 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 or DVD, 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 ]...
Publishing History Revisions of the HP-UX Reference are published with each initial version release and at significant update milestones for each release. The contents are current as of the publication dates. Since manpages are often updated in software patches, you can find the latest version of a manpage on an appropriately patched system, using the man command. The list below is in reverse order of the date of publication.
B9106-90007-13 HP-UX 11i Version 1.5; June 2001 Release; seven volumes HTML; http://docs.hp.com and Instant Information. B2355-90689-97 HP-UX 11i Version 1; December 2000 Release; nine volumes PDF and HTML; http://docs.hp.com, Instant Information and print. B2355-90680-84 HP-UX 11.0; October 1997 Release; five volumes HTML; http://docs.hp.com. B2355-90166 HP-UX 11.0; October 1997 Release; five volumes PDF; http://docs.hp.com. B2355-90128-31 HP-UX 10.
Volume Three Table of Contents Section 1M
Volume Three 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 .............................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description check_patches(1M): check_patches ............................................................... HP-UX 11i patch check utility chnlspath(1M): chnlspath ............................................................................. configure message catalog path chroot(1M): chroot ................................................................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description envd(1M): envd ...................................................................................... system physical environment daemon exportfs(1M): exportfs ......................................................... export and unexport directories to NFS clients extendfs(1M): extendfs ............................................................................. extend a file system size (generic) extendfs_hfs(1M): extendfs ....
Table of Contents Volumes Three and Four Entry Name(Section): name Description install(1M): install ............................................................................................................ install commands intctl(1M): intctl ........................................................................... manage interrupt configuration of system intrbald(1M): intrbald ................................................................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description lvsplit(1M): lvsplit ............................................ split mirrored LVM logical volume into two logical volumes lvsync(1M) : lvsync ............................................................ synchronize stale mirrors in LVM logical volumes lwresd(1M): lwresd ............................................................................................ lightweight resolver daemon makedbm(1M): makedbm .................
Table of Contents Volumes Three and Four Entry Name(Section): name Description nissetup(1M): nissetup ............................................................................................ initialize a NIS+ domain nisshowcache(1M): nisshowcache .................. NIS+ utility to print out the contents of the shared cache file nisstat(1M): nisstat .......................................................................................... report NIS+ server statistics nisupdkeys(1M): nisupdkeys .........
Table of Contents Volumes Three and Four Entry Name(Section): name Description rarpd(1M): rarpd ...................................................................... Reverse Address Resolution Protocol daemon rbacdbchk(1M): rbacdbchk .......... verify the syntax of the Role-Based Access Control (RBAC) database files rc(1M): rc ...................................................... general purpose sequencer invoked upon entering new run level rcancel(1M): rcancel ..........................................
Table of Contents Volumes Three and Four Entry Name(Section): name Description setmemwindow(1M): setmemwindow ................... set window id of a running process or start a program in a particular memory window setmnt(1M): setmnt ............................................................. establish file-system mount table, /etc/mnttab setoncenv(1M): setoncenv ............................................................ NFS environment configuration command setprivgrp(1M): setprivgrp ...................
Table of Contents Volumes Three and Four Entry Name(Section): name Description udpublickey(1M): udpublickey ................................ updates the publickey database file and the NIS map umount: mount and unmount CDFS file systems ............................................................. see mount_cdfs(1M) umount: mount and unmount HFS file systems ................................................................. see mount_hfs(1M) umount: mount and unmount MemFS file systems ......................
Table of Contents Volumes Three and Four Entry Name(Section): name Description vxtunefs(1M): vxtunefs ............................................................................................. tune a VxFS file system vxumount(1M): vxumount ................................................................................... unmount a VxFS file system vxupgrade(1M): vxupgrade ....................................... upgrade the disk layout of a mounted VxFS file system wall(1M): wall ........................
Section 1M Part 1 System Administration Commands A-M
Section 1M Part 1 System Administration Commands A-M
intro(1M) intro(1M) NAME intro - introduction to system maintenance commands and application programs DESCRIPTION This section describes commands that are used chiefly for system maintenance and administration purposes. The commands in this section should be used in conjunction with other sections of this manual, as well as the HP-UX System Administration manuals for your system.
accept(1M) accept(1M) NAME accept, reject - allow/prevent LP destination queuing requests SYNOPSIS /usr/sbin/accept destination ... /usr/sbin/reject [-r[reason] ] destination ... [-r[reason] destination ...] ... a DESCRIPTION The accept command permits the lp command (see lp(1)) to accept printing requests for each named LP printer or printer class destination queue. The reject command causes the lp command to reject subsequent printing requests for each named destination queue.
accept(1M) accept(1M) FILES /etc/lp /var/adm/lp /var/spool/lp Directory of spooler configuration data Directory of spooler log files Directory of LP spooling files and directories a SEE ALSO enable(1), lp(1), lpstat(1), lpadmin(1M), lpsched(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M).
acct(1M) acct(1M) NAME acctdisk, acctdusg, accton, acctwtmp, closewtmp, utmp2wtmp - overview of accounting and miscellaneous accounting commands a SYNOPSIS /usr/sbin/acct/acctdisk /usr/sbin/acct/acctdusg [-u file] [-p file] /usr/sbin/acct/accton [file] /usr/sbin/acct/acctwtmp [-X] reason /usr/sbin/acct/closewtmp /usr/sbin/acct/utmp2wtmp DESCRIPTION Accounting software is structured as a set of tools (consisting of both C programs and shell procedures) that can be used to build accounting systems.
acct(1M) acct(1M) FILES /usr/sbin/acct /var/adm/pacct /etc/passwd /var/adm/wtmp /var/adm/wtmps Holds all accounting commands listed in section (1M) of this manual. Current process accounting file. Used for converting login name to user ID a Login/logoff history file. New login/logoff history database. SEE ALSO acctcms(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), diskusg(1M), fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4), utmps(4), wtmps(4).
acctcms(1M) acctcms(1M) NAME acctcms - command summary from per-process accounting records SYNOPSIS a /usr/sbin/acct/acctcms [ options ] files DESCRIPTION acctcms reads one or more files, normally in the form described in acct(4). It adds all records for processes that executed identically-named commands, sorts them, and writes them to the standard output, normally using an internal summary format.
acctcom(1M) acctcom(1M) NAME acctcom - search and print process accounting files SYNOPSIS /usr/sbin/acct/acctcom [ [option]... [file] ] ... DESCRIPTION The acctcom command reads file, standard input, or /var/adm/pacct, in the form described in acct(4) and writes selected records to standard output. Each record represents the execution of one process.
acctcom(1M) acctcom(1M) total-CPU-time /elapsed-time a -i -k -m -P Print columns containing the I/O counts in the output. -r Show CPU factor: -t -v -l line -u user Show separate system and user CPU times. -g group Show only processes belonging to group, specified as either the group ID or group name. -s time Select processes existing at or after time, given in the format: Instead of memory size, show total kcore-minutes. Show mean core size (the default).
acctcom(1M) acctcom(1M) For example, the login command requires a privileged user to assume the identity of the user who is logging-in, setting the ASU bit in the accounting flag (which ultimately causes the # symbol in the acctcom output). After assuming the user’s identity, login exec’s the user’s shell. Since the exec does not clear the ASU flag, the shell will inherit it, and be marked with a # in the acctcom output. The mean memory size may overflow for values greater than MAXINT .
acctcon(1M) acctcon(1M) NAME acctcon, acctcon1, acctcon2 - connect-time accounting SYNOPSIS /usr/sbin/acct/acctcon [ options ] /usr/sbin/acct/acctcon1 [ options ] /usr/sbin/acct/acctcon2 a DESCRIPTION The acctcon1 command converts a sequence of login/logoff records read from its standard input to a sequence of records, one per login session. Its input should normally be redirected from /var/adm/wtmp or /var/adm/wtmps.
acctcon(1M) acctcon(1M) acctcon -W -t -l lineuse -o reboots < wtmps | acctmerg > ctacct Note: The file wtmps can be either /var/adm/wtmps or a file containing records of the type found in /var/adm/wtmps. WARNINGS The line usage report is confused by date changes. Use wtmpfix (see fwtmp(1M)) to correct this situation.
acctmerg(1M) acctmerg(1M) NAME acctmerg - merge or add total accounting files SYNOPSIS a /usr/sbin/acct/acctmerg [ options ] [ file ] ... DESCRIPTION acctmerg reads its standard input and up to nine additional files, all in the tacct format (see acct(4)) or an ASCII version thereof. It merges these inputs by adding records whose keys (normally user ID and name) are identical, and expects the inputs to be sorted on those keys.
acctprc(1M) acctprc(1M) NAME acctprc, acctprc1, acctprc2 - process accounting SYNOPSIS /usr/sbin/acct/acctprc /usr/sbin/acct/acctprc1 [ ctmp ] /usr/sbin/acct/acctprc2 a DESCRIPTION acctprc1 reads input in the form described by acct(4), adds login names corresponding to user IDs, then writes for each process an ASCII line giving user ID, login name, prime CPU time (tics), non-prime CPU time (tics), and mean memory size (in memory segment units).
acctsh(1M) acctsh(1M) NAME chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, shutacct, startup, turnacct - shell procedures for accounting a SYNOPSIS /usr/sbin/acct/chargefee login-name number /usr/sbin/acct/ckpacct [ blocks ] /usr/sbin/acct/dodisk [-o] [ files ...
acctsh(1M) acctsh(1M) resource usage by command, and can be used on current day’s accounting data only. prtacct shutacct Can be used to format and print any total accounting (tacct ) file. startup Should be called by system startup scripts to turn the accounting on whenever the system is brought up. turnacct An interface to accton (see acct(1M)) to turn process accounting on or off .
AM60Srvr(1M) AM60Srvr(1M) NAME AM60Srvr - disk array server daemon SYNOPSIS a /opt/hparray/bin DESCRIPTION AM60Srvr is the server portion of the Array Manager 60 management software. It monitors the operation and performance of the disk array, and services external requests from clients executing disk array commands. AM60Srvr monitors disk array performance and status, maintains disk array logs, and allows clients to examine and change disk array configuration.
amcfg(1M) amcfg(1M) NAME amcfg - manages LUN (logical drive) configuration on the disk array SYNOPSIS amcfg -L cntrlrID:LUN -d channel:ID,channel:ID,... {-r RAIDlevel [-c capacity] [-s SegmentSize] [-force ]} [-V ] [-? ] ArrayID amcfg -R cntrlrID:LUN -d channel:ID,channel:ID,... {-r RAIDlevel [-c capacity] [-s SegmentSize] [-force ]} [-V ] [-? ] ArrayID amcfg -C -d channel:ID,channel:ID,...
amcfg(1M) amcfg(1M) and the mirror disks are on channel 2. However, specifying disks in the order 1:2 , 2:2 , 1:3 , and 2:3 would result in mirrored pairs of 1:2/1:3 and 2:2/2:3 . This would put the data disk and mirror disk of each pair in the same enclosure, making the LUN vulnerable to an enclosure failure. -D LUN -force a Delete the LUN identified by LUN. Allows a LUN to be created using two or more disks in the same enclosure.
amcfg(1M) amcfg(1M) The command generates its own audit records and submits these directly to the system audit trail. This privilege is raised whenever the command needs to write an audit record. writeaudit EXTERNAL INFLUENCES Environment Variables LC_MESSAGES determines the language in which messages are displayed. The current language settings can be checked with locale(1). RETURN VALUE amcfg returns the following values: 0 1 2 3 Successful completion.
amcfg(1M) amcfg(1M) amcfg: LUN’s owning controller not responding. Check controller status or bind LUN to the other controller. An attempt was made to bind a LUN to a controller which is not responding. No operation is performed. amcfg: LUN’s new owning controller not responding. Check controller status or bind LUN to the other controller. a An attempt was made to replace (unbind and rebind) a LUN, but the new owning controller does not respond. No operation is performed.
amcfg(1M) amcfg(1M) Change the ownership of LUN 0 on disk array RACK_51 to controller B: amcfg -M 0 -c B RACK_51 DEPENDENCIES AM60Srvr must be running to execute this command. See AM60Srvr(1M). a AUTHOR amcfg was developed by HP. SEE ALSO amdsp(1M), ammgr(1M), amutil(1M), amlog(1M), AM60Srvr(1M).
amdload(1M) amdload(1M) NAME amdload - downloads new firmware to the disk array controllers, the disk system BCC controllers, and disks a SYNOPSIS amdload amdload amdload amdload amdload -D -C -S -i -? { all | channel:ID,channel:ID,...} codefile ArrayID { all | cntrlrID} codefile ArrayID { all | channel,channel, ... } [-force ] codefile ArrayID ArrayID Remarks Downloading firmware should only be performed by service-trained personnel.
amdload(1M) -i -S amdload(1M) Display the firmware revisions for all hardware components of the specified disk array. Download new firmware to the disk system BCC controllers. The new code is stored in the file identified by codefile. If the all option is included, download firmware to all disk system BCC controllers on the disk array. If the channel option is included, download firmware only to the specified disk systems. Disk systems are identified by channel (1-6).
amdload(1M) amdload(1M) amdload -? An error in command syntax has occurred. Re-enter the command with all necessary arguments. amdload: Arg out of range One of the arguments has exceeded its maximum or minimum size, or is incorrect in form. Check the size and form of each argument. a amdload: The array entered does not identify a known, supported The specified ArrayID does not exist or does not identify a device that is communicating with the system.
amdsp(1M) amdsp(1M) NAME amdsp - display the status and operating configuration of the disk array SYNOPSIS amdsp amdsp amdsp amdsp [ -l [LUN] | -g | -d | -c | -s | -h | -a | -A | -r ] [-V ] [-S ] [-? ] ArrayID -p [-V] [-S] [-?] DeviceFile -i [-V] [-S] [-?] -R [-V] [-?] DESCRIPTION amdsp displays status and configuration information for the disk array identified by ArrayID. Logical configuration, physical configuration, and current status can all be displayed using amdsp .
amdsp(1M) a amdsp(1M) -s -S Display disk array state information. This includes cache settings for the disk array. -V -? Verbose mode displays additional command execution, state, and/or status messages. Raw output display. Data is output as a colon-delimited ASCII text string. Raw output format is near the end of this page. Display extended usage message. This option overrides all others. SECURITY CONFIGURATION This command is modified for all security configurations.
amdsp(1M) amdsp(1M) The specified ArrayID does not exist or does not identify a device that is communicating with the system. Verify the array exists and is operational. amdsp: The specified controller is not physically installed. A controller-specific command was issued to a non-existent or inaccessible controller. a amdsp: The specified LUN does not exist in this array. The specified LUN does not exist.
amdsp(1M) amdsp(1M) The leading C is literal to identify this as a CONTROLLER record. The above will be displayed for each controller installed. The first type of record shown above will be displayed for each Subsystem whose value is 0. The second record type will be displayed when the Subsystem is greater than 0. a Quiesced is a boolean field indicating whether the controller is quiescent.
amdsp(1M) amdsp(1M) When the SubSystem is greater than 0 (disk enclosure), the BattStatus is undefined. When the SubSystem is greater than 0 (disk enclosure), the power supplies and fans are designated as A and B, rather than 1 and 2. The left to right orientation of the disk enclosure power supplies may not match that of the array controller power supplies. EncSerNum is the disk enclosure serial number, and is only defined when the SubSystem is greater than 0; otherwise, it is undefined.
amdsp(1M) amdsp(1M) DEPENDENCIES AM60Srvr must be running to execute this command. See AM60Srvr(1M). AUTHOR a amdsp was developed by HP. SEE ALSO ammgr(1M), amcfg(1M), amutil(1M), amlog(1M), AM60Srvr(1M).
amfmt(1M) amfmt(1M) NAME amfmt - disk format, not supported DESCRIPTION The amfmt command is a data destructive command and is not supported. If an attempt is made to execute the amfmt command, data may be destroyed. AUTHOR amfmt was developed by HP. SEE ALSO ammgr(1M), amutil(1M), amcfg(1M), amdsp(1M), amlog(1M), amdload(1M), AM60Srvr(1M).
amlog(1M) amlog(1M) NAME amlog - displays host-based controller log entries for a disk array SYNOPSIS amlog [-s StartTime] [-e EndTime] [-t ] [-c] [-d LogDir] [-S] [-V] [-a ArrayID] amlog -? a DESCRIPTION amlog displays the contents of the disk array controller logs maintained by the host. These logs contain information useful for diagnosing and troubleshooting the disk array. The host maintains multiple log files containing entries for each disk array.
amlog(1M) amlog(1M) SECURITY CONFIGURATION This command is modified for all security configurations. Security Behavior/Restrictions Use of this command is restricted to authorized users only. a Command Authorizations This command requires the sysadmin authorization to successfully execute. Privileges The command has been modified to support least privilege.
amlog(1M) amlog(1M) RAW OUTPUT FORMAT The contents of the raw output text string for log entries is as follows: Default Log Output AL:LogFilename:AddSenAvailable:SenseDate:SenseTime:FRUCode: FRUCodeQual:SK:ASC:ASCQ:ArrayID:LogDate:LogTime:LUN a One record will be printed for each log entry between the start and end times. LogFilename is the name of the server log file where the record is found. The leading AL is literal, and identifies this as an AM60 LOG record.
ammgr(1M) ammgr(1M) NAME ammgr - manages the operating characteristics of the disk array SYNOPSIS ammgr -D ArrayAlias [-V] [-?] ArrayID ammgr [Options] [-V] [-?] ArrayID a DESCRIPTION ammgr manages the operating characteristics of the disk array by providing access to the settings used to control disk array operation. In most cases, these settings control the operation of the entire disk array; consequently, every LUN on the disk array will be affected by any changes made using this command.
ammgr(1M) ammgr(1M) NOTE: If errors are detected during a parity scan, it is recommended that you contact your Hewlett-Packard service representative immediately. The occurrence of parity errors may indicate a potential problem with the disk array hardware. -s LUN a Show the status of the parity scan in progress on the specified LUN. The final status continues to be displayed until cleared using the -H option. -t Set the date and time stamp for both disk array controllers to match that of the host.
ammgr(1M) ammgr(1M) [-V] [-S] Extended help: ammgr -? An error in command syntax has occurred. Re-enter the command with all necessary arguments. ammgr: Arg out of range One of the arguments has exceeded its maximum or minimum size, or is incorrect in form. Check the size and form of each argument. ammgr: The entered does not identify a known, supported array The specified ArrayID does not exist or does not identify a device that is communicating with the system.
ammgr(1M) ammgr(1M) AUTHOR ammgr was developed by HP. a SEE ALSO amdsp(1M), amcfg(1M), amutil(1M), amlog(1M), AM60Srvr(1M).
amutil(1M) amutil(1M) NAME amutil - controls various disk array management functions SYNOPSIS amutil { [ -f channel:ID,channel:ID... ] | [ -F ] | [ -s ] | [ -R LUN -f Freq -a Amt ] | [ -p ] | [ -l ] } [ -V ] ArrayID amutil -? DESCRIPTION amutil controls a variety of management operations on the disk array identified by ArrayID. Locating hardware components and managing the rebuild process are done using amutil .
amutil(1M) amutil(1M) Security Behavior/Restrictions Use of this command is restricted to authorized users only. Command Authorizations This command requires the sysadmin authorization to successfully execute. a Privileges The command has been modified to support least privilege.
amutil(1M) amutil(1M) EXAMPLES Flash the amber LEDs on all the disks in disk array RACK_51: amutil -F RACK_51 Stop flashing the amber LEDs on disk array RACK_51: a amutil -s RACK_51 The following example alters the rebuild priority settings. It assigns a value of 5 seconds to the rebuild command rate, and sets the data block amount to 16 blocks on LUN 4 on disk array RACK_51. This gives host I/Os higher priority than the default settings.
arp(1M) arp(1M) NAME arp - address resolution display and control a SYNOPSIS arp hostname arp arp arp arp arp arp -a[n] [ system ] -a[n] [ system [ core ] ] # PA only [-d | -D ] hostname -f filename -s hostname hw_address [temp ] [pub ] [rif rif_address] -sfc hostname nport_id DESCRIPTION The arp command displays and modifies the Internet-to-Ethernet and Internet-to-Fibre Channel address translation tables used by the Address Resolution Protocol (ARP).
arp(1M) arp(1M) should be delivered. rif_address is given as an even number of hexadecimal bytes separated by colons, up to a maximum of 16 bytes. -sfc Create a permanent ARP entry for the Fibre Channel host called hostname with the N_Port address nport_id. The N_Port address is given as three hexadecimal bytes separated by colons. If an ARP entry already exists for hostname, the existing entry is updated with the new information.
asecure(1M) asecure(1M) NAME asecure - control access to Audio on a workstation SYNOPSIS /opt/audio/bin/asecure [-CdelP ] [+h host] [-h host] [+p user] [-p user] [+u user] [-u user] [+b host ,user] [-b host ,user] a DESCRIPTION On Series 700 workstations, audio is secured so that only the user on the local workstation can access audio. You use the asecure command to modify audio security. This command does not apply to X stations; on an X station, access to audio is unrestricted.
asecure(1M) asecure(1M) +h|-h host Add/delete hostnames for ALL users. You must be either superuser or a privileged user to do this. You can supply more than one hostname separated by blanks. -l List the contents of the ASF. This option shows a list of the hostnames and/or usernames that have access to the Aserver. -P Change password for audio.sec file. You must be superuser to do this. You are prompted once for the old password, then prompted twice for the new password.
aserver(1M) aserver(1M) NAME Aserver - start the audio server SYNOPSIS a /opt/audio/bin/Aserver -f DESCRIPTION The Aserver command starts the HP-UX Audio server, which can run on a system with audio hardware. See Audio(5) for information about which systems have audio hardware. The -f option forces the starting of the Audio server; this option is only needed if the Aserver has problems starting.
aserver(1M) aserver(1M) AUTHOR The Audio Server was developed by HP. SEE ALSO audio(5), asecure(1M), attributes(1), convert(1), send_sound(1).
audevent(1M) audevent(1M) NAME audevent - change or display event or system call audit status SYNOPSIS audevent [-P-p] [-F-f] [-E] [ [-e event ] ... ] [-S] [ [-s syscall ] ... ] audevent [-l] a DESCRIPTION audevent changes or displays the auditing status of the given events or system calls. The event is used to specify names associated with certain self-auditing commands; syscall is used to select related system calls.
audevent(1M) removable login admin ipccreat ipcopen ipcclose ipcdgram uevent1 uevent2 uevent3 audevent(1M) Removable media events. For example, mounting and unmounting events. Login and logout events not related to any particular system call. All administrative and privileged events. Interprocess Communication (IPC) object creation. a IPC object opening. IPC object deletion. IPC Datagram transactions. User-defined event 1 (for self-auditing records). User-defined event 2 (for self-auditing records).
audisp(1M) audisp(1M) NAME audisp - display the audit information as requested by the parameters SYNOPSIS audisp [ -u username ] [ -e eventname ] [ -c syscall ] [ -p ] [ -f ] [ -l ttyid ] [ -t start_time ] [ -s stop_time ] [ -y2 -y4 ] audit_filename ... a DESCRIPTION audisp analyzes and displays the audit information contained in the specified audit_filename audit files. The audit files are merged into a single audit trail in time order.
audomon(1M) audomon(1M) NAME audomon - audit overflow monitor daemon SYNOPSIS /usr/sbin/audomon [ -p fss ] [ -t sp_freq ] [ -w warning ] [ -v ] [ -o output_tty ] DESCRIPTION audomon monitors the capacity of the current audit file and the file system on which the audit file is located, and prints out warning messages when either is approaching full.
audomon(1M) audomon(1M) SEE ALSO audsys(1M), audit(5).
audsys(1M) audsys(1M) NAME audsys - start or halt the auditing system and set or display audit file information SYNOPSIS audsys [ -nf ] [ - c file - s cafs ] [ - x file - z xafs ] DESCRIPTION audsys allows the user to start or halt the auditing system, to specify the auditing system "current" and "next" audit files (and their switch sizes), or to display auditing system status information. This command is restricted to super-users.
audsys(1M) audsys(1M) WARNINGS All modifications made to the audit system are lost upon reboot. To make the changes permanent, set AUDITING , PRI_AUDFILE , PRI_SWITCH , SEC_AUDFILE , and SEC_SWITCH in /etc/rc.config.d/auditing.
audusr(1M) audusr(1M) NAME audusr - select users to audit SYNOPSIS audusr [ [-a user ] ... ] [ [-d user ] ... ] [-A-D] DESCRIPTION audusr is used to specify users to be audited or excluded from auditing. The audusr command only works for systems that have been converted to trusted mode. To select users to audit on systems that have not been converted to trusted mode, the TrustedMigration product needs to be installed and the userdbset command is used.
authadm(1M) authadm(1M) NAME authadm - non-interactive command for administrating the authorization information in the RBAC databases.
authadm(1M) authadm(1M) If object is not specified, then a default object will be assigned. The default object will either be a wild card (*) or the object specified in the security default configuration file, /etc/default/security. roleassign role subrole Assigns a role to another different role. The role being assigned to the other different role is referred to as a subrole. A subrole is any valid role defined in the /etc/rbac/roles database.
authadm(1M) authadm(1M) EXTERNAL INFLUENCES Environment Variables LC_MESSAGES determines the language in which messages are displayed. International Code Set Support Single-byte character code set is supported. a RETURN VALUE Success If authadm is successful, then the return value from authadm is 0. Failure authadm returns a value of 1 and an appropriate error message will be printed to stderr.
authadm(1M) /etc/rbac/role_auth authadm(1M) Database defining the authorizations for each specified role. SEE ALSO cmdprivadm(1M), privrun(1M), rbacdbchk(1M), roleadm(1M), rbac(5).
authck(1M) authck(1M) NAME authck - check internal consistency of Authentication database SYNOPSIS a authck [-p] [-t] [-a] [-v] [-d [ domainname ]] DESCRIPTION authck checks both the overall structure and internal field consistency of all components of the Authentication database. It reports all problems it finds. Only users who have the superuser capability can run this command. When pwck is used with the -s option, authck is run with the -p option automatically.
auto_parms(1M) auto_parms(1M) NAME auto_parms - initial system configuration plus DHCP support command SYNOPSIS auto_parms DESCRIPTION The auto_parms command is a system initialization command that handles first-boot configuration, that is, the setting of unique system "initial identity parameters", and ongoing management of DHCP lease(s). The auto_parms command is invoked at boot time by the /sbin/rc command.
automount(1M) automount(1M) NAME automount - install automatic mount points SYNOPSIS a /usr/sbin/automount [-f master-file] [-t duration] [-v] DESCRIPTION The automount command installs autofs mount points and associates an automount map with each mount point. The autofs filesystem monitors attempts to access directories within it and notifies the automountd daemon (see automountd(1M)).
automount(1M) automount(1M) host is the name of the host from which to mount the file system and pathname is the path name of the directory to mount. Default mount options can be assigned to an entire map when specified as an optional third field in the master map. These options apply only to map entries that have no mount options. Replicated Filesystems Multiple location fields can be specified for replicated NFS filesystems, in which case the information is used to try to increase availability.
automount(1M) automount(1M) Variable Substitution Client specific variables can be used within an automount map. For instance, if $HOST appeared within a map, automount would expand it to its current value for the client’s host name. Supported variables are: CPU HOST OSNAME OSREL OSVERS a The processor type. The possible values are: IA64 , PA10 , PA11 , PA20 . The output of uname -n. The host name. For example, rowboat . The output of uname -s. The OS name. For example, HP-UX . The output of uname -r.
automount(1M) automount(1M) Since each direct map entry results in a new autofs mount, such maps should be kept short. If a directory contains direct map mount points, then an ls -l in the directory will force all the direct map mounts to occur. Entries in both direct and indirect maps can be modified at any time. The new information is used when automountd next uses the map entry to do a mount.
automount(1M) automount(1M) Network Information Service (NIS) and Yellow Pages (YP) The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same. a RETURN VALUE automount returns the following values: 0 Success. 1 Failure. 3 Map not found. AUTHOR automount was developed by Sun Microsystems, Inc. FILES /etc/auto_master /etc/nsswitch.conf /usr/sbin/automount Master automount map. Name service switch configuration file.
automountd(1M) automountd(1M) NAME automountd - autofs mount/unmount daemon SYNOPSIS automountd [-TvnL ] [-D name=value] a DESCRIPTION automountd is an RPC server that answers file system mount and unmount requests from the autofs filesystem. It uses local files or name service maps to locate filesystems to be mounted. These maps are described with the automount command (see automount(1M)). The automountd daemon is automatically invoked if the AUTOFS variable is set to 1 in /etc/rc.config.d/nfsconf.
autopush(1M) autopush(1M) NAME autopush - manage system database of automatically pushed STREAMS modules SYNOPSIS autopush -f file autopush -g -M major -m minor autopush -r -M major -m minor a DESCRIPTION autopush manages the system database that is used for automatic configuration of STREAMS devices. The command is used in three different ways as dictated by the -f , -g , and -r command-line options described below.
autopush(1M) autopush(1M) Then autopush -f /tmp/autopush.example will cause modA and modB to be pushed whenever major device # 75 is opened, and modC and modA to be pushed for the first six opens of device test . This next example lists information about the stream for major device 75 and its minor device -2 : a autopush -g -M 75 -m -2 FILES /usr/lib/nls/msg/C/autopush.cat NLS catalog for autopush . SEE ALSO sad(7), streamio(7).
backup(1M) backup(1M) NAME backup - backup or archive file system SYNOPSIS /usr/sbin/backup [ -A ] [ -archive ] [ -fsck ] b DESCRIPTION The backup command uses find(1) and cpio(1) to save a cpio archive of all files that have been modified since the modification time of /var/adm/archivedate on the default tape drive (/dev/update.src). backup should be invoked periodically to ensure adequate file backup. The -A option suppresses warning messages regarding optional access control list entries.
backup(1M) backup(1M) SEE ALSO cpio(1), find(1), touch(1), cron(1M), fbackup(1M), frecover(1M), fsck(1M), acl(5).
bastille(1M) bastille(1M) NAME bastille - system lockdown tool SYNOPSIS Path (Linux): Path (HP-UX): b /usr/sbin /opt/sec_mgmt/bastille/bin bastille [-b|-c|-x] [-f alternate_config_file] [--os [version] ] bastille [-l|-r|--assess|--assessnobrowser] DESCRIPTION Bastille is a system-hardening/lockdown program that enhances the security of a Unix host. It configures daemons, system settings and firewalls to be more secure.
bastille(1M) bastille(1M) -f alternate_config_file Use an alternate config file versus the default location. -l List applied configuration files. List the configuration files in the configuration file directory that matches the one last used. -r Revert Bastille-modified system files to the state they were in before Bastille was run.
bastille(1M) bastille(1M) DIAGNOSTICS $DISPLAY not set, cannot use X interface... You explicitly asked for the X interface using the -x option, but the DISPLAY environment variable was not set. Set the environment variable to the desired display to correct the problem. System is in original state... You attempted to revert the files that Bastille changes with the -r option, but there were no changes to revert.
bastille(1M) bastille(1M) The action log contains the specific steps that Bastille took when making changes to the system. /var/log/Bastille/TODO (Linux) /var/opt/sec_mgmt/bastille/TODO.txt (HP-UX) The to-do list contains the actions that remain for you to do to ensure the machine is secure. /var/log/Bastille/Assessment/assessment-report.html /var/log/Bastille/Assessment/assessment-report.txt (Linux) b (Linux) /var/log/Bastille/Assessment/assessment-report-log.
bastille_drift(1M) bastille_drift(1M) ($Date: 2007/06/14 22:10:10 $) NAME bastille_drift - system configuration drift analyzer SYNOPSIS Path (Linux): Path (HP-UX): b /usr/sbin /opt/sec_mgmt/bastille/bin bastille_drift [--from_baseline [baseline] ] bastille_drift [--save_baseline [baseline] ] bastille_drift DESCRIPTION bastille_drift is a program for creating Bastille-configuration baselines and comparing the current state of the system to a saved baseline.
bastille_drift(1M) bastille_drift(1M) ($Date: 2007/06/14 22:10:10 $) FILES /var/opt/sec_mgmt/bastille/baselines /etc/Bastille/baselines (HP-UX) (Linux) Default location for baselines if path not specified. /var/opt/sec_mgmt/bastille/baselines/default_baseline (HP-UX) Default location for baseline if file not specified. This is also where Bastille stores an initial baseline here on its first successful run. /var/opt/sec_mgmt/bastille/log/Assessment/Drift.
bdf(1M) bdf(1M) NAME bdf - report number of free disk blocks (Berkeley version) SYNOPSIS /usr/bin/bdf [-b] [-i] [-l] [-s] [-t type [filesystem file] ... ] b DESCRIPTION The bdf command displays the amount of free disk space available either on the specified filesystem (/dev/dsk/c0d0s0, for example) or on the file system in which the specified file (such as $HOME ), is contained. If no file system is specified, the free space on all of the normally mounted file systems is printed.
boot(1M) boot(1M) NAME boot - bootstrap process DESCRIPTION Itanium-based Hardware A Itanium-based system’s bootstrap process involves the execution of four software components: • • • • • CMOS option ROM EFI Boot Manager hpux.efi (see hpux.efi(1M)) b After the processor is reset, firmware initializes and tests processors and platform. During initialization, the firmware lets a user interrupt and configure CMOS and option ROMs. It then transfers control to EFI, the Extensible Firmware Interface.
bootpd(1M) bootpd(1M) NAME bootpd - Internet Boot Protocol server SYNOPSIS /usr/lbin/bootpd [-d debuglevel] [-p ping-timeout] [-t timeout] [-P] [configfile [dumpfile] ] b DESCRIPTION The bootpd daemon implements three functions: a Dynamic Host Configuration Protocol (DHCP) server as defined in RFC1541, an Internet Boot Protocol (BOOTP) server as defined in RFC951 and RFC1395, and a DHCP/BOOTP relay agent as defined in RFC1542. It also contains some of the useful fields as defined in RFC2132.
bootpd(1M) bootpd(1M) relays the request to the DHCP/BOOTP servers that have been configured for this client. If the relay function is enabled for this client, bootpd checks the hops field of the DHCP/BOOTP request packet. The client sets the hops field to 0 when it sends out the DHCP/BOOTP request. The hops value is increased every time the request packet is relayed by a relay agent. The maximum hop number can be configured. The maximum possible hop number allowed is 16. The default maximum is set to 4.
bootpd(1M) bootpd(1M) client relay entry from a group relay entry. The linear sorted table is sorted on the value of tag hm . The search and match mechanism is explained in the discussion of tag hm . Tags for both kinds of entries ha= hardware-address This tag specifies the hardware address of the client. The hardware address must be specified in hexadecimal; optional periods and/or a leading 0x can be included for readability.
bootpd(1M) bootpd(1M) bf= filename This tag specifies the filename of the bootfile that the client should download. The client’s boot request, and the values of the hd (see below) and bf symbols, determine the contents of the bootfile field in the boot reply packet. If the client specifies an absolute path name (in its boot request), and that file is accessible on the server machine (see below), bootpd returns that path name in the reply packet.
bootpd(1M) bootpd(1M) hd= home-directory This tag specifies a directory name to which the bootfile is appended (see the bf tag above). The default value of the hd tag is /. hn The presence of this tag indicates that the client’s host name should be sent in the boot reply. The hn tag is a boolean tag. bootpd attempts to send the entire host name as it is specified in the configuration file or hosts database.
bootpd(1M) bootpd(1M) sa= tftp_server This tag specifies the IP address of the TFTP server where the client’s bootfile resides. When this option is enabled, bootpd uses the IP address specified in this tag for the siaddr field in a BOOTP/DHCP packet header. Otherwise, the IP address of the BOOTP/DHCP server is used in the siaddr field. The sa tag allows the BOOTP/DHCP server and the TFTP server to be two different systems, if desired. sm= subnet-mask b This tag specifies the client’s subnet mask.
bootpd(1M) bootpd(1M) Dhcptab Configuration The configuration file /etc/dhcptab defines groups of IP addresses that to be leased out to clients. It also specifies certain general behaviors of the server, such as whether or not to give addresses from these groups to bootp clients or only to DHCP clients. The configuration file has a format similar to the /etc/bootptab configuration file, with a keyword followed by one or more tag symbols. These tag symbols are separated by colons (:).
bootpd(1M) bootpd(1M) filename : client-id htype haddr ipaddr subnet-mask lease-expiration hostname gateway The old argument list is described for each of the individual callbacks below. call-on-unrequited=filename This tag specifies an executable file filename that will be called when the server receives a request to which it cannot send a response.
bootpd(1M) bootpd(1M) filename : client-id htype haddr ipaddr subnet-mask lease-expiration where client-id is the client ID in hex if present, or 00 if there is no client ID. htype is the hardware type as per the ARP section of the "Assigned Numbers" RFC. haddr is the hardware address in hex. ipaddr is the IP address that was assigned to the client. subnet-mask is the subnet mask of the client represented as an IP address.
bootpd(1M) bootpd(1M) addresses in the same group. It is not appropriate for dhcp_default_client_settings. lease-time= seconds This tag specifies the time in seconds that a lease should be given to each client. The word "infinite" may be used to specify leases that never expire. The default is "infinite." Note that if a client asks for a shorter lease than is configured for it, it will get that shorter lease time. A lease time shorter than 120 seconds will be silently upgraded to 120.
bootpd(1M) bootpd(1M) struct in_addr unsigned char unsigned char unsigned char unsigned char giaddr; chaddr[16]; sname[64]; file[128]; options[312]; /* /* /* /* /* gateway IP address */ client hardware address */ server host name */ boot file name */ options area */ }; b DHCP Option Numbers The DHCP/BootP options discussed above correspond to the option numbers in RFC1533 as follows: Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 28 33 40 41 42 43 44 45 46 47 48 49 51 58 59 60 61 64 65 69 Tag
bootpd(1M) bootpd(1M) xterm1:\ tc=global.defaults:\ ha=08000903212F:\ ip=190.40.101.22 xterm2:\ tc=global.defaults:\ ha=0800090324AC:\ ip=190.40.101.35 b # Common relay entry. relay-default:\ ht=ethernet:\ bp=15.4.3.136 15.13.6.192:\ th=2:\ hp=5: # Relay entry for node2 node2:\ tc=relay-default:\ ha=08000902CA00: # Group relay entry group-machines:\ tc=relay-default:\ ha=080009000000:\ hm=080009000000: # Turn the relay off (block the relay) for the following machines.
bootpd(1M) bootpd(1M) # id "xterminal" on subnet 15.14.128. Address leases will be granted # for up to 1 week. The server will use a broadcast message to # respond to all client requests. DHCP_DEVICE_GROUP:\ ba:\ class-name=SUBNET_128_XTERMINAL_GROUP:\ class-id="xterminal:"\ subnet-mask=255.255.255.0 :\ addr-pool-start-address= 15.14.128.1 :\ addr-pool-last-address= 15.14.128.254 :\ lease-time=604800 :\ lease-grace-period=5 :\ b # The next entry grants IP leases to any device on subnet # 15.13.128.
bootpquery(1M) bootpquery(1M) NAME bootpquery - send BOOTREQUEST to BOOTP server SYNOPSIS /usr/sbin/bootpquery haddr [ htype ] [ options ] DESCRIPTION bootpquery is a diagnostic function used to check the configuration of the Internet Bootstrap Protocol (BOOTP) server, bootpd(1M). This function can only be run by the superuser, since it uses reserved ports.
bootpquery(1M) bootpquery(1M) SEE ALSO bootpd(1M), tftp(1), tftpd(1M). DARPA Internet Request For Comments RFC951, RFC1048, RFC1084, RFC1395, RFC1542 Assigned Numbers.
cachefsstat(1M) cachefsstat(1M) NAME cachefsstat - Cache File System statistics SYNOPSIS cachefsstat [ -z ] [ path... ] DESCRIPTION The cachefsstat command displays statistical information about the cache filesystem mounted on path. The statistical information includes cache hits and misses, consistency checking, and modification operations. If path is not specified, all mounted cache filesystems are used. cachefsstat can also be used to reinitialize this information (see -z option).
captoinfo(1M) captoinfo(1M) NAME captoinfo - convert a termcap description into a terminfo description SYNOPSIS captoinfo [-1v ] [-wn] [filenames] DESCRIPTION captoinfo looks in filenames for termcap(3X) descriptions. For each one found, an equivalent terminfo(4) description is written to standard output along with any comments found. The short two letter name at the beginning of the list of names in a termcap entry, a holdover from Version 6 UNIX, is removed.
captoinfo(1M) captoinfo(1M) Null termname given. The terminal type was null. This occurs when $TERM is null or not set. cannot open "file" for reading. The specified file could not be opened. Warning: cannot translate capability (unsupported in terminfo). This termcap capability is no longer supported in terminfo, and therefore cannot be translated. WARNINGS Certain termcap defaults are assumed to be true. For example, the bell character (terminfo bel) is assumed to be ˆG.
catman(1M) catman(1M) NAME catman - create the cat files for the on-line manpages SYNOPSIS /usr/sbin/catman [-A alt-path] [-p] [-m] [-n] [-w] [-z] [sections] c DESCRIPTION The catman command creates the formatted versions of the online mapages from nroff -compatible source files. Each manpage in the man*.Z and man* directories is examined, and those whose formatted versions are missing or out-of-date are recreated.
catman(1M) catman(1M) catman -z -n 11m Run catman from a server to create cat* entries for a diskless client under the alternate root /export/shared_roots/OS_700: catman -A /export/shared_roots/OS_700 This will create cat* manpages under: /export/shared_roots/OS_700/usr/share/man/ /export/shared_roots/OS_700/usr/contrib/man/ /export/shared_roots/OS_700/usr/local/man/ and a whatis file in: /export/shared_roots/OS_700/usr/share/lib/whatis Create cat* entries for an application and merge the information wi
cfsadmin(1M) cfsadmin(1M) NAME cfsadmin - administer disk space used for caching file systems with the Cache File-System (CacheFS) SYNOPSIS cfsadmin cfsadmin cfsadmin cfsadmin cfsadmin c -c -d -l -s -u [ -o cacheFS-parameters ] cache_directory [ cache_ID | all ] cache_directory cache_directory [ mntpt1 . . .
cfsadmin(1M) minblocks= n cfsadmin(1M) Minimum amount of storage space, expressed as a percentage of the total number of blocks in the front file system, that CacheFS is always allowed to use without limitation by its internal control mechanisms. If CacheFS does not have exclusive use of the front file system, there is no guarantee that all the space the minblocks parameter attempts to reserve will be available. The default is 0.
cfsadmin(1M) cfsadmin(1M) cfsadmin -s all AUTHOR cfsadmin was developed by Sun Microsystems, Inc. SEE ALSO fsck_cachefs(1M), mount_cachefs(1M).
ch_rc(1M) ch_rc(1M) NAME ch_rc - change system configuration file SYNOPSIS /usr/sbin/ch_rc -a |-r|-l [-v] [-A] [-R root] [-p {parameter|parameter=value}...] [ file ...] DESCRIPTION ch_rc manages the addition, modification, removal, and retrieval of information stored in files having the format of those in the /etc/rc.config.d directory. Parameter names are treated as strings. Thus, X[0] has no special meaning to ch_rc in relation to other parameters named X[1] or X .
ch_rc(1M) ch_rc(1M) -R root Normally, the files specified on the command line are used as specified. By specifying a root directory with the -R option, all files (including the default files if none are specified) will be interpreted relative to root. For example, if root is specified as /foo and /etc/TIMEZONE is specified on the command line, it will be interpreted as /foo/etc/TIMEZONE.
check_patches(1M) check_patches(1M) NAME check_patches - HP-UX 11i patch check utility SYNOPSIS check_patches [-imopsv ] DESCRIPTION The check_patches utility checks for installation problems and issues related to patches on HP-UX 11i.
chnlspath(1M) chnlspath(1M) NAME chnlspath - configure message catalog path SYNOPSIS chnlspath [-adlsc ] [pseudo-pathname] DESCRIPTION chnlspath is used to modify the contents of the configuration file /etc/default/nlspath. chnlspath recognizes the following options and command-line arguments: c Options -l List the contents of the configuration file /etc/default/nlspath. -c -s -a -d Switch to compatible mode. Switch to secure mode. Add an entry to the configuration file /etc/default/nlspath.
chroot(1M) chroot(1M) NAME chroot - change root directory for a command SYNOPSIS /usr/sbin/chroot newroot command DESCRIPTION The chroot command executes command relative to the newroot. The meaning of any initial slashes (/) in path names is changed for command and any of its children to newroot. Furthermore, the initial working directory is newroot. Note that command suffixes that affect input or output for the chroot command use the original root, not the new root.
cleanup(1M) cleanup(1M) NAME cleanup - HP-UX patch cleanup utility SYNOPSIS cleanup cleanup cleanup cleanup c [-n|-p] -c number [-n|-p] -d depot [-o {10 |11 }] [-e {true |false }] [-n|-p] -i [-n|-p] -s DESCRIPTION The cleanup command provides functions useful when dealing with HP-UX patches on HP-UX. The cleanup command logs all information to /var/adm/cleanup.log. Options cleanup recognizes the following options: -p Preview the cleanup task but do not actually perform the requested action.
cleanup(1M) cleanup(1M) WARNINGS Extreme care should be used when committing patches. Once a patch has been committed, it cannot be removed from the system. Patches should only be committed when you are satisfied with their behavior. Recovering disk space should not be the only factor considered when committing patches. AUTHOR cleanup was developed by HP. SEE ALSO show_patches(1), sysdiff(1), check_patches(1M), swlist(1M), swmodify(1M), swremove(1M), sd(4).
clear_locks(1M) clear_locks(1M) NAME clear_locks - clear locks held on behalf of an NFS client SYNOPSIS /usr/sbin/clear_locks [-s] hostname c DESCRIPTION The clear_locks command removes all file, record, and share locks created by the hostname and held on the current host, regardless of which process created or owns the locks. This command can be run only by the super-user. This command should only be used to repair the rare case of a client crashing and failing to clear held locks.
clri(1M) clri(1M) NAME clri - clear inode SYNOPSIS /usr/sbin/clri special i-number ... DESCRIPTION The clri command clears the inode i-number by filling it with zeros. special must be a special file name referring to a device containing a file system. For proper results, special should not be mounted (see WARNINGS below). After clri is executed, all blocks in the affected file show up as "missing" in an fsck of special (see fsck(1M)). This command should only be used in emergencies.
clrsvc(1M) clrsvc(1M) (TO BE OBSOLETED) NAME clrsvc - clear x25 switched virtual circuit SYNOPSIS clrsvc line pad-type c DESCRIPTION The uucp commands, including clrsvc , are targeted for removal from HP-UX; see the WARNINGS below. clrsvc clears any virtual circuit that might be established on the specified line. pad-type indicates to clrsvc what opx25 script to run from /usr/lbin/uucp/X25. DEPENDENCIES HP 2334A is the only PAD supported at this time, and results in an opx25 execution of HP2334A.clr .
cmdprivadm(1M) cmdprivadm(1M) NAME cmdprivadm - noninteractive editing of a command’s authorization and privilege information in the privrun database SYNOPSIS cmdprivadm add option =value [option=value]... cmdprivadm delete option =value [option=value]... DESCRIPTION cmdprivadm is a noninteractive command that allows user with appropriate permission to add or delete a command and its privileges in the Role-Base Access /etc/rbac/cmd_priv. See privrun(1M) for more details on this file.
cmdprivadm(1M) cmdprivadm(1M) cmdprivadm with particular options: hpux.security.access.privrun.add,* Allows user to run cmdprivadm with add options. hpux.security.access.privrun.delete,* Allows user to run cmdprivadm with delete options. c EXTERNAL INFLUENCES Environment Variables LC_MESSAGES determines the language in which messages are displayed. International Code Set Support Single-byte character code set is supported.
cmpt_tune(1M) cmpt_tune(1M) NAME cmpt_tune - query, enable, or disable compartmentalization feature SYNOPSIS cmpt_tune cmpt_tune cmpt_tune cmpt_tune cmpt_tune -h [-q] [-s] -Q [-s] [-n boot_image] [-Q] [-s] -n boot_image {-d|-e } [-r] [-s] [-n boot_image] c DESCRIPTION cmpt_tune queries, enables, or disables the compartmentalization feature. Compartmentalization is not a dynamic feature; enabling or disabling the feature requires a reboot.
cmpt_tune(1M) cmpt_tune(1M) 2 When querying, the kernel configuration specified does not exist or has no support for compartmentalization. WARNINGS A network interface that is not assigned to any compartment cannot be accessed by any process and effectively cannot be used. Assign at least one network interface to a compartment so that network communications can function. If the -e or -d option is used in conjunction with the -n option, any prior changes pending to the current configuration are lost.
convert_awk(1M) convert_awk(1M) NAME convert_awk - converts old sendmail.cf files to new format SYNOPSIS /usr/newconfig/etc/mail/convert_awk DESCRIPTION convert_awk is an awk program that will convert pre-HP-UX 10.20 sendmail.cf files into the format required by sendmail 8.7 and up. To run it, use: awk -f convert_awk < old.cf > new.cf Note that the new sendmail.cf files offer a wealth of new options and features. You should STRONGLY consider making a new sendmail.
convertfs(1M) convertfs(1M) NAME convertfs - convert an HFS file system to allow long file names SYNOPSIS /usr/sbin/convertfs [-q] [special-file] c DESCRIPTION The convertfs command converts an existing HFS file system supporting the default maximum file name length of 14 characters into one that supports file names up to 255 characters long.
cplxmodify(1M) cplxmodify(1M) NAME cplxmodify - modify an attribute of a system complex SYNOPSIS cplxmodify [-N ComplexName] [ [ -u username :[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ] DESCRIPTION The cplxmodify command modifies attributes of the complex of a partitionable system. The command is the equivalent, at the complex level, of the parmodify command, which modifies attributes of an nPartition.
cplxmodify(1M) cplxmodify(1M) IPaddress|hostname specifies the IP address or hostname of the target partition (-u ) or complex (-g). -g [passwd ] Allows access to the complex specified by the -h option. The accessed complex is then considered the target complex. Access is via the service processor’s LAN port. The -h option is required if this option is used. passwd specifies the IPMI password of the service processor. If this field is omitted, the command prompts for the password.
cplxmodify(1M) cplxmodify(1M) AUTHOR cplxmodify was developed by the Hewlett-Packard Company. SEE ALSO fruled(1), parstatus(1), frupower(1M), parunlock(1M), partition(5). parcreate(1M), parmgr(1M), parmodify(1M), parremove(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.
cpset(1M) cpset(1M) NAME cpset - install object files in binary directories SYNOPSIS cpset [-o] object directory [-mode [-owner [-group] ] ] c DESCRIPTION The cpset command installs the specified object file in the given directory. The mode, owner, and group, of the destination file can be specified on the command line.
crashconf(1M) crashconf(1M) NAME crashconf - configure system crash dumps SYNOPSIS /sbin/crashconf [-artv ] [-i-e class] [-c mode] ... [device...] DESCRIPTION crashconf displays and/or changes the current system crash dump configuration. The crash dump configuration consists of: • The crash dump device list. This list identifies all devices that can be used to store a crash dump. • The included class list. This list identifies all system memory classes that must be included in any crash dump.
crashconf(1M) crashconf(1M) -t When used with the -i, -e or -c options, sets the dump tunables alwaysdump, dontdump and dump_compress_on respectively, to make the changes persistent across system reboots. -v Displays the current crash dump configuration. This is the default option if no arguments are specified. If any changes to the current configuration are specified on the same command line as -v , the configuration will be displayed after the requested changes are made.
crashutil(1M) crashutil(1M) NAME crashutil - manipulate crash dump data SYNOPSIS /usr/sbin/crashutil [-q] [-v version] source [destination] DESCRIPTION crashutil copies and preserves crash dump data, and performs format conversions on it. Common uses of crashutil include: • Copying portions of a dump that still reside on a raw dump device into a crash dump directory. • Converting between different formats of crash dumps. • Copying crash dumps from one directory, or medium, to another.
crashutil(1M) 0 1 crashutil(1M) The operation was successful. The operation failed, and an appropriate error message was printed. EXAMPLES An HP-UX 11.00 crash dump was saved by savecrash(1M) to /var/adm/crash/crash.2. The -p flag was specified to savecrash, specifying that only those portions of the dump which were endangered by swap activity should be saved; the rest are still resident in the raw dump devices.
create_sysfile(1M) create_sysfile(1M) NAME create_sysfile - create a kernel system file SYNOPSIS /usr/lbin/sysadm/create_sysfile [outfile] DESCRIPTION The create_sysfile command creates a kernel configuration description file (system file) which can be used as input to the commands kconfig(1M) or mk_kernel(1M). The system file that is generated is of type version 1 (see system (4)) and is built according to the drivers required by the current system hardware.
cron(1M) cron(1M) NAME cron - timed-job execution daemon SYNOPSIS /usr/sbin/cron c DESCRIPTION cron executes commands at specified dates and times. Regularly scheduled commands can be specified according to instructions placed in crontab files. Users can submit their own crontab files with a crontab command (see crontab(1)). Users can submit commands that are to be executed only once with an at or batch command. Since cron never exits, it should be executed only once.
cron(1M) cron(1M) For the period of 1:00 a.m. to 4:00 a.m.
dcopy(1M) dcopy(1M) NAME dcopy - copy HFS file system with compaction. SYNOPSIS /usr/sbin/dcopy [-d] [-ffsize[:isize] ] [-F hfs ] [-scyl :skip] [-v] [-V] source_fs destination_fs d DESCRIPTION The dcopy command copies an existing HFS file system (source_fs) to a new HFS file system (destination_fs), appropriately sized to hold the reorganized results. For best results, the source file system should be a raw device, and the destination file system should be a block device.
dcopy(1M) dcopy(1M) STANDARDS CONFORMANCE dcopy : SVID3 d HP-UX 11i Version 2: December 2007 Update −2− Hewlett-Packard Company 155
devnm(1M) devnm(1M) NAME devnm - device name SYNOPSIS /usr/sbin/devnm [ name ... ] DESCRIPTION For each name specified, the devnm command identifies the special file associated with the mounted file system where the named file or directory resides. d EXAMPLES The command: /usr/sbin/devnm /usr produces: /dev/dsk/c1d0s9 /usr if /usr is mounted on /dev/dsk/c1d0s9. FILES /dev/dsk/* /etc/mnttab Mounted file system table.
df(1M) df(1M) NAME df - report number of free file system disk blocks SYNOPSIS [-F [specialdirectory]... /usr/bin/df FStype] [-befgiklnsv ] [-t|-P ] [-o specific_options] [-V] DESCRIPTION The df command displays the number of free 512-byte blocks and free inodes available for file systems by examining the counts kept in the superblock or superblocks. If a special or a directory is not specified, the free space on all mounted file systems is displayed.
df(1M) df(1M) International Code Set Support Single-byte and multi-byte character code sets are supported.
df_hfs(1M) df_hfs(1M) NAME df_hfs: df - report number of free CDFS, HFS, or NFS file system disk blocks SYNOPSIS /usr/bin/df [-F FStype] [-befgiklntv ] [-B] [-o specific_options] [-V] [specialdirectory]... DESCRIPTION The df command displays the number of free 512-byte blocks and free inodes available for file systems by examining the counts kept in the superblock or superblocks. If a special or a directory is not specified, the free space on all mounted file systems is displayed.
df_hfs(1M) df_hfs(1M) df Report the number of free disk blocks for all mounted HFS file systems: df -F hfs Report the number of free files for all mounted NFS file systems: df -F nfs -e Report the total allocated block figures and the number of free blocks, for all mounted file systems: df -t Report the total allocated block figures and the number of free blocks, for the file system mounted as /usr : d df -t /usr WARNINGS df does not account for: • • • • • Disk space reserved for swap space, Space u
df_vxfs(1M) df_vxfs(1M) NAME df_vxfs: df - report number of free disk blocks on a VxFS file system SYNOPSIS df [-F vxfs ] [-V] [-befgiklntv ] [-o s] [special|directory]... DESCRIPTION df prints the number of free blocks and free inodes in VxFS file systems or directories based on the counts kept in the super-blocks. VxFS dynamically allocates inodes from a pool of free blocks.
df_vxfs(1M) df_vxfs(1M) df Report the number of free extents of each size, for all mounted VxFS file systems: df -F vxfs -o s Report the number of free files for all mounted VxFS file systems: df -F vxfs -e Report the total allocated block figures and the number of free blocks, for all mounted file systems: df -t Report the total allocated block figures and the number of free blocks, for the file system mounted as /usr : d df -t /usr FILES /dev/vg00/* /dev/dsk/* /etc/fstab /etc/mnttab File-system d
dhcpclient(1M) dhcpclient(1M) NAME dhcpclient - Client for Dynamic Host Configuration Protocol Server SYNOPSIS dhcpclient [-G] [-N hostname] -b interface [-f tracefile] [-g class-id] [-l debug_level] [-n] [-p] [-s server_ipaddress] [-t log_type ] [-x send_attempts] [-z time_to_wait ] dhcpclient -d interface [-s server_ipaddress] dhcpclient [-N hostname] [-f tracefile] [-l debug_level] -m interface [-p] [-s server_ipaddress] [-t log_type ] [-z time_to_wait ] dhcpclient [-f tracefile] [-l debug_level] [-p]
dhcpclient(1M) dhcpclient(1M) configuration file, /etc/dhcpclient.data. While trying to read the /etc/dhcpclient.data file, the following conditions are possible: 1. It may be possible that the configuration file had been deleted or it may not be available for reading. 2. The file may have got corrupted and contains irrelevant data for the particular interface. 3. There may be no configuration information for the particular interface. 4.
dhcpclient(1M) dhcpclient(1M) -s server_ipaddress This option is used to specify the ip address of the DHCP server to which the request should be sent. server_ipaddress should be specified in dotted decimal form. -t log_type If the log_type is a non zero value and if the debug_level is low enough for the process to detach from the tty (see syslog(3C)), then, the logging goes to syslog , else it goes to STDERR . This option is used when the dhcpclient is running as a daemon.
dhcpclient(1M) dhcpclient(1M) SEE ALSO auto_parms(1M), bootpd(1M), bootpquery(1M), dhcptools(1M), syslog(3C). DARPA Internet Request For Comments: RFC1541, RFC1542, RFC1533, RFC1534, Assigned Numbers RFC.
dhcpdb2conf(1M) dhcpdb2conf(1M) NAME dhcpdb2conf - convert DHCP client database to config file parameters SYNOPSIS dhcpdb2conf [-pac] [-hdirnt] [-s index] [lan-interfaces] DESCRIPTION The dhcpdb2conf command translates a client system’s DHCP database parameters (from dhcpclient(1M)) into a set of standard configuration file parameters. This is an essential step for configuring a DHCP client system, and is invoked by auto_parms(1M) upon every reboot when DHCP is active.
dhcpdb2conf(1M) dhcpdb2conf(1M) domain nameserver /etc/rc.config.d/netconf HOSTNAME INTERFACE_NAME[index ] IP_ADDRESS[ index ] SUBNET_MASK[ index ] BROADCAST_MASK[index ] LANCONFIG_ARGS[index ] ROUTE_DESTINATION[index ] ROUTE_GATEWAY[index ] ROUTE_COUNT[ index ] /etc/rc.config.d/namesvrs NISDOMAIN YPSET_ADDR /etc/rc.config.
dhcptools(1M) dhcptools(1M) NAME dhcptools - command line tool for DHCP elements of bootpd SYNOPSIS dhcptools -d dhcptools -h fip= first_IP_address no= number_of_entries_to_generate sm= subnet_mask hn= hostname_template [dn= domain_name] dhcptools -p ht= hardware_type ha= hardware_address sn= subnet_identifier [lt= lease_time ] [rip= requested_IP_address] dhcptools -P ci= client_identifier sn= subnet_identifier [lt= lease_time ] [rip= requested_IP_address] dhcptools -C cl= class_identifier sn= subnet_ide
dhcptools(1M) dhcptools(1M) group from which the client is requesting an IP address. See bootpd(1M). d -r Reclaim a client’s IP address for re-use by the bootpd server. This option is intended for limited use by the bootpd administrator to return an allocated but unused IP address to a DHCP allocation pool. The option may be useful to clear the bootpd database of old entries (e.g. for clients retired from service while holding an unexpired IP address lease).
dhcptools(1M) dhcptools(1M) dhcptools -v bt=/home/mydir/bootptab dt=/home/mydir/dhcptab WARNINGS The dhcptools operations of dump, packet trace, preview, and reclaim depend on communication with the local bootpd server. If the server is not running, you may encounter an error. AUTHOR dhcptools was developed by HP. FILES /tmp/dhcphosts /tmp/dhcptrace /tmp/dhcpvalidate /tmp/libdhcp.sl /tmp/dhcp.dump.bootptab /tmp/dhcp.dump.dhcptab /tmp/dhcp.dump.other /etc/bootptab /etc/dhcptab /tmp/dhcpfifo.
dhcpv6clientd(1M) dhcpv6clientd(1M) NAME dhcpv6clientd - DHCPv6 client daemon SYNOPSIS /usr/sbin/dhcpv6clientd [-d config_options] [-l] DESCRIPTION dhcpv6clientd obtains the configuration parameters from the Dynamic Host Configuration Protocol (DHCPv6) server to configure the host. See dhcpv6d(1M). d Options dhcpv6clientd supports the following options: -d config_options Specify the list of parameters that the client daemon must request from the server daemon.
dhcpv6clientd(1M) 15 16 17 18 dhcpv6clientd(1M) SLP DA address and its scope SLP Service Scope Time Zone Retransmission Variables The field denotes the length of the data field following it. All these lines collectively indicate one record. The configuration file will have a series of record. See the EXAMPLE section below for a sample configuration file.
dhcpv6d(1M) dhcpv6d(1M) NAME dhcpv6d - Dynamic Host Configuration Protocol Server daemon for IPv6 SYNOPSIS /usr/sbin/dhcpv6d [-d] [-c config_file] /usr/sbin/dhcpv6d -k /usr/sbin/dhcpv6d -r d DESCRIPTION The dhcpv6d server daemon is the IPv6 version of the bootpd daemon.
dhcpv6d(1M) • dhcpv6d(1M) The client may have other addresses in other IAs, so the client can discard the expired IA and use the addresses in the other IAs. The client sends a RELEASE message to release an IA. This message is sent to the server that assigned the addresses to the client initially and the client will wait until the timeout value expires. If the server cannot be reached after 5 attempts, the client will abandon this release attempt.
dhcpv6d(1M) dhcpv6d(1M) scope list should be as per the format specified in RFC 2165. SLP-scope-list=scope-list ; This tag specifies the scope list. The scope list should be as per the format specified in RFC 2165. The message transaction configuration values are as listed below: min-sol-delay=seconds ; This tag specifies the minimum allowable delay (in seconds) before the first SOLICIT message is sent.
dhcpv6d(1M) dhcpv6d(1M) reserved-addresses=list-of-IPv6-addresses ; This tag specifies the list of reserved IPv6 addresses separated by a white space. preference= unsigned-integer ; This tag specifies the server preference to manage the subnet. This value can range between 0 and 255. T1= time-value-in-seconds ; This variable is used by the server to control the time at which the client contacts the server to extend the lifetimes on assigned addresses.
dhcpv6d(1M) dhcpv6d(1M) default-settings=TESTING-GROUP;\ subnet-prefix=3ffe:305:1002:1::;\ prefix-length=64;\ T1=56;\ T2=90;\ preferred-life-time=300;\ valid-life-time=500;\ address-pool = 3ffe:305:1002:1:200:c0ff:fe23:b560 3ffe:305:1002:1:200:c0ff:fe23:b570 3ffe:305:1002:1:200:c0ff:fe23:b580 3ffe:305:1002:1:200:c0ff:fe23:b590;\ preference=255;\ NTP-server-address=3ffe::200:fe23:b102; d DHCP_RELAY_SETTINGS;\ pool-group-name=RED-POOL;\ subnet-prefix=5ffe:305:1002:1::;\ prefix-len=64;\ dest-dhcp-server-ad
dhcpv6db2conf(1M) dhcpv6db2conf(1M) NAME dhcpv6db2conf - DHCPv6 client database converter SYNOPSIS /usr/bin/dhcpv6db2conf [-a | -c | -p] [-d] [-i] [-n] [-t] [lan_interfaces] DESCRIPTION dhcpv6db2conf provides a means of translating the DHCPv6 client database, /etc/dhcpv6client.data, into a set of standard configuration file variables. The client database consists of a series of records. Each record represents a unique lan interface and a list of attributes, which correspond to that interface.
dhcpv6db2conf(1M) dhcpv6db2conf(1M) /etc/resolv.conf domain nameserver EXAMPLES To list the entire contents of the DHCP client database type: dhcpv6db2conf To list only the INTERFACE variable set for lan0 type: dhcpv6db2conf -i lan0 d WARNINGS The NIS and NTP parameters are not IPv6-compatible. Hence do not use dhcpv6db2conf to update them. AUTHOR dhcpv6db2conf was developed by Hewlett-Packard. FILES /etc/dhcpv6client.data Client configuration database SEE ALSO dhcpv6clientd(1M), dhcpv6d(1M).
dig(1M) dig(1M) NAME dig - domain information groper SYNOPSIS dig [@server] [options] domain [query-type] [query-class] [query-options] dig [@global-server] [global-d-options] domain [@server] [options] [domain [@server ][options] [q-options] [q-type] [q-class] [... ]] [q-options] [q-type] [q-class] DESCRIPTION dig (domain information groper) is a flexible tool for interrogating Domain Name System (DNS) servers.
dig(1M) dig(1M) -f This option is used to perform batch processing. It allows to group queries into one file and to pass this file to dig for processing. Example: dig -f /home/bind/some-file, where some-file contains all the queries that need to be processed as a group. -k This option is used to sign the DNS queries sent by dig and their responses using transaction signatures (TSIG). -p This option can be used when you want to specify a different port for dig to contact the name-server for its queries.
dig(1M) dig(1M) +[no]adflag Set [or do not set] the AD (authenticate data) bit in the query. The AD bit currently has a standard meaning only in responses and not in queries. The ability to set the bit in the query is provided for completeness. +[no]cdflag Set [or do not set] the CD (checking disabled) bit in the query. This requests the server not to perform DNSSEC validation of responses. +[no]recursive Set [or do not set] the RD (recursion desired) bit in the query.
dig(1M) dig(1M) +[no]all Set or clear all display flags. +time= T Set the timeout for a query to T seconds. The default timeout is 5 seconds, and 1 second is the minimum value to which T can be set. Even if you try setting T to a value less than 1, T will be set to 1 second. +tries= A This option sets the number of times to retry UDP queries to server to A instead of the default, 3. If A is less than or equal to zero, then the number of retries is set to 1.
dig(1M) dig(1M) where 1234abcd8765 is the key. To secure server-to-server communication BINDv9 primarily uses TSIG for zone transfer, notify, and recursive query messages. TSIG is very useful for dynamic updates. SEE ALSO dnssec-keygen(1), dnssec-makekeyset(1), dnssec-signkey(1), dnssec-signzone(1), hosts_to_named(1M), lwresd(1M), named(1M), gethostent(3N), hostname(5).
diskinfo(1M) diskinfo(1M) NAME diskinfo - describe characteristics of a disk device SYNOPSIS /usr/sbin/diskinfo [-b-v] character_devicefile DESCRIPTION The diskinfo command determines whether the character special file named by character_devicefile is associated with a SCSI or floppy disk drive. If so, diskinfo summarizes the disk’s characteristics.
disksecn(1M) Servers Only disksecn(1M) NAME disksecn - calculate default disk section sizes SYNOPSIS disksecn [-p-d] [-b block_size] [-n disk_name] DESCRIPTION disksecn is used to calculate the disk section sizes based on the Berkeley disk partitioning method. disksecn recognizes the following options: -p Produce tables suitable for inclusion in the device driver. -d Produce tables suitable for generating the disk description file /etc/disktab .
disksecn(1M) disksecn(1M) Servers Only This adjustment also takes place when the disk name is known and an assumed sector size (block size) is passed in as the argument of the -b switch which is not DEV_BSIZE bytes, the assumed sector size (block size) used to create the /etc/disktab file. RETURN VALUE disksecn returns the following values: 0 Successful completion. 1 Usage error. 2 User did not input parameters for an unknown disk. 3 Disk too small or an invalid block size.
diskusg(1M) diskusg(1M) NAME diskusg - generate disk accounting data by user ID SYNOPSIS /usr/sbin/acct/diskusg [ options ] [ files ] DESCRIPTION diskusg generates intermediate disk accounting information from data in files, or the standard input if omitted. diskusg outputs lines on the standard output, one per user, in the following format: uid login #blocks d where: uid User’s numerical user ID, login User’s login name, and #blocks Total number of disk blocks allocated to this user.
dmesg(1M) dmesg(1M) NAME dmesg - collect system diagnostic messages to form error log SYNOPSIS /usr/sbin/dmesg [-] [core ] [system ] d DESCRIPTION dmesg looks in a system buffer for recently printed diagnostic messages and prints them on the standard output. The messages are those printed by the system when unusual events occur (such as when system tables overflow or the system crashes).
dpp(1M) dpp(1M) NAME dpp - dedicated ports parser used by DDFA software SYNOPSIS dpp dp_file [-c] [-k] [-l log_file] [-p ocd_program ] DESCRIPTION The Dedicated Ports Parser command (dpp ) is part of the Data Communications and Terminal Controller (DTC) Device File Access (DDFA) software. It parses the Dedicated Ports file (dp ) and spawns an Outbound Connection Daemon (ocd ) for each valid entry in the dp file.
dpp(1M) dpp(1M) The log file cannot be created, either because of an invalid path or because of insufficient access privileges. (5) ERROR: Cannot access log file (-l filename ) The log file cannot be accessed, either because of an invalid path or because of insufficient access privileges. The log file must be readable by everyone.
dpp(1M) dpp(1M) The printer interface scripts reside in the directory /etc/lp/interface. The line must be added just prior to the final ’exit’ command in each printer interface script. If this line is not added as specified, the printing reliability of printers attached to a terminal server is not guaranteed. Finally, ocd should be killed using kill -15 . Do not use kill -9 for this purpose as it does not remove the device file. ocd verifies the validity of an existing pseudonym before trying to use it.
drd(1M) drd(1M) NAME drd - manage an inactive system image SYNOPSIS drd [-?] [-x -?] Command Modes drd drd drd drd drd drd d activate [-?] [-p] [-v] [-x option=value] [-x -?] [-X option_file] clone [-?] [-p] [-v] -t target_device_file [-x option=value] [-x -?] [-X option_file] deactivate [-?] [-p] [-v] [-x option=value] [-x -?] [-X option_file] mount [-?] [-p] [-v] [-x option=value] [-x -?] [-X option_file] runcmd [-?] [-v] [-x option=value] [-x -?] [-X option_file] cmd [args] umount [-?] [-p] [-v] [-x
drd(1M) drd(1M) major_mode .extended_option =value For example: clone.verbosity=5 Refer to the DESCRIPTION section for an explanation of major modes. # comment Comment lines begin with # and are ignored. RETURN VALUE The drd command modes return one of the following values: 0 1 2 Success. d Error. Warning.
drd(1M) drd(1M) drd runcmd swlist To install PHCO_0001 from the depot /var/opt/patches, located on the system patchsvr : drd runcmd swinstall -s patchsvr:/var/opt/patches PHCO_0001 To run a preview installation of PHCO_0001 from the depot /var/opt/patches, located on the system patchsvr : drd runcmd swinstall -p -s patchsvr:/var/opt/patches PHCO_0001 To verify all software on the inactive system image: drd runcmd swverify \* d To remove PHKL_9999 from the inactive system image: drd runcmd swremove P
drd(1M) # drd clone -p drd(1M) -t /dev/dsk/c1t3d0 -x overwrite=true -X /tmp/drd_defaults AUTHOR drd was developed by HP. FILES /var/opt/drd/drd.log Log file. SEE ALSO drd-activate(1M), drd-clone(1M), drd-deactivate(1M), drd-mount(1M), drd-runcmd(1M), drd-umount(1M) Dynamic Root Disk Administrator’s Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD.
drd-activate(1M) drd-activate(1M) NAME drd-activate: drd - activate mode sets the inactive system image to be the primary boot disk the next time the system is booted SYNOPSIS drd activate [-?] [-p] [-q]... [-v]... [-x option=value]... [-x -?] [-X option_file] d DESCRIPTION The drd activate command invokes the setboot command (see setboot(1M)) to set the primary boot disk to the inactive system image. If a clone has just been created, the inactive system image is the target of the clone operation.
drd-activate(1M) drd-activate(1M) 2 Adds NOTE messages. 3 Adds INFO messages (informational messages preceded by the * character). 4 Adds verbose INFO messages. 5 Adds very-verbose INFO messages. -x preview=false Usage: Basic If true , run this command in preview mode only (that is, complete the analysis phase and exit; do not commit changes to disk). Setting this option to true has the same effect as specifying -p on the command line.
drd-activate(1M) drd-activate(1M) To display all drd activate extended options: drd activate -x -? AUTHOR drd was developed by HP. FILES /var/opt/drd/drd.log d SEE ALSO drd(1M), drd-clone(1M), setboot(1M) Log file. drd-deactivate(1M), drd-mount(1M), drd-runcmd(1M), drd-umount(1M), Dynamic Root Disk Administrator’s Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD.
drd-clone(1M) drd-clone(1M) NAME drd-clone: drd - clone mode clones the root volume group SYNOPSIS drd clone [-?] [-p] [-q]... [-v]... -t target_device_file [-x option=value] [-x -?] [-X option_file] DESCRIPTION The drd clone command creates a copy of the LVM volume group or VxVM disk group containing the root file system (/).
drd-clone(1M) drd-clone(1M) 4 Adds verbose INFO messages. 5 Adds very-verbose INFO messages. -x mirror_disk= mirrordisk Usage: Basic The block device special file of the mirror disk of the target. The device special file mirrordisk, should refer to an entire disk, not to a partition. This option requires that LVM mirroring be installed. The block device file specified will be used to mirror each logical volume in the target of the clone operation.
drd-clone(1M) drd-clone(1M) The HP System Management Homepage (see hpsmh(1M)) or System Administration Manager (see sam(1M)) can be used to investigate the disks on the system and their current usage. Alternatively, the following command-line utilities may be useful in determining an appropriate target disk: • The command ioscan -fknC disk can be used to determine the physical disks on the system. See ioscan(1M).
drd-clone(1M) drd-clone(1M) EXAMPLES To display usage for the drd clone command: drd clone -? To clone the root LVM volume group or VxVM disk group to a physical device: For 11i v2: drd clone -t /dev/dsk/c1t1d0 For 11i v3: drd clone -t /dev/disk/disk1 d To preview the clone of the root LVM volume group or VxVM disk group to a physical device: For 11i v2: drd clone -p -t /dev/dsk/c1t15d0 For 11i v3: drd clone -p -t /dev/disk/disk7 To display all drd clone extended options: drd clone -x -? AUTHOR dr
drd-deactivate(1M) drd-deactivate(1M) NAME drd-deactivate: drd - deactivate mode sets the active system image to be the primary boot disk the next time the system is booted SYNOPSIS drd deactivate [-?] [-p] [-q]... [-v]... [-x option=value] [-x -?] [-X option_file] DESCRIPTION The drd deactivate command invokes the setboot command (see setboot(1M)) to set the primary boot disk to the active (booted) system image. Note: drd deactivate is a mechanism for "undoing" a drd activate command.
drd-deactivate(1M) drd-deactivate(1M) 4 Adds verbose INFO messages. 5 Adds very-verbose INFO messages. -x preview=false Usage: Basic If true , run this command in preview mode only (that is, complete the analysis phase and exit; do not commit changes to disk). Setting this option to true has the same effect as specifying -p on the command line. -x verbosity=3 Usage: Basic d Specifies the level of standard error verboseness.
drd-deactivate(1M) drd-deactivate(1M) SEE ALSO drd(1M), drd-activate(1M), drd-clone(1M), drd-mount(1M), drd-runcmd(1M), drd-umount(1M) Dynamic Root Disk Administrator’s Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD.
drd-mount(1M) drd-mount(1M) NAME drd-mount: drd - mount mode mounts the inactive system image SYNOPSIS drd mount [-?] [-p] [-q]... [-v]... [-x option=value]... [-x -?] [-X option_file] DESCRIPTION The drd mount command mounts all the file systems in the inactive system image.
drd-mount(1M) drd-mount(1M) 4 Adds verbose INFO messages. 5 Adds very-verbose INFO messages. -x preview=false Usage: Basic If true , run this command in preview mode only (that is, complete the analysis phase and exit; do not commit changes to disk). Setting this option to true has the same effect as specifying -p on the command line. -x verbosity=3 Usage: Basic d Specifies the level of standard error verboseness: 0 1 2 3 4 5 Displays only ERROR messages and the starting/ending BANNER messages.
drd-mount(1M) drd-mount(1M) was the booted system when drd clone was run. SEE ALSO drd(1M), drd-activate(1M), drd-clone(1M), drd-deactivate(1M), drd-runcmd(1M), drd-umount(1M) Dynamic Root Disk Administrator’s Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD.
drd-runcmd(1M) drd-runcmd(1M) NAME drd-runcmd: drd - runcmd mode runs a command on the inactive system image that will not make any changes to the booted system, the kernel, or the process space SYNOPSIS drd runcmd [-?] [-q]... [-v]... [-x option=value]... [-x -?] [-X option_file] cmd [args] DESCRIPTION The drd runcmd command runs a command on the inactive system image that will not make any changes to the booted system, the kernel, or the process space.
drd-runcmd(1M) drd-runcmd(1M) -x logfile=/var/opt/drd/drd.log Usage: Basic This is the path to the log file for this command. Each time DRD is run, this file will grow larger. This can be changed, for example, to a month-specific location for easier archiving, off-host backup, and rotation. -x log_verbosity=4 Usage: Basic Specifies the level of message verbosity in the log file. (See also -x verbosity .) Legal values are: d 0 Saves only ERROR messages and the starting/ending BANNER messages.
drd-runcmd(1M) drd-runcmd(1M) Any double quotation marks (") or wild cards (* or ?) in the command line of the command to be run must be escaped to prevent inappropriate shell expansion or truncation of the command.
drd-runcmd(1M) drd-runcmd(1M) This options is obsolete and is not supported by drd runcmd. This options is not supported by drd runcmd. The target is always the inactive system image. This option is obsolete and is note supported by drd runcmd. -x target_shared_root -x targets -x use_alternate_source RETURN VALUE drd runcmd returns the following values: 0 Success. 1 Error. 2 Warning.
drd-umount(1M) drd-umount(1M) NAME drd-umount: drd - umount mode unmounts the inactive system image SYNOPSIS drd umount [-?] [-p] [-q]... [-v]... [-x option=value]... [-x -?] [-X option_file] DESCRIPTION The drd umount command unmounts all the file systems in the inactive system image. The root file system of the inactive system image is expected to be mounted at either /var/opt/drd/mnts/sysimage_000 or /var/opt/drd/mnts/sysimage_001.
drd-umount(1M) drd-umount(1M) -x preview=false Usage: Basic If true , run this command in preview mode only (that is, complete the analysis phase and exit; do not commit changes to disk). Setting this option to true has the same effect as specifying -p on the command line. -x verbosity=3 Usage: Basic Specifies the level of standard error verboseness: 0 1 2 3 4 5 d Displays only ERROR messages and the starting/ending BANNER messages. Adds WARNING messages. Adds NOTE messages.
drd_register_mirror(1M) drd_register_mirror(1M) NAME drd_register_mirror - notify DRD that a system image has been manually mirrored using LVM or VxVM commands SYNOPSIS drd_register_mirror [-?] mirror_block_device_file DESCRIPTION The drd_register_mirror command notifies DRD that either the active system image or the inactive system image has been mirrored to the mirror_block_device_file specified. The drd_register_mirror command must be run after the mirror has been created.
drd_unregister_mirror(1M) drd_unregister_mirror(1M) NAME drd_unregister_mirror - notify DRD that an LVM or VxVM mirror of a system image is about to be manually removed SYNOPSIS drd_unregister_mirror [-?] mirror_block_device_file DESCRIPTION The drd_unregister_mirror command notifies DRD that a mirror of either the active system image or the inactive sytem image has been removed or is about to be removed.
dump(1M) dump(1M) NAME dump, rdump - incremental file system dump, local or across network SYNOPSIS /usr/sbin/dump [ option [ argument ...] filesystem ] /usr/sbin/rdump [ option [ argument ...] filesystem ] DESCRIPTION The dump and rdump commands copy to magnetic tape all files in the filesystem that have been changed after a certain date. This information is derived from the files /var/adm/dumpdates and /etc/fstab . option specifies the date and other options about the dump.
dump(1M) dump(1M) dump and rdump require operator intervention for any of the following conditions: • • • • • end of tape, end of dump, tape-write error, tape-open error, or disk-read error (if errors exceed threshold of 32). In addition to alerting all operators implied by the n option, dump and rdump interact with the control terminal operator by posing questions requiring yes or no answers when it can no longer proceed or if something is grossly wrong.
dumpfs(1M) dumpfs(1M) NAME dumpfs - dump file system information SYNOPSIS /usr/sbin/dumpfs rootdir | special DESCRIPTION The dumpfs command prints the super block and cylinder group information for an HFS file system to the standard output. The file system may be specified by its root directory or the name of the device special file on which it resides. The information is very long and detailed.
edquota(1M) edquota(1M) NAME edquota - edit user disk quotas SYNOPSIS /usr/sbin/edquota [-p proto-user] username ... /usr/sbin/edquota -t e DESCRIPTION The edquota command is the quota editor. One or more user names can be specified on the command line. For each username, a temporary file is created with a textual representation of the current disk quotas for that user, and an editor is invoked on the file. The quotas can then be modified, new quotas added, and so forth.
edquota(1M) edquota(1M) FILES /etc/fstab /etc/mnttab directory /quotas Static information about the file systems. Mounted file system table. Quota statistics static storage for a file system, where directory is the root of the file system as specified to the mount command (see mount(1M)). SEE ALSO quota(1), vi(1), quotacheck(1M), quotacheck_hfs(1M), quota(5).
efi_cp(1M) efi_cp(1M) (Itanium(R)-Based Processor Family Only) NAME efi_cp - copy to or from EFI file SYNOPSIS efi_cp [ -d devicefile ] [ -u ] file1 file2 efi_cp [ -d devicefile ] file1 [ file2 ...] dest-directory efi_cp [ -d devicefile ] -r file_or_dir1 [ file_or_dir2 ...] dest-directory DESCRIPTION efi_cp copies files between HP-UX and EFI file systems. The EFI file system is based on the FAT file system and used by the Itanium-based system BIOS to locate an HP-UX bootloader. See efi(4).
efi_cp(1M) efi_cp(1M) (Itanium(R)-Based Processor Family Only) Copy bootloader into the EFI boot directory of the EFI file system on the specified device: efi_cp -d /dev/rdsk/c1t4d0s1 bootloader /EFI/HPUX Copy bootloader into /EFI/HPUX/ of the EFI file system on the device specified in the EFI_PARTITION environment variable and rename it to hpux.efi : efi_cp bootloader /EFI/HPUX/hpux.
efi_fsinit(1M) efi_fsinit(1M) (Itanium(R)-Based Processor Family Only) NAME efi_fsinit - write an EFI file system header on a device file SYNOPSIS efi_fsinit [-d devicefile] DESCRIPTION efi_fsinit writes an EFI file system header on a device file. The EFI file system is based on the FAT file system and used by the Itanium(R)-based system BIOS to locate an HP-UX bootloader. See efi(4). e Before any other EFI commands can be run, efi_fsinit must be run to initialize the file system on a device file.
efi_ls(1M) efi_ls(1M) (Itanium(R)-Based Processor Family Only) NAME efi_ls - list EFI file information or contents of an EFI directory SYNOPSIS efi_ls [-d devicefile] [path] DESCRIPTION efi_ls lists file information or contents of an EFI directory. The EFI file system is based on the FAT file system and used by the Itanium(R)-based system BIOS to locate an HP-UX bootloader. See efi(4). efi_ls lists filenames, last modified dates, and file sizes. devicefile should be a device file for an EFI volume.
efi_mkdir(1M) efi_mkdir(1M) (Itanium(R)-Based Processor Family Only) NAME efi_mkdir - make an EFI directory SYNOPSIS efi_mkdir [-d devicefile] [-p] dirname DESCRIPTION efi_mkdir makes an EFI directory. The EFI file system is based on the FAT file system and used by the Itanium(R)-based system BIOS to locate an HP-UX bootloader. See efi(4). efi_mkdir creates directory dirname in the EFI volume specified by devicefile.
efi_rm(1M) efi_rm(1M) (Itanium(R)-Based Processor Family Only) NAME efi_rm - remove an EFI file SYNOPSIS efi_rm [-d devicefile] file DESCRIPTION efi_rm removes an EFI file. The EFI file system is based on the FAT file system and used by the Itanium(R)-based system BIOS to locate an HP-UX bootloader. See efi(4). devicefile should be the device file for the EFI volume.
efi_rmdir(1M) efi_rmdir(1M) (Itanium(R)-Based Processor Family Only) NAME efi_rmdir - remove an EFI directory SYNOPSIS efi_rmdir [-d devicefile] directory DESCRIPTION efi_rmdir removes an EFI directory The EFI file system is based on the FAT file system and used by the Itanium(R)-based system BIOS to locate an HP-UX bootloader. See efi(4). devicefile should be the device file for the EFI volume.
envd(1M) envd(1M) NAME envd - system physical environment daemon SYNOPSIS /usr/sbin/envd [-f configfile ] DESCRIPTION The envd daemon provides a means for the system to respond to environmental conditions detected by hardware. Such responses are typically designed to maintain file system integrity and prevent data loss. The environmental conditions currently recognized by envd are over-temperature and chassis fan failure.
envd(1M) envd(1M) FANFAIL_EMERG:y /usr/sbin/reboot -qh Only users with appropriate privileges can invoke envd . Over-temperature and Fan Failure Handling Over-temperature and fan failure handling is supported only on systems equipped with appropriate sensing hardware. Over-temperature and fan failure limits vary, depending on the hardware. Each system processor defines its own thresholds for supported equipment combinations. The table below shows temperature and fan failure states.
envd(1M) /var/tmp/envd.action[123] envd(1M) envd work files SEE ALSO reboot(1M), shutdown(1M), syslogd(1M), syslog(3C). HP-UX System Administration manuals.
exportfs(1M) exportfs(1M) NAME exportfs - export and unexport directories to NFS clients SYNOPSIS /usr/sbin/exportfs [-auv ] /usr/sbin/exportfs [-uv] [dir ...] /usr/sbin/exportfs -i [-o options] [-v] [dir ...] DESCRIPTION The exportfs command makes a local directory or file available to NFS clients for mounting over the network. Directories and files cannot be NFS-mounted unless they are first exported by exportfs . exportfs is normally invoked at boot time by the /sbin/init.d/nfs.
exportfs(1M) exportfs(1M) hosts to be granted root access. Up to 256 hostnames can be specified. hostnames on this list are not guaranteed to successfully mount the specified file system. If a non-empty access list is specified, the hostname must also meet one of the access_list criteria for access= or be on the rw= list. With a server configured for DNS naming in the nsswitch "hosts" entry, any hostname must be represented as a fully qualified DNS name.
exportfs(1M) exportfs(1M) DIAGNOSTICS If an NFS-mounted directory is unexported by exportfs , any access by the client to the directory causes an NFS stale file handle error. However, if exportfs is used to remove a client from the access list of an exported directory, an NFS stale file handle error does not result from any access by the client to the directory.
exportfs(1M) exportfs(1M) exportfs -i -o access=@192.144.132/17 /var/adm or exportfs -i -o access=@mynetwork/17 /var/adm Export access to /var/adm where the hostname, terra , in the netgroup engineering is denied access: exportfs -i -o access=-terra:engineering /var/adm Export access to /var/adm where the hostname, terra , is granted access because it is part of the netgroup engineering.
extendfs(1M) extendfs(1M) NAME extendfs - extend a file system size (generic) SYNOPSIS /usr/sbin/extendfs [-F FStype] [-q] [-v] [-s size] special DESCRIPTION If the original file system image created on special does not make use of all of the available space, extendfs can be used to increase the capacity of a file system by updating the file system structure to include the extra space. The command-line parameter special specifies the device special file of either a logical volume or a disk partition.
extendfs_hfs(1M) extendfs_hfs(1M) NAME extendfs_hfs: extendfs - extend HFS file system size SYNOPSIS /usr/sbin/extendfs [-F hfs ] [-q] [-v] [-s size] special DESCRIPTION If the original HFS file system image created on special does not make use of all of the available space, the extendfs command can be used to increase the capacity of an HFS file system by updating the file system structure to include the extra space.
extendfs_vxfs(1M) extendfs_vxfs(1M) NAME extendfs_vxfs: extendfs - extend VxFS file system size SYNOPSIS extendfs [-F vxfs ] [-q] [-v] [-s size] special DESCRIPTION If the VxFS file system image created on special does not use all of the available space, extendfs increases the capacity of a VxFS file system by updating the file system structure to include the extra space. special specifies the device special file of either a logical volume or a disk partition.
fbackup(1M) fbackup(1M) NAME fbackup - selectively back up files SYNOPSIS /usr/sbin/fbackup -f device [-f device ] ... [-0-9] [-nsuvyAEl ] [-i path ] [-e path ] [-g graph ] [-d path ] [-I path ] [-V path ] [-c config ] /usr/sbin/fbackup -f device [-f device ] ... [-R restart ] [-nsuvyAEl ] [-d path ] [-I path ] [-V path ] [-c config ] DESCRIPTION fbackup combines features of dump and ftio to provide a flexible, high-speed file system backup mechanism (see dump(1M) and ftio(1)).
fbackup(1M) f fbackup(1M) • When using magnetic tape devices, the main blocks of information (tape label, volume header, index, data) are separated by EOF marks. fbackup also checkpoints the media periodically to enhance error recovery.
fbackup(1M) fbackup(1M) • • • • Maximum number of times a magnetic tape volume can be used. Name of a file to be executed when a volume change occurs. This file must exist and be executable. Name of a file to be executed when a fatal error occurs. This file must exist and be executable. The number of files between the fast search marks on DDS tapes. The cost of these marks are negligible in terms of space on the DDS tape. Not all DDS tape devices support fast search marks.
fbackup(1M) fbackup(1M) i /usr e /usr/lib -i path path specifies a tree to be included in the backup graph. There is no limit on how many times the -i option can be specified. -n Cross NFS mount points. By default, fbackup does not cross NFS mount points, regardless of paths specified by the -i or -g options. -l Includes LOFS files specified by the backup graph. By default, fbackup does not cross LOFS mount points.
fbackup(1M) fbackup(1M) Index Size This field contains the size of the index. Backup Identification Tag Language This field is composed of two items: the process ID (pid) and the start time of that process. This field contains the language used to make the backup. -R restart Restart an fbackup session from where it was previously interrupted. The restart file contains all the information necessary to restart the interrupted session.
fbackup(1M) fbackup(1M) • Create a suitable configuration file called config in the directory /var/adm/fbackupfiles. • Create a graph file called usr-usrlib in the directory /var/adm/fbackupfiles/graphs. • Create a directory called usr-usrlib in the directory /var/adm/fbackupfiles/indices.
fbackup(1M) fbackup(1M) If sparse files are backed up without using data compression, a very large amount of media can be consumed. fbackup creates volumes with a format that makes duplication of volumes by dd impossible (see dd(1)). Copying an fbackup volume created on one media type to another media type does not produce a valid fbackup volume on the new media because the formats of volumes on raw magnetic tape, on a regular file, and on rewritable optical disks are not identical.
fcmsutil(1M) fcmsutil(1M) NAME fcmsutil - Fibre Channel Mass Storage Utility Command for Fibre Channel Host Bus Adapters SYNOPSIS /opt/fcms/bin/fcmsutil device_file [options] The device_file specifies the Fibre Channel device special file associated with the Fibre Channel HBA port. The device file has the format /dev /FC_driverX, where X is the instance number of the Fibre Channel HBA port, as reported by the ioscan output.
fcmsutil(1M) fcmsutil(1M) IN_PTTOPT_NPORT/PTTOPT_NPORT. The host bus adapter has come up in a point to point topology. This topology can be an error if the card was expected to come up in loop topology. Not legal in most cases. PTTOPT_FABRIC . The host bus adapter has come up in a point to point topology when connected through a Fibre Channel switch. This topology can be an error if the card was expected to come up in loop topology. The following driver states are defined: LOOPBACK_STATE.
fcmsutil(1M) fcmsutil(1M) test remote-N-Port-ID data_size [count ] This option is used to send a TEST ELS on the wire. It requires two parameters, the remote-N-Port-ID and data-size (size of packet to send). An optional third argument (count) can be specified for the number of echo packets to be sent. If the count option is not specified, one packet will be sent. The command completes successfully and immediately on sending all the test packets. Note: Packet size specified must be a multiple of 4.
fcmsutil(1M) fcmsutil(1M) get local get fabric get remote {all |remote-N-Port-ID} This option is used to obtain Fibre Channel login parameters of either the local port, the fabric port, or a remote port. The Fibre Channel HBAs do not support the local option. If the all argument is specified for the remote option, login parameters and current states of all N_Ports that the initiator is aware of, are displayed.
fcmsutil(1M) fcmsutil(1M) This option is typically used when a hardware problem cannot be resolved and is interfering with system performance. enable This option is used to enable the card, typically when a previous hardware problem has been resolved. ns_query_ports [-k] This option is used to query the name server and get the list of nports for the Fibre Channel driver. The -k option is used to get the list of nports cached in the driver query buffer. The name server will not be queried in this case.
fcmsutil(1M) fcmsutil(1M) The complete syntax for this command is: [-f] set_int_delay {off | [-z {5 | 6}] value} The -f option can be used to suppress the warning message. The off option turns off interrupt delay. The interrupt delay mode, also known as Zero Interrupt Operation (ZIO) mode, is set using the -z option. There are two interrupt delay modes available: 5 and 6. Mode 5 delays every interrupt by the interrupt delay period.
fdetach(1M) fdetach(1M) NAME fdetach - detach a STREAMS-based file descriptor from a filename SYNOPSIS fdetach path DESCRIPTION The fdetach command detaches or disassociates a file descriptor for an open STREAMS device or pipe from its filename in the file system. The path argument is the path that was previously associated with the file descriptor by the fattach() function. Operations on path will subsequently affect the file system node, not the STREAMS device or pipe.
ff(1M) ff(1M) NAME ff - list file names and statistics for a file system SYNOPSIS /usr/sbin/ff [-F FStype] [-o specific_options] [-V] special ... DESCRIPTION The ff command reads the i-list and directories of each special file, assuming it to be a file system, saving i-node data for files that match the selection criteria. Output consists of the path name for each saved inode, plus any other file information requested with the -o option. Output fields are positional.
ff_hfs(1M) ff_hfs(1M) NAME ff_hfs: ff - list file names and statistics for HFS file system SYNOPSIS /usr/sbin/ff [-F hfs ] [-a num] [-c num] [-i inode-list] [-I] [-l] [-m num] [-n file] [-p prefix] [-s] [-u] [-V] special ... DESCRIPTION The ff command reads the i-list and directories of each special file special, assuming it to be an HFS file system, saving i-node data for files that match the selection criteria.
ff_hfs(1M) ff_hfs(1M) Find all path names associated with i-nodes 451 and 76 (the -l option): ff -l -i 451,76 /dev/dsk/c1d2s0 Execute the ff command on an HFS file system /dev/dsk/c1d2s0: ff -F hfs /dev/dsk/c1d2s0 FILES /etc/fstab Static information about the file systems. SEE ALSO find(1), ff(1M), ff_vxfs(1M), ncheck(1M), fstab(4).
ff_vxfs(1M) ff_vxfs(1M) NAME ff_vxfs: ff - fast find: list file names and statistics for a VxFS file system SYNOPSIS ff [-F vxfs ] [-VIlsu ] [-a num] [-c num] [-i inode-list] [-m num] [-n file] [-o s] [-p prefix] special... DESCRIPTION ff reads the inode list and directories of each special file, assuming it to be a VxFS file system, and prints inode data for files that match the selection criteria.
ff_vxfs(1M) ff_vxfs(1M) ff -m -2 -u /dev/vg01/rlvol1 List all files on the same file system, including the pathname and inumber of each file, that were last accessed more than 30 days ago (-a +30 ): ff -a +30 /dev/vg01/rlvol1 Find all pathnames associated with inodes 451 and 76 (-l): ff -l -i 451,76 /dev/vg01/rlvol1 Execute the ff command on a VxFS file system /dev/vg01/rlvol1: ff -F vxfs /dev/vg01/rlvol1 FILES /etc/fstab Static information about the file systems.
fingerd(1M) fingerd(1M) NAME fingerd - remote user information server SYNOPSIS /usr/lbin/fingerd [-r] DESCRIPTION fingerd is the server for the RFC 742 Name/Finger protocol. It provides a network interface to finger , which gives a status report of users currently logged in on the system or a detailed report about a specific user (see finger(1)).
fixman(1M) fixman(1M) NAME fixman - fix manpages for faster viewing with man command SYNOPSIS /usr/sbin/fixman [-A alt-path] DESCRIPTION The fixman command is a shell script that processes manpages in the cat* directories to unexpand spaces to tabs where possible, and to remove all character-backspace pairs (which usually exist to cause overstriking or underscoring for printer output). Removal of unnecessary character sequences improves the speed of man(1), and reduces disk space consumption.
fixman(1M) fixman(1M) SEE ALSO catman(1M), chmod(1), expand(1), lp(1), man(1), mv(1), sed(1), environ(5).
format(1M) format(1M) NAME format - format an HP SCSI disk array LUN SYNOPSIS format device_file DESCRIPTION format formats one LUN of the HP SCSI disk array associated with device file, device_file. The format will usually be a soft or zeroing format, in which the controller writes zeroes to the data area and parity area, if any, of the LUN.
format(1M) format(1M) Error messages generated by system calls: format uses the following system calls: malloc() , free() , stat() , open() , close() , read() , write() , and ioctl() . Documentation for these HP-UX system calls contains information about the specific error conditions associated with each call. format does not alter the value of errno . The interpretation of errno for printing purposes is performed by the system utility strerror() .
frecover(1M) frecover(1M) NAME frecover - selectively recover files SYNOPSIS /usr/sbin/frecover /usr/sbin/frecover /usr/sbin/frecover [-i path] [-S skip] /usr/sbin/frecover /usr/sbin/frecover -r -R -x [-E -I -V [-hmosvyAFNOX ] [-c config] [-f device] [-S skip] [-E extarg] path [-f device] [-hmosvyAFNOX ] [-c config] [-e path] [-f device] [-g graph] extarg] path [-vy ] [-f device] [-c config] path [-vy ] [-f device] [-c config] DESCRIPTION frecover reads media written by the fbackup command.
frecover(1M) frecover(1M) marks for backups made with DDS tape drives. Index Size This field contains the size of the index. Backup Identification Tag This field is composed of 2 items: the process ID (pid), and the start time of that process. Language -R path f This field contains the language used to make the backup. An interrupted full recovery can be continued using this option. frecover uses the information in file path to continue the recovery from where it was interrupted.
frecover(1M) frecover(1M) -h Extract the actual directory, rather than the files that it references. This prevents hierarchical restoration of complete subtrees from the backup media. -i path path is interpreted as a graph to be included in the recovery. There is no limit on how many times the -i option can be specified. -m Print a message each time a file marker is encountered.
frecover(1M) frecover(1M) LC_MESSAGES determines the language in which messages are displayed. If LC_COLLATE and LC_MESSAGES are not specified in the environment or are set to the empty string, the value of LANG is used as a default for each unspecified or empty variable. If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG .
frecover(1M) frecover(1M) DEPENDENCIES frecover does not support QIC-120 and QIC-150 formats on QIC devices. If frecover is attempted for these formats, frecover fails and the following message is displayed : mt lu X:Read must be a multiple of 512 bytes in QIC 120 and QIC 150 AUTHOR frecover was developed by HP. FILES /dev/rmt/0m Default backup device. SEE ALSO cpio(1), dump(1M), fbackup(1M), restore(1M), rmt(1M), acl(5).
frupower(1M) frupower(1M) NAME frupower - turn on/off or display current status of power for cells and I/O chassis SYNOPSIS frupower -c cell [-c cell]... [-d|-o|-f] [ [ -u username :[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ] frupower -i I/Ochassis [-i I/Ochassis]... [-d|-o|-f] [ [ -u username :[passwd] -h IPaddress|hostname ] | [ -g passwd] -h IPaddress|hostname ] ] frupower -C|-I [-d] [-l cabinet] [-l cabinet]...
frupower(1M) frupower(1M) Options and Arguments frupower recognizes the following command line options and arguments: -d -o -f Displays power status of specified cells or I/O chassis. This is the default. Powers on specified cells or I/O chassis. Powers off specified cells or I/O chassis. The -d, -o, and -f options are mutually exclusive. The -o and -f options are unavailable with -C and -I.
frupower(1M) frupower(1M) If a power operation on multiple cells is specified, the command processes each one, regardless of the outcome of the operation on a particular cell. It is possible for an operation to succeed on one cell and fail on another. A cell can be specified either in the local (cabinet#/slot#) or global (cell#) format. For example, the cell located in cabinet 0, slot 4 is locally identified as 0/4 or globally as simply 4.
frupower(1M) • Use the cimconfig command (see cimconfig(1M) in the WBEM product documentation) to verify (and correct if necessary) the setting of the following two variables: • • • frupower(1M) enableRemotePrivilegedUserAccess=true enableHttpsConnection=true You must have appended the target partition’s digital certificate to the local partition’s Trust Store file. For the nPartition commands, the Trust Store file is /var/opt/wbem/client.pem.
fsadm(1M) fsadm(1M) NAME fsadm - a file system administration command SYNOPSIS /usr/sbin/fsadm [-F FStype] [-V] [-o specific_options] special DESCRIPTION The fsadm command is designed to perform selected administration tasks on file systems. These tasks may differ between file system types. special is a device file containing an unmounted file system. However, if the file system is of the type that provides online administration capabilities the special could be a directory.
fsadm_hfs(1M) fsadm_hfs(1M) NAME fsadm_hfs: fsadm - HFS file system administration command SYNOPSIS /usr/sbin/fsadm [-F hfs ] [-V] [-o specific_options] special DESCRIPTION The fsadm command is designed to perform selected administration tasks on HFS file systems. special is a device file containing an unmounted file system. Only a superuser can invoke fsadm . Options -F hfs Specify the HFS file system type.
fsadm_vxfs(1M) fsadm_vxfs(1M) NAME fsadm_vxfs: fsadm - resize or reorganize a VxFS file system SYNOPSIS fsadm [-F vxfs ] [-V] [-d] [-D] [-e] [-E] [-s] [-v] [-a days] [-k ckpt_name] [-l largesize] [-p passes] [-r rawdev] [-t time] mount_point fsadm [-F vxfs ] [-V] [-b newsize] [-r rawdev] mount_point fsadm [-F vxfs ] [-V] [-o largefiles |nolargefiles ] mount_point|special fsadm [-F vxfs ] [-V] [-c] mount_point fsadm [-F vxfs ] [-V] [-d] [-D] [-e] [-E] -f filename | − f DESCRIPTION fsadm performs online
fsadm_vxfs(1M) fsadm_vxfs(1M) -k ckpt_name Reorganizes or reports directories or extent fragmentation on the specified Storage Checkpoint. -l largesize Large extent size in file system blocks. Indicates the size of extents to be considered as large extents, that is, extents that are immovable while performing an extent defragmentation. The value must be between 8 and 2048 blocks. The default is 64 blocks. The -l largesize option applies only with -E or -e.
fsadm_vxfs(1M) fsadm_vxfs(1M) Large files can be created only on file systems with disk layout Version 3 or above. A file system with large files cannot be mounted on an HP-UX system older than HP-UX 10.20. Many existing applications cannot operate on large files. Setting the flag with the -o largefiles option succeeds only if the file system has the Version 3 disk layout or above. See vxupgrade(1M) for information on how to upgrade a file system from an older disk layout to the current version.
fsadm_vxfs(1M) fsadm_vxfs(1M) The following is some example output from the fsadm -D command: # fsadm -F vxfs -D /lhome Directory Fragmentation Report Dirs Total Searched Blocks total 15 3 Immed Dirs 12 Immeds to Add 0 Dirs to Reduce 0 Blocks to Reduce 0 The column labeled "Dirs Searched" contains the total number of directories. A directory is associated with the extent-allocation unit containing the extent in which the directory’s inode is located.
fsadm_vxfs(1M) fsadm_vxfs(1M) total 8008 3121 5017 0 3037 4428 2569 Directory Reorganization Statistics (pass 2 of 2) Dirs Dirs Total Failed Blocks Blocks Immeds Searched Changed Ioctls Ioctls Reduced Changed Added fset 999 5439 552 2448 0 708 4188 0 total 5439 552 2448 0 708 4188 0 Directory Fragmentation Report Dirs Total Immed Immeds Dirs to Blocks to Searched Blocks Dirs to Add Reduce Reduce total 34663 6231 29224 0 147 267 The column labeled "Dirs Searched" contains the number of directories searched
fsadm_vxfs(1M) fsadm_vxfs(1M) Extent Fragmentation Report Total Average Average Total Files File Blks # Extents Free Blks 9293 115 1 149352 blocks used for indirects: 48 % Free blocks in extents smaller than 64 blks: 10.40 % Free blocks in extents smaller than 8 blks: 0.56 % blks allocated to extents 64 blks or larger: 91.
fsadm_vxfs(1M) fsadm_vxfs(1M) Extent Fragmentation Report Total Average Average Total Files File Blks # Extents Free Blks 9293 115 1 149352 blocks used for indirects: 48 % Free blocks in extents smaller than 64 blks: 10.40 % Free blocks in extents smaller than 8 blks: 0.56 % blks allocated to extents 64 blks or larger: 91.
fsadm_vxfs(1M) fsadm_vxfs(1M) files can be reorganized with a single ioctl. (More than one extent may be consolidated in one operation.) The column "FileBusy" (located under the heading "Errors") shows the total number of reorganization requests that failed because the file was active during reorganization. The column "NoSpace" (located under the heading "Errors") contains the total number of reorganization requests that failed because an extent presumed free was allocated during the reorganization.
fscat_vxfs(1M) fscat_vxfs(1M) NAME fscat_vxfs: fscat - cat a VxFS file system SYNOPSIS fscat [-F vxfs ] [-f output-file] [-o offset] [-l length] [-b block_size] special DESCRIPTION fscat provides an interface to a VxFS snapshot file system, similar to that provided by dd, invoked on the block or character special file of regular VxFS file systems. fscat works when executed on the special device of any VxFS file system.
fscat_vxfs(1M) fscat_vxfs(1M) SEE ALSO dd(1), fs_vxfs(4), vxfsio(7).
fsck(1M) fsck(1M) NAME fsck - file system consistency check and interactive repair SYNOPSIS /usr/sbin/fsck [-F FSType] [-m] [-s] [-V] [special ...] /usr/sbin/fsck [-F FSType] [-o FSspecific-options] [-s] [-V] [special ...] DESCRIPTION The fsck command audits and interactively repairs inconsistent conditions for HP-UX file systems on mass storage device files identified by special.
fsck_cachefs(1M) fsck_cachefs(1M) NAME fsck_cachefs: fsck - check integrity of data cached with CacheFS SYNOPSIS fsck -F cachefs [ -m | -o noclean ] cache_directory DESCRIPTION The CacheFS version of the fsck command checks the integrity of a cache directory. By default it corrects any CacheFS problems it finds. There is no interactive mode. The most likely invocation of fsck for CacheFS file systems is at boot time from an entry in the /etc/fstab file.
fsck_hfs(1M) fsck_hfs(1M) NAME fsck_hfs: fsck - HFS file system consistency check and interactive repair SYNOPSIS /usr/sbin/fsck /usr/sbin/fsck /usr/sbin/fsck [-q] [-s] [-V] f [-F hfs ] [-m] [-s ] [-V ] [-b blocknum] [special]... [-F hfs ] [-c size] [-f ] [-p -P ] [-V ] [-s ] [special]... [-F hfs ] [-b blocknum] [-c size] [-f ] [-n -N -y -Y ] [special]... DESCRIPTION The fsck command audits and repairs inconsistent conditions for HFS file systems on mass storage device files identified by special.
fsck_hfs(1M) fsck_hfs(1M) -c 0 to disable all caches, thus reducing memory usage. -b blocknum Use the specified blocknum as the superblock for the file system. An alternate superblock can usually be found at block ((SBSIZE+BBSIZE)/DEV_BSIZE), typically block 16. DEV_BSIZE is defined in . You can also find a list of alternate superblocks in /var/adm/sbtab (see mkfs(1M)). -f -m Force fsck to check a mounted file system.
fsck_hfs(1M) fsck_hfs(1M) RETURN VALUE fsck returns the following values: f 0 1 4 8 Either no errors were detected or all errors were corrected. 12 32 33 34 A signal was caught during processing. A syntax error or other operational error occurred when invoked with the -V option. Root file system errors were corrected. The system must be rebooted. Some uncorrected errors exist on one or more of the file systems checked, there was a syntax error, or some other operational error occurred.
fsck_vxfs(1M) fsck_vxfs(1M) NAME fsck_vxfs: fsck - check and repair a VxFS file system SYNOPSIS fsck [-F vxfs ] [-V] [-mnNpPsyY ] [-pP] [-o p] [special ... ] fsck [-F vxfs ] [-V] [-mnNpPsyY ] [-o full,mounted,nolog] [special ... ] DESCRIPTION fsck checks VxFS file systems for consistency. Because VxFS records pending file system updates in an intent log, fsck typically replays the intent log instead of doing a full structural file system check.
fsck_vxfs(1M) fsck_vxfs(1M) option from the command line as it can destroy a file system if not used correctly. nolog Do not perform log replay. This option may be used if the log area was physically damaged. Note: Use the -n option to verify whether there are file system inconsistencies. Use fsck -o full,nolog to fix a corrupted file system and avoid a log replay. If you run fsck -o full without nolog on a clean file system, it replays the intent log and performs a full file system check.
fsck_vxfs(1M) fsck_vxfs(1M) RETURN VALUES Structural errors discovered during a full check are displayed on standard output. Responses required during a full check are read from standard input. The following return codes are used for the -m option for all devices other than the one used by the root file system: 0 32 33 34 The file system is unmounted and clean. The file system is unmounted and needs checking. The file system is mounted. The stat of the device failed.
fsclean(1M) fsclean(1M) NAME fsclean - determine the shutdown status of HFS file systems SYNOPSIS /sbin/fsclean [-q ] [-v ] [ special ... ] DESCRIPTION The fsclean command determines the shutdown status of the HFS file system specified by special or, in the absence of special, the file systems listed in /etc/fstab of type hfs with the rw , default , or ro options set. All optional fields in /etc/fstab must be present for fsclean to be able to check each file system.
fsdb(1M) fsdb(1M) NAME fsdb - file system debugger (generic) SYNOPSIS /usr/sbin/fsdb [-F FStype] [-o specific_options] [-V] special Remarks Always execute the fsck command (see fsck(1M)) after running fsdb . DESCRIPTION The fsdb command can be used to patch up a damaged file system after a crash. It is intended for experienced users only. The file system type to be debugged is specified as FStype. Each file system type has a unique structure requiring different debugging capabilities.
fsdb_hfs(1M) fsdb_hfs(1M) NAME fsdb_hfs: fsdb - HFS file system debugger SYNOPSIS /usr/sbin/fsdb [-F hfs ] [-V] special [-b blocknum] [-] Remarks Always execute the fsck command (see fsck(1M)) after running fsdb . DESCRIPTION The fsdb command can be used to patch up a damaged file system after a crash. Options and Arguments fsdb recognizes the following options and arguments. f special The file name of the special file containing the file system.
fsdb_hfs(1M) =" b d f i p q B D O W X fsdb_hfs(1M) Character string assignment Convert from fragment number to disk address (historically "block") Directory slot offset File print facility Convert from i-number to inode address; for continuation inodes as well as primary inodes General print facility Quit Byte mode Double-word mode Error checking flip-flop Word mode Hexadecimal flip-flop Dots, tabs, and spaces can be used as function delimiters, but are not necessary.
fsdb_hfs(1M) md min mt sz uid fsdb_hfs(1M) Mode Minor device number Time last modified File size in byte unit User ID number The following mnemonics are used for directory examination: di nm I-number of the associated directory entry Name of the associated directory entry EXAMPLES 386i ln=4 ln=+1 fc 2i.fd d5i.fc f Print i-number 386 in an inode format. This now becomes the current working inode. Change the link count for the working inode to 4. Increment the link count by 1.
fsdb_vxfs(1M) fsdb_vxfs(1M) NAME fsdb_vxfs: fsdb - VxFS file system debugger SYNOPSIS fsdb [-F vxfs ] [-z inumber] special DESCRIPTION fsdb can analyze VxFS file system problems or repair a damaged VxFS file system after a crash. A special device special specifies the file system to debug. The fsdb command is intended for experienced users only. fsdb can convert block and inumbers into their corresponding disk addresses. In addition, mnemonic offsets allow access to different parts of an inode.
fsdb_vxfs(1M) f fsdb_vxfs(1M) string A character string. Inside a character string, a NULL character can be specified with ‘‘\0’’; a double quote can be specified with ‘‘\"’’; and a backslash can be specified with ‘‘\\ ’’. + - ∗ / % = i ai au b im Add, subtract, multiply, divide, and modulus. attr cdb d a B H W D p calc find fset iau aiau cut olt mapi reset An attribute inode. Assignment An inode in the primary inode list. An inode in the attribute inode list. An allocation unit. A block.
fsdb_vxfs(1M) fsdb_vxfs(1M) o Print as octal words. oB oH oW oD Print as octal bytes, half-words, words, or double-words. x Print as hexadecimal words. xB xH xW xD Print as hexadecimal bytes, half-words, words, or double-words. e Print as decimal words. eB eH eW eD Print as decimal bytes, half-words, words, or double-words. u Print as unsigned words. uB uH uW uD Print as unsigned bytes, half-words, words, or double-words. c F C IA oltext Q DV f Print as characters. Print as fileset headers.
fsdb_vxfs(1M) bl eopflg eopdat rdev maj min pd res verhi verlo fsindex matching iano f fsdb_vxfs(1M) Inode blocks held field. Inode extended operation flag field. Inode extended operation data field. If device, inode device number. If device, inode major number. If device, inode minor number. If directory, inode parent directory. If regular file, inode reservation. Inode high-order word of serial number. Inode low-order word of serial number. Referencing fileset ID. Inode number of matching inode.
fsdb_vxfs(1M) # B|H|W|D fsdb_vxfs(1M) Set the current position in the file system to the specified offset in bytes, half-words, words, or double-words. If it is the last command on a line, print the byte, half-word, word, or double-words in hexadecimal. +|- # B|H|W|D Set the current position to the specified relative offset in bytes, half-words, words, or double-words. If it is the last command on a line, print the byte, half-word, word, or double-words in hexadecimal.
fsdb_vxfs(1M) fsdb_vxfs(1M) allocation unit header. iau Set the current position in the file system to the current inode allocation unit (iau) position. If it is the last command on a line, print the inode allocation unit header. # ai Set the current position in the current fileset to the ilist entry for the specified attribute inode. Set the current attribute inode position to the resulting offset. If it is the last command on a line, print the ilist entry for the inode.
fsdb_vxfs(1M) fsdb_vxfs(1M) directory_block_field = # Set the contents of the given directory block field to the specified number. The current block is treated as a directory block and the offset in that block which is represented by the given field is changed. The symbols representing directory block fields are listed above. Set the current directory entry to the specified number. The current block is treated as a directory block.
fsdb_vxfs(1M) fsdb_vxfs(1M) WARNINGS Always run a file system check (see fsck(1M)) after using the fsdb command to modify a file system. (Use fsck -o full,nolog .) Some aspects of fsdb apply to a specific VxFS disk layout version. SEE ALSO fsck_vxfs(1M), fsdb(1M).
fsirand(1M) fsirand(1M) NAME fsirand - install random inode generation numbers SYNOPSIS /usr/sbin/fsirand [-p] special DESCRIPTION fsirand installs random inode generation numbers on all the inodes on device special, and also installs a filesystem ID in the superblock. This process increases the security of filesystems exported by NFS. Use fsirand only on an unmounted filesystem that was checked with fsck (see fsck(1M)).
fstyp(1M) fstyp(1M) NAME fstyp - determine file system type SYNOPSIS /usr/sbin/fstyp [-v] special DESCRIPTION The fstyp command allows the user to determine the file system type of a mounted or unmounted file system. special represents a device special file (for example: /dev/dsk/c1t6d0). The file system type is determined by reading the superblock of the supplied special file.
ftpd(1M) ftpd(1M) NAME ftpd - DARPA Internet File Transfer Protocol server SYNOPSIS /usr/lbin/ftpd [-l] [-p] [-v] [-t timeout ] [-P] [-T maxtimeout ] [-u umask ] [-U] [-K] [-B size] [-a | -A ] [-L] [-i] [-o ] [-m number_of_tries ] [-n nice_value] [-q | -Q ] [-r rootdir] [-V] [-w | -W] [-X ] [-I ] [-s | -S ] [-c ctrlport] [-C dataport] DESCRIPTION ftpd is the DARPA Internet File Transfer Protocol server. It expects to be run by the Internet daemon (see inetd(1M) and inetd.conf(4)).
ftpd(1M) ftpd(1M) understood before the option is turned on. f -P -q | -Q Enables third party transfer. -r rootdir Instructs the daemon to chroot (see chroot(2)) to the specified rootdir immediately upon loading. This can improve system security by limiting the files which may be damaged should a break-in occur through the daemon. This option is like anonymous FTP. For this option to work properly additional files may be needed under the specified rootdir, which can vary from system to system.
ftpd(1M) NLST NOOP PASS PASV PORT PWD QUIT REST RETR RMD RNFR RNTO SITE SIZE STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD XPWD XRMD ftpd(1M) Give name list of files in directory Do nothing Specify password Prepare for server-to-server transfer Specify data connection port Print the current working directory Terminate session Restart incomplete transfer Retrieve a file Remove a directory Specify rename-from file name Specify rename-to file name Non-standard commands (see next section) Return size of
ftpd(1M) ftpd(1M) The output will be as follows: 200-hi.sh 200-hello 200 (end of ’hi.sh’) Note: The security of the system will entirely be dependent on what binaries or shell programs that the administrator has placed in the directory /etc/ftpd/ftp-exec. Making this functionality available to real users who have shell access does not have any major security ramifications, but for anonymous and guest users who do not have shell access, it does.
ftpd(1M) ftpd(1M) LIST command to be able to produce owner names rather than numbers. ~ftp/etc/passwd This file should contain entries for the ftp user and any other users who own files under the anonymous ftp directory. Such entries should have * for passwords. Group IDs must be listed in the anonymous FTP group file, ˜ftp/etc/group. The path names of home directories in ˜ftp/etc/passwd must be with respect to the anonymous FTP home directory.
ftpd(1M) 120 200 211 212 230 250 331 350 425 451 500 530 550 f ftpd(1M) Service ready in nnn minutes Command okay System status, or system help reply Directory status User logged in, proceed Requested file action okay, completed User name okay, need password Requested file action pending further information Cannot open data connection Requested action aborted: local error in processing Syntax error, command unrecognized or command line too long Not logged in Requested action not taken; file unavailable,
ftpd(1M) ftpd(1M) Anonymous FTP is inherently dangerous to system security. DEPENDENCIES Pluggable Authentication Modules (PAM) PAM is an Open Group standard for user authentication, password modification, and validation of accounts. In particular, pam_authenticate() is invoked to perform all functions related to login. This includes retrieving the password, validating the account, and displaying error messages.
fuser(1M) fuser(1M) NAME fuser - list processes using a file or file structure SYNOPSIS /usr/sbin/fuser [-c-f] [-ku ] file ... [ [-] [-c-f] [-ku ] file ...] ... DESCRIPTION The fuser command lists the process IDs of processes that have each specified file open. For block special devices, all processes using any file on that device are listed. The process ID may be followed by a letter, identifying how the file is being used, as follows: c r o m t f file is current directory of the process.
fuser(1M) fuser(1M) List process IDs and login names of processes that have the password file open. fuser -u /etc/passwd Combine both the above examples into a single command line. fuser -ku /dev/dsk/c201d1s? - -u /etc/passwd If the device /dev/dsk/c201d1s7 is mounted on directory /home , list the process IDs and login names of processes using the device. Alternately, if /home is the mount point for an NFS file system, list process IDs and login names of processes using that NFS file system.
fwtmp(1M) fwtmp(1M) NAME fwtmp, wtmpfix - manipulate connect accounting records SYNOPSIS /usr/sbin/acct/fwtmp [-icX ] /usr/sbin/acct/wtmpfix [files] DESCRIPTION fwtmp fwtmp reads from the standard input and writes to the standard output, converting binary records of the type found in wtmps to formatted ASCII records. The ASCII version is useful to enable editing, via ed(1), bad records or for general purpose maintenance of the file.
fwtmp(1M) fwtmp(1M) STANDARDS CONFORMANCE fwtmp : SVID2, SVID3 wtmpfix : SVID2, SVID3 f HP-UX 11i Version 2: December 2007 Update −2− Hewlett-Packard Company 319
gated(1M) gated(1M) NAME gated - gateway routing daemon SYNOPSIS gated [-b buffer_size ] [-c] [-C] [-n] [-N] [-r] [-ttrace_options ] [-f config_file ] [trace_file ] DESCRIPTION gated is a routing daemon that handles multiple routing protocols and replaces routed, egpup, and any routing daemon that speaks the HELLO routing protocol. gated currently handles the RIP, BGP, EGP, HELLO, and OSPF routing protocols.
gated(1M) gated(1M) If the re-parse is successful, any BGP and EGP peers that are no longer in the configuration are shut down, and new peers are started. gated attempts to determine if changes to existing peers require a shutdown and restart. OSPF is not capable of reconfiguring; it is shutdown and restarted during a reconfiguration. This may have an adverse impact on the routing system. It should also be possible to enable/disable any protocol without restarting gated .
gdc(1M) gdc(1M) NAME gdc - operational user interface for gated SYNOPSIS gdc [-q] [-n] [-c coresize] [-f filesize] [-m datasize] [-s stacksize] [-t seconds] command DESCRIPTION gdc provides a user-oriented interface for the operation of the gated(1M) routing daemon.
gdc(1M) gdc(1M) toggletrace If gated is currently tracing to a file, cause tracing to be suspended and the trace file to be closed. If gated tracing is current suspended, cause the trace file to be reopenned and tracing initiated. This is useful for moving trace files. By default gated obtains its configuration from a file normally named /etc/gated.config. The gdc program also maintains several other versions of the configuration file, in particular named: /etc/gated.conf+ The new configuration file.
gdc(1M) restart gdc(1M) If gated is running it is terminated via the same procedure as is used for the stop command above. When the previous gated terminates, or if it was not running prior to command execution, a new gated process is executed using the procedures described for the start command above. A non-zero exit status is returned if any step in this procedure appears to have failed.
geocustoms(1M) geocustoms(1M) NAME geocustoms - configure system language on multi-language systems SYNOPSIS geocustoms [-l locale] DESCRIPTION The geocustoms command manages default selection and retention/removal of multiple languages installed on "ignited" (Instant Ignition) systems. The geocustoms command is executed at first-boot (see auto_parms(1M)) on ignited systems with multiple languages available. In subsequent sessions, invoking the command /usr/sbin/geocustoms starts geocustoms .
geocustoms(1M) geocustoms(1M) Logging Both interactive and non-interactive sessions log summary events in /var/adm/sw/lang.log. EXAMPLES To set the default system language non-interactively to German: /usr/sbin/geocustoms -l de_DE.iso88591 DEPENDENCIES Compatibility This product is designed for compatibility with releases including and after HP-UX 11.00 running a Common Desktop Environment (CDE). No attempt was made to support the Visual User Environment (VUE).
getext(1M) getext(1M) NAME getext - get VxFS extent attributes SYNOPSIS getext [-F vxfs ] [-V] [-f] [-s] file... DESCRIPTION getext displays extent attribute information associated with a set of files. Options getext recognizes the following options: -f Do not print the filenames for which extent attributes are displayed. -F vxfs Specify the VxFS file system type. -s Do not print output for files that do not have fixed extent sizes or reservations.
getfilexsec(1M) getfilexsec(1M) NAME getfilexsec - display security attributes of binary executables SYNOPSIS getfilexsec [-r] [-R] [-p] [-P] [-f] [-c] filename ... DESCRIPTION The getfilexsec command displays various extended security attributes associated with binary executable files. These attributes include retained privileges, permitted privileges, and compartment and security attribute flags.
getmemwindow(1M) getmemwindow(1M) NAME getmemwindow - extracts window ids of user processes from /etc/services.window SYNOPSIS getmemwindow string DESCRIPTION getmemwindow is the command used to extract window ids of user processes from the /etc/services.window file. User applications are encouraged to place a unique string defining an application and its associated window id in the /etc/services.window file and then extract that window id using the getmemwindow command.
getprocxsec(1M) getprocxsec(1M) NAME getprocxsec - display security attributes of a process SYNOPSIS getprocxsec [-c] [-e] [-f] [-p] [-r] [pid ] DESCRIPTION The getprocxsec command displays various security attributes associated with a running process. These attributes include the permitted privilege set, effective privilege set, retained privilege set, euid, and the compartment name. See privileges(5) and compartments (5).
getprocxsec(1M) getprocxsec(1M) euid= zero Example 2 Display the privilege sets and compartment of the parent process: # getprocxsec -2 Sample output: effective= BASIC permitted= BASIC retained= BASIC cmpt= init euid= zero Example 3 Display the full privilege sets and compartment of an arbitrary process: # getprocxsec -f 801 Sample output: g effective= FORK EXEC SESSION LINKANY permitted= FORK EXEC SESSION LINKANY retained= FORK EXEC SESSION LINKANY cmpt= web euid= non-zero SEE ALSO getfilexsec(1M), s
getprpw(1M) getprpw(1M) NAME getprpw - display protected password database SYNOPSIS getprpw [-l|-n [domain]] [-r] [-m parm[,parm]] username DESCRIPTION getprpw displays the user’s protected password database settings. This command is available only to the superuser in a trusted system. Normally it is only used via SAM, see sam(1M). The database contains information for both local and NIS+ users. However, some NIS+ information is kept on the master.
getprpw(1M) syspnpw rstrpw nullpw syschpw sysltpw timeod slogint ulogint sloginy culogin uloginy umaxlntr alock lockout getprpw(1M) whether system generates pronounceable passwords, YES /NO /DFT whether password is restricted, i.e, checked for triviality, YES /NO /DFT NULL passwords are allowed, YES /NO /DFT .
getprpw(1M) getprpw(1M) /tcb/files/auth/*/* Protected Password Database /tcb/files/auth/system/default System Defaults Database SEE ALSO modprpw(1M), prpwd(4), nsswitch.conf(4).
getrules(1M) getrules(1M) NAME getrules - display compartment rules SYNOPSIS getrules [-f] [-i] [-n] [-p|-P] [compartment_name]... getrules -l network_interface_name[...] DESCRIPTION getrules displays rules defined for compartment(s) or network interface(s). This command can only be used when compartmentalization is enabled (see cmpt_tune(1M)). If no options are specified, all subsystem rules for the given compartment are displayed.
getrules(1M) getrules(1M) Sample output: Compartment Name: web : sealed Disallowed Privileges: POLICY File System Rules: -----------------PERMISSION read, write, create, unlink PATHNAME / SEE ALSO cmpt_tune(1M), setrules(1M), compartments(4), compartments(5), privileges(5).
getty(1M) getty(1M) NAME getty - set terminal type, modes, speed, and line discipline SYNOPSIS /usr/sbin/getty [-f] [-h] [-t timeout] line [speed [type [linedesc] ] ] /usr/sbin/getty -c file DESCRIPTION getty is a program that is invoked by init (see init(1M)). It is the second process in the series, init >getty >login >shell, that ultimately connects a user with the HP-UX system.
getty(1M) getty(1M) Operation When given no optional arguments, getty sets the speed of the interface to 300 baud, specifies that raw mode is to be used (awaken on every character), that echo is to be suppressed, that either parity is to be allowed, that newline characters are to be converted to carriage-return-linefeed, and that tab expansion is to be performed on standard output. It types the login message before reading the user’s name a character at a time.
getx25(1M) getx25(1M) (TO BE OBSOLETED) NAME getx25 - get x25 line SYNOPSIS /usr/sbin/getx25 line speed pad-type DESCRIPTION The uucp commands, including getx25 , are targeted for removal from HP-UX; see the WARNINGS below. getx25 is functionally very similar to getty (see getty(1M)) but is used only for incoming lines that are connected to an X.25 PAD. It performs special functions such as setting up an initial PAD configuration. It also logs the number of the caller in /var/uucp/.Log/LOGX25.
groupadd(1M) groupadd(1M) NAME groupadd - add a new group to the system SYNOPSIS groupadd [-g gid [-o] ] group DESCRIPTION The groupadd command creates a new group on the system by adding the appropriate entry to the /etc/group file. The groupadd command expects the group argument, which is the name of the new group. The name consists of a string of printable characters that may not include a colon (:) or newline (\n).
groupadd(1M) groupadd(1M) SEE ALSO users(1), groupdel(1M), groupmod(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4).
groupdel(1M) groupdel(1M) NAME groupdel - delete a group from the system SYNOPSIS groupdel group DESCRIPTION The groupdel command deletes a group from the system by removing the appropriate entry from the /etc/group file. The groupdel command must be used with the group argument. group is the name of the group to be deleted, consisting of a string of printable characters. NETWORKING FEATURES This command is aware of NIS user entries. Only local groups may be deleted with groupdel .
groupmod(1M) groupmod(1M) NAME groupmod - modify a group on the system SYNOPSIS groupmod [-g gid [-o] ] [-n name] group DESCRIPTION The groupmod command modifies a group on the system by altering the appropriate entry in the /etc/group file. The groupmod command must be used with the group argument, which is the name of the group to be modified. Options The groupmod command may be used with the following options: -g gid Change the value of the group ID to gid.
groupmod(1M) groupmod(1M) FILES /etc/group /etc/ptmp SEE ALSO users(1), groupadd(1M), groupdel(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4).
hosts_to_named(1M) hosts_to_named(1M) NAME hosts_to_named - translate host table to name server file format SYNOPSIS hosts_to_named -d domain -n network-number [ options ] DESCRIPTION hosts_to_named translates the host table, /etc/hosts , into files that are usable by the name server named(1M). The format of these files is defined in RFC 1035. The files are created in the current directory.
hosts_to_named(1M) hosts_to_named(1M) notation. This option is not applicable for creating IPv6 addresses. -o refresh:retry:expire:min Set the values in the start-of-authority (SOA) record to those specified. See below for description of the start-of-authority (SOA) record. -p domain Create only pointer (PTR) data for hosts in domain.
hosts_to_named(1M) -H host-file -M -N mask -S server hosts_to_named(1M) Use host-file instead of /etc/hosts . Do not create mail exchanger (MX) records for hosts in the host table. Apply the default subnet mask mask to each network-number specified with -n except for ones with their subnet masks already provided. mask must be in dot notation. This is the same as supplying each network-number for a subnet using multiple -n options.
hosts_to_named(1M) hosts_to_named(1M) For each domain, a start of authority (SOA) record is created. The SOA record requires two domain names: the host that the data is created on and the electronic mail address of the person responsible. The -h and -u options influence the names. In addition, the SOA record requires 5 values: a serial number, a refresh time, a retry time, an expire time, and a minimum ttl (time to live).
hosts_to_named(1M) -S -d -n -h -z -z hosts_to_named(1M) 15.18.2.1 div3.inc.com 15.18.3 15.18.1.1 15.18.1.1 15.18.2.1 AUTHOR hosts_to_named was developed by HP. FILES /etc/hosts named.boot named.conf boot.cacheonly conf.cacheonly boot.sec.save conf.sec.save boot.sec conf.sec db.127.0.0 db.cache db.root db.DOMAIN db.DOMAIN.in -addr db.NET db.IP6.INT The host table Primary server boot file (4.x) Primary server boot file (8.x or 9.x) Caching only server boot file (4.x) Caching only server boot file (8.
hotplugd(1M) hotplugd(1M) NAME hotplugd - PCI I/O hotplug (attention button) events daemon SYNOPSIS /usr/sbin/hotplugd logfile openmode DESCRIPTION The hotplugd daemon handles PCI I/O hotplug (also known as attention button, AB, or doorbell) events that are generated by pressing the attention button corresponding to a PCI I/O slot. Only one attention button event is processed by the system at any point in time. If more than one attention button is pressed, the events are put in a queue within the kernel.
hotplugd(1M) hotplugd(1M) Could not allocate memory for PCI I/O Attention Button event A chunk of memory, used for storing the attention button event information, could not be allocated. The event is dropped after the power LED is set to PWR_RAIL mode. That is, the power LED will be set to ON if the power to the slot is ON, or the power LED will be set to OFF if the power to the slot is OFF.
hotplugd(1M) hotplugd(1M) Could not open the device in the read-write mode. errMsg gives the reason for the error. Error setting close-on-exec flag on /dev/olar file = errMsg Setting the close-on-exec flag on /dev/olar using fcntl() failed. errMsg gives the reason for the error. At times, terminating the daemon with kill -9 may not clear all kernel data structures. If you try to restart the daemon, it may report an error, ioctl(DEV_OLAR_INIT_ABEVENT) Failed .
hotplugd(1M) hotplugd(1M) The power LED could not be set to PWR_RAIL mode for the given slotId. olarErrMsg gives the reason for the error. Usage : hotplugd The hotplugd program was invoked with an invalid set of parameters. hotplugd : fork() failed, errno = errMsg hotplugd could not fork itself. errMsg gives the reason for the error. hotplugd : Could not open log file : logFile , errno = errMsg hotplugd could not open the given logFile in write mode.
hpux(1M) hpux(1M) (PA-RISC Systems Only) NAME hpux - HP-UX bootstrap SYNOPSIS hpux [-F] [-lm ] [-vm ] [-tm ] [-lq ] [-a[CRSD] devicefile ] [-fnumber ] [-istring ] [ boot ] [ devicefile ] hpux ll [ devicefile ] (same as hpux ls -aFln ) hpux ls [-aFiln ] [ devicefile ] hpux set autofile devicefile string hpux show autofile [ devicefile ] hpux -v hpux restore devicefile (Workstations only; see DEPENDENCIES.
hpux(1M) hpux(1M) (PA-RISC Systems Only) A typical boot devicefile specification is disc(2/4.0.0;0)/stand/vmunix The manager is disc , the hardware path to the disk device is 2/4.0.0 , the minor number shown as 0 by default, and the /stand/vmunix is the filename for the boot device. hpux now supports a consolidated list of managers: disc , tape , and lan . The manager disc manages all disks connected via SCSI, (formerly disc3 ), and all autochanger disk devices (formerly disc30 ).
hpux(1M) hpux(1M) (PA-RISC Systems Only) To boot a saved kernel configuration, specify a devicefile of /stand/ configname /vmunix, where configname is the name of the saved configuration to boot. For more details on saved kernel configurations, see kconfig(5). Regardless of how incomplete the specified devicefile may be, boot announces the complete devicefile specification used to find the object file.
hpux(1M) hpux(1M) (PA-RISC Systems Only) DIAGNOSTICS If an error is encountered, hpux prints diagnostic messages to indicate the cause of the error. These messages fall into the General, Boot, Copy, Configuration, and System Call categories. System Call error messages are described in errno(2). The remaining messages are listed below. General bad minor number in devicefile spec The minor number in the devicefile specification is not recognized.
hpux(1M) hpux(1M) (PA-RISC Systems Only) path long The hardware path specified contains too many components for the specified manager. path short The hardware path specified contains too few components for the specified manager. table full Too many devices have been specified to hpux . EXAMPLES As a preface to the examples which follow, here is a brief overview of HP-UX system boot-up sequences. Automatic Boot Automatic boot processes on various HP-UX systems follow similar general sequences.
hpux(1M) hpux(1M) (PA-RISC Systems Only) Select from menu: b p0 isl Trying scsi.6.0 Boot path initialized. Attempting to load IPL. Hard booted. ISL Revision A.00.2G Mar 27, 1994 ISL> Although all of the operations and options of hpux can be used from isl interactively, they can also be executed from an autoexecute file. In the examples below, user input is the remainder of the line after each ISL> prompt shown. The remainder of each example is text displayed by the system.
hpux(1M) hpux(1M) (PA-RISC Systems Only) finally the Initial System Loader (ISL) prompt that are sent to the display terminal: Boot from primary boot path (Y or N)?> y Interact with IPL (Y or N)?> y Booting... Boot IO Dependent Code (IODC) revision 2 HARD Booted. ISL Revision A.00.2G Mar 20, 1994 ISL> Although all of the operations and options of hpux can be used from isl interactively, they can also be executed from an autoexecute file.
hpux(1M) hpux(1M) (PA-RISC Systems Only) 966616+397312+409688 start 0x6c50 Booting To Single User Mode In this example, the -i option is used to make the system come up in run-level s, for single user mode of operation. ISL> hpux -is Boot : disc(8.0.
hpux(1M) hpux(1M) (PA-RISC Systems Only) drwxr-xr-x drwxr-xr-x drwxr-xr-x -rw-r--r--r--r--r-drwxr-xr-x drwxr-xr-x drwxr-xr-x -rw-------rw-r--r--rwxr-xr-x 3 5 5 1 1 2 2 5 1 1 4 0 0 0 0 0 0 0 0 0 0 0 3 3 3 3 3 3 0 3 0 3 3 1024 1024 1024 4376 82 1024 65536 1024 12 1892 17163704 bootfs/ current/ good/ ioconfig kernrel krs/ lost+found/ nextboot/ rootconf system vmunix* Getting The Version The -v option is used to get the version numbers of hpux . h ISL> hpux -v Release: 10.00 Release Version: @(#) X10.
hpux.efi(1M) hpux.efi(1M) (Itanium(R)-based System Only) NAME hpux.efi - HP-UX bootstrap for Itanium-based systems SYNOPSIS hpux.efi [-V] [-tm ] [-vm ] DESCRIPTION hpux.efi is the HP-UX-specific operating system loader utility for bootstrap. It is a native efi(4) application that can be run on the Itanium-based platform. hpux.efi supports the following options: -V Display the release and version numbers of the hpux utility.
hpux.efi(1M) hpux.efi(1M) (Itanium(R)-based System Only) setauto Operation The setauto operation overwrites the contents of the autoexec file, AUTO , with the string specified. showauto Operation The showauto operation displays the contents of the autoexec file, AUTO . See autoexecute in the EXAMPLES section. EXAMPLES Automatic Boot This is an overview of HP-UX automatic boot processes on Itanium-based systems.
identd(1M) identd(1M) NAME identd - TCP/IP IDENT protocol server SYNOPSIS /usr/lbin/identd [-i|-w|-b] [-tseconds] [-Tseconds] [-uuid] [-ggid] [-pport] [-aaddress] [-ccharset] [-n] [-o] [-e] [-l] [-V] [-m] [-N] [-d] DESCRIPTION identd is a server which implements the TCP/IP proposed standard IDENT user identification protocol as specified in the RFC 1413 document. identd operates by looking up specific TCP/IP connections and returning the user name of the process owning the connection.
identd(1M) identd(1M) -Tseconds Specifies the maximum number of seconds a server will wait for the client’s input before closing the connection on timeout. By default, the timeout limit is 0 (zero); that is, the server waits for an indefinite amount of time. This option is ignored for invalid timeout intervals. -uuid Specify a user id number which the ident server should switch to after binding itself to the TCP/IP port if using the -b mode of operation. -V -w Display the version number and exit.
idisk(1M) idisk(1M) (Itanium(R)-based Processor Family Only) NAME idisk - create partitions for Itanium(R)-based system’s disks SYNOPSIS idisk [-p |-a |-l |-b |-q |-v |-r |-R |-w ] [-f {- | partition_description_file } ] device DESCRIPTION idisk creates operating system partitions on a disk that is to be used for Itanium-based systems. It reads in the partition information from a data file that may be specified in the command string or redirected from stdin.
idisk(1M) idisk(1M) (Itanium(R)-based Processor Family Only) The first entry specifies the number of partitions to create. The second specifies an EFI partition of 100 megabytes. The last entry specifies a HPUX partition consisting of all the remaining space on the disk after the EFI partition has been created. When creating partitions, the device file name must be that of the whole disk and must not have any partition number bits set in the minor number.
ifconfig(1M) ifconfig(1M) NAME ifconfig - configure network interface parameters SYNOPSIS ifconfig [-m mod1[,mod2]...] interface [address_family] [address[dest_address] ] [parameters] ifconfig interface [address_family] DESCRIPTION The first form of the ifconfig command assigns an address to a network interface and/or configures network interface parameters. ifconfig must be used at boot time to define the network address of each interface present on a machine.
ifconfig(1M) ifconfig(1M) broadcast (inet only) Specify the address that represents broadcasts to the network. The default broadcast address is the address with a host part of all 1’s. encaplimit n Specify the tunnel encapsulation limit value n. The tunnel encapsulation limit is the maximum number of additional encapsulations permitted for the packets. The tunnel encapsulation limit option is defined in RFC 2473. This option is valid only for tunnel types ipinip6 and ip6inip6 . The default is 4.
ifconfig(1M) ifconfig(1M) tunnel types ip6inip and 6to4 , the addr should be an IPv4 address. arp (inet only) Enable the user of the Address Resolution Protocol in mapping between network level addresses and link level addresses (default). If an interface already had the Address Resolution Protocol disabled, the user must "unplumb" the interface before it can be enabled for Address Resolution Protocol. -arp (inet only) Disable the use of the Address Resolution Protocol.
ifconfig(1M) ifconfig(1M) to its interface. IPv6 Interfaces inet6 must be specified when an IPv6 interface is configured. The address for an IPv6 interface can either be a hostname present in the host name database (see hosts(4)), or an address in the IPv6 colon notation. Stateless Address Auto-configuration Unlike IPv4 interfaces, IPv6 interfaces can be configured without an address and/or a prefix.
ifconfig(1M) ifconfig(1M) Manual configuration for a secondary interface with global address ifconfig lan0:3 inet6 2222::4 up Tunnel interface configuration: HP-UX supports "IP6-in-IP" configured tunnels as specified in RFC 2893, "IP-in-IP6" and "IP6-in-IP6" configured tunnels as specified in RFC 2473, and 6to4 automatic tunnel as specified in RFC 3056.
ifconfig(1M) ifconfig(1M) ifconfig ip6tu0 inet6 tunnel ip6inip6 source_link-local_address \ destination_link-local_address tsrc tunnel_local_IPv6_address \ tdst tunnel_remote_IPv6_address up The tunnel_local_IPv6_address should be an address configured on the local system, and tunnel_remote_IPv6_address should be an address configured on the remote system. The tunnel configuration should be done on both the local and the remote systems. Example.
inetd(1M) inetd(1M) NAME inetd - Internet services daemon SYNOPSIS /usr/sbin/inetd [-a] [-p proc_limit] [ -r count [interval] ] [-l |-s] /usr/sbin/inetd [-c] /usr/sbin/inetd [-k] DESCRIPTION The inetd daemon is the Internet superserver, which invokes Internet server processes as needed. It must be running before other hosts can connect to the local host through ftp , rcp , remsh , rlogin , and telnet .
inetd(1M) inetd(1M) -c Reconfigure the Internet daemon; in other words, force the current inetd to reread /etc/inetd.conf. This option sends the signal SIGHUP to the Internet daemon that is currently running. Any configuration errors that occur during the reconfiguration are logged to the syslogd daemon facility. -k Kill the current inetd . This option sends the signal SIGTERM to the Internet daemon that is currently running, causing it to exit gracefully.
inetd(1M) inetd(1M) The following diagnostics are logged to the syslogd daemon facility. Unless otherwise indicated, messages are logged at the error log level. /etc/inetd.conf: Unusable configuration file The Internet daemon is unable to access the configuration file /etc/inetd.conf. The error message preceding this one specifies the reason for the failure. /etc/inetd.conf: line number : error There is an error on the specified line in /etc/inetd.conf. The line in the configuration file is skipped.
inetd(1M) inetd(1M) service/protocol : Access denied to remote_host (address ) The remote host failed to pass the security test for the indicated service. This information can be useful when trying to determine if someone is repeatedly trying to access your system from a particular remote system (in other words, trying to break into your system). This message is logged at the warning log level.
inetd(1M) inetd(1M) AUTHOR inetd was developed by HP and the University of California, Berkeley. NFS was developed by Sun Microsystems, Inc. FILES /etc/inetd.conf /var/adm/inetd.sec List of Internet server processes. Optional security file. SEE ALSO umask(1), portmap(1M), syslogd(1M), getservent(3N), inetd.conf(4), inetd.sec(4), protocols(4), services(4), environ(5).
inetsvcs_sec(1M) inetsvcs_sec(1M) NAME inetsvcs_sec - enable/disable secure internet services SYNOPSIS inetsvcs_sec [enable | disable | status ] DESCRIPTION /usr/sbin/inetsvcs_sec is used to enable or disable secure internet services (SIS) by updating inetsvcs.conf(4) with the appropriate entry.
infocmp(1M) infocmp(1M) NAME infocmp - compare or print out terminfo descriptions SYNOPSIS infocmp [-d] [-c] [-n] [-I] [-L] [-C] [-r] [-u] [-s {d|i|l|c} ] [-v] [-V] [-1] [-w width] [-A directory] [-B directory] [termname]... DESCRIPTION infocmp can be used to compare a binary terminfo entry with other terminfo entries, rewrite a terminfo description to take advantage of the use= terminfo field, or print out a terminfo description from the binary file (term ) in a variety of formats.
infocmp(1M) infocmp(1M) terminfo %p1%c %p1%d %p1%’x’%+%c %i %p1%?%’x’%>%t%p1%’y’%+%; %p2 is printed before %p1 termcap %. %d %+x %i %>xy %r Representative Terminals adm hp, ANSI standard, vt100 concept ANSI standard, vt100 concept hp Use= Option [-u] -u produces a terminfo source description of the first terminal termname which is relative to the sum of the descriptions given by the entries for the other terminals termnames.
infocmp(1M) infocmp(1M) FILES /usr/lib/terminfo/?/* Compiled terminal description database. SEE ALSO captoinfo(1M), tic(1M), curses_intro(3X), terminfo(4).
init(1M) init(1M) NAME init - process control initialization SYNOPSIS /sbin/init [0123456SsQqabc] DESCRIPTION The init daemon and command is a general process spawner. Its primary role is to create processes from a script stored in the file /etc/inittab (see inittab(4)). This file usually has init spawn a getty on each line where users can log in. It also controls autonomous processes required by any particular system. At boot time, init is started as a system daemon.
init(1M) init(1M) this file does not exist when boot init wants to read it, a warning is printed and default settings are assumed. If 0 through 6 is entered, boot init enters the corresponding run level. Any other input is rejected and a new prompt is issued. If this is the first time boot init has entered a run level other than single-user, boot init first scans inittab for special entries of the type boot and bootwait .
init(1M) init(1M) When boot init is requested to change run levels via a user init , it sends the warning signal SIGTERM to all processes that are undefined in the target run level. Boot init waits 20 seconds before forcibly terminating these processes with the kill signal SIGKILL . Note that boot init assumes that all these processes (and their descendants) remain in the same process group that boot init originally created for them.
init(1M) init(1M) STANDARDS CONFORMANCE init : SVID2, SVID3 i HP-UX 11i Version 2: December 2007 Update −4− Hewlett-Packard Company 387
insf(1M) insf(1M) NAME insf - install special (device) files SYNOPSIS /sbin/insf /sbin/insf [-C class -d driver] [-D directory] [-e] [-H hw-path] [-I instance] [-n npty] [-q-v] [-s nstrpty] [-p first-optical-disk :last-optical-disk] DESCRIPTION The insf command installs special files in the devices directory, normally /dev . If required, insf creates any subdirectories that are defined for the resulting special file.
insf(1M) insf(1M) -p first-optical-disk:last-optical-disk Install the special files for those optical disks located in slots in the range first-optical-disk to last-optical-disk. The two variables can have values from the set 1a, 1b, ..., 32a , 32b . This option only applies to the autox0 and schgr drivers. If it is omitted, the 64 special files for both sides of 32 optical disks (1a through 32b ) will be installed. -q Quiet option. Normally, insf displays a message as each driver is processed.
insf(1M) tty card+1 p0 insf(1M) rw--w--w- bin bin UPS port (direct connect) tty card+1 p1 rw--w--w- bin bin local session port (direct connect) asyncdsk The following special files are installed: asyncdsk async audio rw-rw-rw- bin bin rw-rw-rw- bin bin The following special files are installed. Note the underscore (_) before card in each special file name. For card 0, the device files are linked to files without the trailing _0 in their names.
insf(1M) insf(1M) surface: 1a through 32b , unless modified by the -p option. Note the underscore (_) between device and surface.
insf(1M) insf(1M) rfloppy/c card ttarget ddevice rw-r----- bin sys Character entry For disk instances that are partitioned, the following additional special files are installed: dsk/c card ttarget ddevicespartition rw-r----- bin sys Block entry rdsk/c card ttarget ddevicespartition rw-r----- bin sys Character entry dlpi The following special files are installed: dlpi dlpi0 dlpi1 dlpi2 dlpi3 dlpi4 dmem i rw-rw-rwrw-rw-rwrw-rw-rwrw-rw-rwrw-rw-rwrw-rw-rw- root root root root root root sys sys sys s
insf(1M) insf(1M) inet_cots rw-rw-rw- root sys ip The following special file is installed: ip rw-rw-rw- root sys kepd The following special file is installed: kepd klog rw-r--r-- root other The following special file is installed: klog rw------- bin bin lan0 lan1 lan2 lan3 For each card instance, the following special files are installed: lan card ether card diag/lan card lantty0 rw-rw-rw- bin bin rw-rw-rw- bin bin rw------- bin bin For each card instance, the following special files are installed:
insf(1M) insf(1M) mux card diag/mux card rw------- bin bin rw------- bin bin For each card instance of an 8-channel card, the following special files are installed: tty card pport mux card diag/mux card rw--w--w- bin bin port: 0 to 7, direct connect rw------- bin bin rw------- bin bin For each card instance of an 3-channel card, the following special files are installed: tty card pport mux card diag/mux card mux4 rw--w--w- bin bin port: 0, 1, and 7, direct connect rw------- bin bin rw------- bin bin
insf(1M) ps2_1 insf(1M) rw-rw-rw- bin bin ps2 port 1 ptm The following special file is installed: ptmx rw-rw-rw- root sys pts The following special files are installed: pts/ number rw-rw-rw- root sys number: 0 to 59 pty Specifying this driver tells insf to install the special files for both the master and slave pty drivers, ptym and ptys . The command insf -d pty is equivalent to the two commands insf -d ptym and insf -d ptys .
insf(1M) insf(1M) stape tape2 For each driver instance, different special files are installed depending on the number of characters allowed in the target directory. There are two lists below, one for long file name directories and one for short file name directories (14 characters maximum). Short file names are used for files installed on an NFS file system.
insf(1M) insf(1M) number: 0 to 59 tlclts The following special file is installed: tlclts tlcots rw-rw-rw- root sys The following special file is installed: tlcots tlcotsod rw-rw-rw- root sys The following special file is installed: tlcotsod token2 rw-rw-rw- root sys The following special file is installed: lan card rw-rw-rw- bin bin udp The following special file is installed: udp rw-rw-rw- root sys unix_clts i The following special file is installed: unix_clts unix_cots rw-rw-rw- root sy
insf(1M) insf(1M) WARNINGS insf can change the mode, owner, or group of an existing special file, or unlink and recreate one; special files that are currently open may be left in an indeterminate state. Hence insf is recommended to be run in single-user mode. Many commands and subsystems assume their device files are in /dev , therefore the use of the -D option is discouraged. AUTHOR insf was developed by HP.
install(1M) install(1M) NAME install - install commands SYNOPSIS /usr/sbin/install [ -c dira ] [ -f dirb ] [ -i ] [ -n dirc ] [ -o ] [ -g group ] [ -s ] [ -u user ] file [ dirx ... ] DESCRIPTION install is a command most commonly used in ‘‘makefiles’’ (see make(1)) to install a file (updated target file) in a specific place within a file system. Each file is installed by copying it into the appropriate directory, thereby retaining the mode and owner of the original command.
install(1M) install(1M) Cross Generation The environment variable ROOT is used to locate the locations file (in the form $ROOT/etc/syslist). This is necessary in cases where cross generation is being done on a production system. Furthermore, each pathname in $ROOT/etc/syslist is appended to $ROOT (for example, $ROOT/usr/bin/echo), and used as the destination for file.
intctl(1M) intctl(1M) NAME intctl - manage the interrupt configuration of the system SYNOPSIS /usr/contrib/bin/intctl [-h | -F | -p | -c cpu_id] /usr/contrib/bin/intctl [-C class] [-H hw_path] /usr/contrib/bin/intctl [-M -H hw_path -I intr_id -c cpu_id] /usr/contrib/bin/intctl [-r file | -s file] /usr/contrib/bin/intctl [-b [-w] [-a algorithm] [-i io:hw_path:intr_id]... [-i cpu :hw_path]... [-i drv :driver_name]... [-o drv :driver_name:weight]...
intctl(1M) intctl(1M) a similar average weight from the interrupt load perspective. • round_robin Another supported algorithm is round_robin , which assigns interrupts to the available CPUs in a round robin fashion. This is similar to the HP-UX default boot time interrupt distribution method, but the interrupt assignments may differ because of the difference in the way I/O cards and CPUs are discovered.
intctl(1M) -H hw_path intctl(1M) Display interrupt information about all interface cards connected at the specified hardware path. For hardware paths / and 0, intctl prints the interrupt information about all the interface cards on the system. When used with the -C class option, -H displays information about all interface cards connected to the path and which belong to the specified class.
intctl(1M) intctl(1M) handling the interrupts is less than this percentage. A value 100 will always trigger balancing of interrupts, but if the system is optimally balanced with respect to interrupt distribution then it may not result in any interrupt migrations. The default value is 50. distribute_to_cpu is the percentage of available number of CPUs that should be handling interrupts. Balancing of interrupts would distribute interrupts across this percentage of available number of CPUs.
intctl(1M) intctl(1M) cpu cell intr type The cell number of the cell to which the CPU is connected. A character representing the interrupt type: L T line based interrupt transaction based interrupt intr ID The identity of the interrupt to be moved. card description A brief description of the interface card. cpu_path cpu_state The hardware path of the CPU. Integer value representing the state of the CPU: ENABLED(0), DISABLED(1) or RESERVED(2).
intctl(1M) intctl(1M) To CPU ID (CPU H/W path) The CPU id and CPU hardware path to which the interrupt will get migrated. Redirection The intctl command allows the performance specialist to modify the interrupt assignment of an interface card. The user must specify the hardware path of interface card, the interrupt ID that needs to be moved, and the new CPU ID that the interrupt will be routed to.
intctl(1M) intctl(1M) This entry needs to be made in INTCTL_HW_IGNORE section of the /etc/intctl.conf configuration file. This will avoid selecting this card for further migrations while balancing interrupts. There is no impact on the system or balancing of interrupts if this activity is not performed. The only impact will be an interrupt migration failure message in the syslog and the above intctl message. Example: INTCTL_HW_IGNORE 1/2/1/0 2 1/3/1/0 -1 3.
intctl(1M) intctl(1M) RETURN VALUE Exit values are: 0 Successful completion. >0 An error condition occurred.
intctl(1M) intctl(1M) FILES /etc/intctl.conf intctl configuration file. See the Interrupt Configuration File section above. SEE ALSO intrbald(1M), ioscan(1M), limits(5).
intrbald(1M) intrbald(1M) NAME intrbald - daemon for balancing interrupts SYNOPSIS /usr/sbin/intrbald [-i interval | -k | -c] DESCRIPTION Balancing interrupts is a process which distributes interrupts across the available CPUs in an optimal fashion. This action is performed by intctl(1M). Performing frequent CPU migrations between system partitions may require you to perform periodic balancing of interrupts.
intrbald(1M) intrbald(1M) Setting this value too small could cause unnecessary interrupt migrations. RETURN VALUE Exit values are: 0 Successful completion. >0 An error condition occurred. WARNINGS The intrbald command can be executed only by the superuser. This command should be used only by performance analysts for performance tuning purposes.
ioinit(1M) ioinit(1M) NAME ioinit - test and maintain consistency between the kernel I/O data structures and /etc/ioconfig SYNOPSIS /sbin/ioinit -i [-r] /sbin/ioinit -c /sbin/ioinit -f infile [-r] DESCRIPTION The ioinit command is invoked by the init process when the system is booted, based on the ioin entry in /etc/inittab : ioin::sysinit:/sbin/ioinitrc > /dev/console 2>&1 where ioinitrc is a script to invoke ioinit with the -i and -r options.
ioinit(1M) ioinit(1M) Errors /etc/ioconfig is missing. /etc/ioconfig is corrupted. Either restore /etc/ioconfig from backup and then reboot, or recreate /etc/ioconfig using ioinit -c. Permission to access /etc/ioconfig is denied. Change permissions to /etc/ioconfig to allow access by ioinit . ext_bus instance value exceeds one byte limit Change specified instance number for ext_bus class of devices in infile. Note that the value of instance number should not exceed 255. exec of insf failed.
ioscan(1M) ioscan(1M) NAME ioscan - scan I/O system SYNOPSIS /usr/sbin/ioscan [-k-u] [-e] [-d driver-C class ] [-I instance ] [-H hw_path ] [-f[-n ]-F [-n] ] [ devfile ] /usr/sbin/ioscan -M driver -H hw_path [-I instance ] /usr/sbin/ioscan -t DESCRIPTION ioscan scans system hardware, usable I/O system devices, or kernel I/O system data structures as appropriate, and lists the results.
ioscan(1M) ioscan(1M) -n List device file names in the output. Only special files in the /dev directory and its subdirectories are listed. -t Display the date and time at which the system hardware was last scanned. The output of the ioscan command used with this option is as follows: Fri Nov -u Scan and list usable I/O system devices instead of the actual hardware. Usable I/O devices are those having a driver in the kernel and an assigned instance number.
ioscan(1M) ioscan(1M) cdio The name associated with the Context-Dependent I/O module. is_block A boolean value indicating whether a device block major number exists. A T or F is generated in this field. is_char A boolean value indicating whether a device character major number exists. A T or F is generated in this field. is_pseudo A boolean value indicating a pseudo driver. A T or F is generated in this field. block major The device block major number.
isl(1M) isl(1M) (PA-RISC Systems Only) NAME isl - initial system loader DESCRIPTION isl implements the operating system independent portion of the bootstrap process. It is loaded and executed after self-test and initialization have completed successfully. The processor contains special purpose memory for maintaining critical configuration related parameters (e.g. Primary Boot, Alternate Boot, and Console Paths). Two forms of memory are supported: Stable Storage and Non-Volatile Memory (NVM).
isl(1M) isl(1M) (PA-RISC Systems Only) Non-fatal errors during an autoboot sequence cause the autoboot sequence to be aborted and isl to prompt for input. After non-fatal errors during an interactive isl session, isl merely prompts for input. Fatal errors cause the system to halt. The problem must be corrected and the system RESET to recover.
itemap(1M) itemap(1M) NAME itemap - load an ITE (Internal Terminal Emulator) keyboard mapping. SYNOPSIS itemap [options] DESCRIPTION The itemap command loads a keyboard mapping into the ITE (the graphics console driver), or displays ITE keyboard mappings. itemap is run by /etc/bcheckrc automatically. It is not usually explicitly invoked by the user. Options -d name -d keyboard_ID Dump a keymap to standard output in hexadecimal notation.
itemap(1M) itemap(1M) To interactively choose a PS2 DIN keyboard mapping: itemap -Li To generate a list of the available keyboard mappings: /usr/contrib/bin/X11/keymap_ed -l FILES /usr/contrib/bin/X11/keymap_ed /etc/X11/XHPKeymaps /etc/kbdlang Keymap database editor System keymap database Contains mapping name configured for PS2 DIN keyboards SEE ALSO ps2(7), termio(7), keymap_ed(1X111).
kclog(1M) kclog(1M) NAME kclog - manage kernel configuration log file SYNOPSIS kclog [-a] [-c config] [-f string] [-t type] [-n name] [count] kclog -C comment DESCRIPTION kclog is the administrative command for the HP-UX kernel configuration log file. The log file is automatically maintained by all of the kernel configuration commands (kconfig(1M), kcmodule(1M), and kctune(1M)). Any change to any kernel configuration gets logged to this log file, which is located at /var/adm/kc.log.
kclog(1M) kclog(1M) SEE ALSO kconfig(5), kcmodule(1M), kconfig(1M), kctune(1M).
kcmodule(1M) kcmodule(1M) NAME kcmodule - manage kernel modules and subsystems SYNOPSIS kcmodule [-adhvBDKS ] [-c config] [-C comment ] [-P fields] [module[=[unused|static|loaded|auto|best|uninstall]]] DESCRIPTION kcmodule is the administrative command for HP-UX kernel modules. It gives information about kernel modules and their usage, and makes changes to their usage.
kcmodule(1M) kcmodule(1M) Arguments The arguments to kcmodule may be any mixture of module state queries and assignments. The arguments must each take one of the forms listed below. No spaces are permitted within each argument. If no arguments are given, kcmodule performs a query on all modules (subject to the constraints of the -a, -D, or -S flags). module The state of the module will be reported. No change is made. module = The module will be put into its best state.
kcmodule(1M) kcmodule(1M) depend The module inherited its state from another module that depends on it. required The module is in use because it is marked required. best The module is in this state because it is the "best" state for this module as specified by the module developer. next_state The state of the module at next boot. This field is present only if -c is not specified. next_cause This field indicates how the module was given its state for next boot.
kcmodule(1M) kcmodule(1M) If -D was specified, this return value indicates that there are module state changes being held for next boot. 2 kcmodule was not successful.
kconfig(1M) kconfig(1M) NAME kconfig - manage kernel configurations SYNOPSIS kconfig kconfig kconfig kconfig kconfig kconfig kconfig kconfig kconfig kconfig kconfig kconfig -DSw [-av ] [-P fields] [config...
kconfig(1M) kconfig(1M) running kernel configuration will be exported, including any changes to it that are being held for next boot. The exported file can be later imported using kconfig -i on this system or any other system with compatible HP-UX software. See kconfig(5) and system (4) for more information about system files. -f Tells kconfig to proceed with the requested operation despite its potentially dangerous nature.
kconfig(1M) kconfig(1M) Prints information about the original source of the currently running configuration. Specifically, it describes the source of the most recent complete kernel configuration operation (load, boot, or import). Also, if a saved configuration is marked for use at next boot, this option will identify it. -w Note that this source information does not imply that the currently running configuration kconfig -w may say that the currently running matches its original source.
kconfig(1M) kconfig(1M) To add a description to a configuration: $ kconfig -t approved "Changes approved by management" To get a list of all saved configurations: $ kconfig To get details of a saved configuration: $ kconfig -v myconfig SEE ALSO kclog(1M), kcmodule(1M), kcpath(1M), kctune(1M), mk_kernel(1M), system(4), kconfig(5).
kcpath(1M) kcpath(1M) NAME kcpath - print kernel configuration pathnames SYNOPSIS kcpath [-b] kcpath -d [config] kcpath -x [config] DESCRIPTION kcpath prints the pathnames associated with a kernel configuration. If config is specified, kcpath gives information about the saved kernel configuration named config. Otherwise, kcpath gives information about the currently running configuration. See kconfig(5) for information on saved kernel configurations.
kctune(1M) kctune(1M) NAME kctune - manage kernel tunable parameters SYNOPSIS kctune [-dghuvBDKS ] [-c config] [-C comment ] [-P fields] [args...] args are: tunable tunable= tunable=Default tunable=expr tunable+=value tunable>=value (query tunable) (set tunable to default) (set tunable to default) (set tunable to expression) (increase tunable by value) (set tunable to value if currently less) DESCRIPTION kctune is the administrative command for HP-UX kernel tunable parameters.
kctune(1M) kctune(1M) user-defined tunable. This tunable will not directly affect the kernel, but may be used in expressions defining the values of other tunables. The -u option is not needed when changing the value of a user-defined tunable; it is needed only to create one. To remove a user-defined tunable, set it to default . A user-defined tunable may not be removed if it is used in the expressions defining any other tunable values.
kctune(1M) kctune(1M) kctune example=Default will set the tunable’s value to 4000, and automatically change it whenever the default value is re-computed. Developer’s Note The layout and content of kctune ’s output may change without notice, except when -P fields is specified. Scripts or applications that need to parse the output of kctune are expected to use the -P fields option. See kconfig(5) for details. The fields supported in a kctune request are: k 434 name module The name of the tunable.
kctune(1M) next_default kctune(1M) This field contains a ’y’ if the tunable is set to its default value at next boot, or an ’n’ otherwise. This field is not printed for saved configurations. before_default This field contains a ’y’ if the tunable was set to its default value before this invocation of kctune , or an ’n’ otherwise. This field is present only for tunables for which an immediate value change has been made during the current invocation of kctune .
kctune(1M) kctune(1M) To set a tunable value on the running system: $ kctune tunable=12 To set a tunable value to be used when the system reboots: $ kctune -h tunable=12 To increase a tunable’s value by 100: $ kctune tunable+=100 SEE ALSO kclog(1M), gettune(2), settune(2), settune_txn(2), tuneinfo2(2), kconfig(5). Managing Kernel Configurations White Paper available on: http://www.hp.com/products1/unix/operating/infolibrary .
keyenvoy(1M) keyenvoy(1M) NAME keyenvoy - talk to keyserver SYNOPSIS keyenvoy 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 keyenvoy is a setuid root process that is used by some RPC programs to intermediate between a user process and the keyserv process, keyserv(1M), which will not talk to anything but a root process. This program cannot be run interactively.
keyserv(1M) keyserv(1M) NAME keyserv - server for storing private encryption keys SYNOPSIS keyserv [ -d ] [ -D ] [ -n ] DESCRIPTION keyserv is a daemon that is used for storing the private encryption keys of each user logged into the system. These encryption keys are used for accessing secure network services such as NIS+. Normally, root’s key is read from the file /etc/.rootkey when the daemon is started. This is useful during power-fail reboots when no one is around to type a password.
killall(1M) killall(1M) NAME killall - kill all active processes SYNOPSIS /usr/sbin/killall [ signal ] DESCRIPTION killall is a procedure used by /usr/sbin/shutdown to kill all active processes not directly related to the shutdown procedure. killall is chiefly used to terminate all processes with open files so that the mounted file systems are no longer busy and can be unmounted.
killsm(1M) killsm(1M) NAME killsm - kill the sendmail daemon SYNOPSIS /usr/sbin/killsm DESCRIPTION killsm reads the pid file to get the pid number of the currently running sendmail daemon, and then kills that daemon. The pid file is specified using the PidFile option in the /etc/mail/sendmail.cf file. If this option is not set, sendmail uses /etc/mail/sendmail.pid file as the default pid file.
kl(1M) kl(1M) NAME kl - control kernel logging SYNOPSIS /usr/sbin/kl /usr/sbin/kl /usr/sbin/kl /usr/sbin/kl /usr/sbin/kl /usr/sbin/kl /usr/sbin/kl /usr/sbin/kl [-q qsize] [-s fsize] [-w (on |off )] [-l {d|e|w|i} {subsys_name...| all }] -e -d -l -w -s -i -p -q {d|e|w|i} {subsys_name...| all } {on [-s fsize ] | off } fsize filename [-w on [-s fsize ]] qsize DESCRIPTION The kl command controls the operation of the Kernel Logging facility.
kl(1M) kl(1M) the command nettlconf -KL -status . The keyword all changes the logging level for all subsystems specified in the file /etc/nettlgen.conf. The following table describes the classes of messages that can be logged Message Class Disaster Error Warning Informative Description Signals an event or condition which affected the the operation of an entire subsystem, or the entire kernel, causing several programs to fail or the entire machine to shut down.
kl(1M) kl(1M) • maximum file size of the log file used by write-to-disk, together with the minimum file size available for the current session of write-to-disk. • number of messages not written to file (could be due to the lack of memory or small size of the circular buffer). • list of all subsystems currently specified in the /etc/nettlgen.conf file and the associated message class(es) logged for each subsystem.
kl(1M) kl(1M) kl -p kl_snap.kl 5. Turn on default write-to-disk logging. 6. Change the maximum size of the current log file to 512KB. kl -w on kl -s 512K 7. Turn off write-to-disk logging. 8. Disable the Kernel Logging facility. kl -w off kl -d 9. Enable on the Kernel Logging facility with the following parameters: queue size is 1000, write-to-disk component is on, maximum file size is 4 megabytes, and log level for the KL_PM subsystem is Warning.
kmpath(1M) kmpath(1M) NAME kmpath - retrieve kernel name and associated kernel configuration information SYNOPSIS /usr/sbin/kmpath [-k] /usr/sbin/kmpath -c [kernel_name] /usr/sbin/kmpath -i [kernel_name] DESCRIPTION The kmpath command is obsolete and superseded by the kcpath(1M) command. Users are encouraged to migrate to kcpath(1M). The kmpath command will be removed in a future release of HP-UX. The behavior of some of kmpath ’s options have changed and they are noted in the appropriate sections below.
kmtune(1M) kmtune(1M) NAME kmtune - query, set, or reset system parameters SYNOPSIS /usr/sbin/kmtune [-d] [-l] [[-q name] ... ] [-S system_file] /usr/sbin/kmtune [-u] [[-s name{=|+}value] ... ] [[-r name] ... ] [-c comment ] [-S system_file] /usr/sbin/kmtune [[-e value] ... ] DESCRIPTION kmtune is an obsolete command that is replaced by kctune(1M). Users are encouraged to migrate to kctune(1M). kmtune will be removed in a future release of HP-UX.
kmtune(1M) kmtune(1M) Notes Changing kernel parameters dynamically is a fairly new feature. Programs using pstat(2), getrlimit(2), or sysconf(2) may have been written with the previously correct assumption that the returned values do not vary while the system is running. The use of kmtune to modify the running kernel may cause such programs to produce erroneous results or even abort.
krs_flush(1M) krs_flush(1M) NAME krs_flush - flush kernel registry services data to disk SYNOPSIS krs_flush DESCRIPTION krs_flush causes persistent, in core, kernel KRS data to be flushed to files on disk. This command signals the KRS daemon, krsd(1M), causing it to save the KRS data to disk. The data will only be saved if it has changed from the time of the last save. AUTHOR krs_flush was developed by Hewlett-Packard Company. SEE ALSO krsd(1M), krs(5).
krsd(1M) krsd(1M) NAME krsd - kernel registry services daemon SYNOPSIS krsd -1 krsd [-i] [-d seconds] DESCRIPTION krsd saves data, flagged as persistent in the core kernel KRS tree, to files on disk. These files are read when the system is booted, in order to restore the aforementioned persistent data. When running in daemon mode, krsd sleeps, waking periodically to check if any persistent data have changed since the last save. If persistent data have changed, the new state of the data is saved to disk.
lanadmin(1M) lanadmin(1M) NAME lanadmin - local area network administration program SYNOPSIS /usr/sbin/lanadmin [-e] [-t] /usr/sbin/lanadmin [-a] [-A station_addr] [-b] [-B on|off ] [-c] [-g [get_options ]] [-m] [-M mtu_size] [-p [card |driver ]] [-r] [-R] [-s] [-S speed] [-V vlan_command [parms]] [-x options] [-X options] PPA DESCRIPTION The lanadmin program administers and tests the Local Area Network (LAN).
lanadmin(1M) lanadmin(1M) mibstats_ext -m -M mtu_size Display extended 64-bit MIB statistics (RFC 2863) and interface-specific statistics. Display the current MTU size of the interface corresponding to PPA. Set the new MTU size of the interface corresponding to PPA. The mtu_size value must be within the link specific range. You must have superuser privileges. -p [card |driver] Display the usage information for the interface corresponding to PPA.
lanadmin(1M) menu quit terse verbose lanadmin(1M) Display the Test Selection Mode command menu. Terminate the lanadmin program. Suppress the display of command menus. Restore the display of command menus. LAN Interface Test Mode Menu The following commands are available: l clear Clear the LAN interface network statistics registers to zero. superuser privileges. display Display the RFC 1213 MIB II statistics. Depending on the link, the type-specific MIB statistics may also be displayed.
lanscan(1M) lanscan(1M) NAME lanscan - display LAN device configuration and status SYNOPSIS lanscan [-ailmnpqv ] DESCRIPTION lanscan displays the following information about each LAN device and VLAN interface that have software support on the system: • Hardware Path. • Active Station Address (also known as Physical Address). • Card Instance Number. • Hardware State. • Network Interface ‘‘NamePPA’’.
lanscan(1M) lanscan(1M) SEE ALSO ifconfig(1M), ioscan(1M), lanadmin(1M), linkloop(1M), lan(7), vlan(7).
ldapcfinfo(1M) ldapcfinfo(1M) NAME ldapcfinfo - programmatically provides LDAP-UX information to non-interactive applications SYNOPSIS ldapcfinfo ldapcfinfo ldapcfinfo ldapcfinfo ldapcfinfo ldapcfinfo -h [-t type] [-t type] {-A | -P | -D | -L | -b | -s | -f | -m atobName[,...
ldapcfinfo(1M) -R ldapcfinfo(1M) Displays the required attributes as defined in the default template file or the template file specified with the -T option. If the -T option is not specified, then -t passwd or -t group must be specified to indicate which default template file should be examined. Each attribute required by the requested template file will appear on separate lines, one per line.
ldapcfinfo(1M) ldapcfinfo(1M) Note Since each -a, -D, -A, -P, -R, -L, -b, -f, -h, and -m options all generate varying output formats, only one of these options may be used per invocation of the ldapcfinfo command. Use of multiple of the above options in a single command line may prevent distinguishing which output applies to which option, and will result in an error. The -T option is ignored unless the -R option is specified.
ldapcfinfo(1M) ldapcfinfo(1M) WARNING: code message Leading extra white space may be inserted to improve readability and follow 80 column screen formatting. code will be a programmatically parsable error key-string, while message will be human-readable. Refer to the LDAP-UX Client Services Administrator’s Guide for a list of possible error codes generated by the LDAP user and group management tools. SEE ALSO ldapugadd(1M), ldapugdel(1M), ldapuglist(1M), ldapugmod(1M), ldapux(5).
ldapclientd(1M) ldapclientd(1M) NAME ldapclientd - LDAP client daemon process SYNOPSIS Startup /opt/ldapux/bin/ldapclientd [-d level] [-o { stdout | syslog | file[=size] } ] [-z] Control /opt/ldapux/bin/ldapclientd { [-d level] [-o { stdout | syslog | file[=size] } ] /opt/ldapux/bin/ldapclientd { -D [cache] | -E [cache] | -S [cache] } /opt/ldapux/bin/ldapclientd { -f | -k | -L | -h | -r } DESCRIPTION ldapclientd is a daemon process that enables LDAP-UX.
ldapclientd(1M) ldapclientd(1M) 3. Management of remote LP printer configuration. Searches printer objects configured in LDAP server. Accordingly, add/modify/remove printers for the local system. By default, the printer configurator is enabled. By default, ldapclientd starts at system boot time. The ldapclientd command can be used to launch the daemon or control it when the daemon is already running. Options The following ldapclientd options are supported. These options can be used only by a superuser.
ldapclientd(1M) ldapclientd(1M) kill ‘head -1 /etc/opt/ldapux/ldapclientd.pid‘ -L -o target List available cache names. Set log output to a target stream. Initializes log output during startup or sets the log output of the running daemon process. target can be one of the following: stdout syslog Direct logging to the standard output. file[=size] Specify a file for log output; rotation will append a 1 or 0 to this file name. Direct logging to syslogd .
ldapclientd(1M) ldapclientd(1M) Downloading profiles may take time, depending on server response time and the number of profiles listed in the LDAP-UX configuration file, /etc/opt/ldapux/ldapux_client.conf. AUTHOR ldapclientd was developed by Hewlett-Packard Company FILES Configuration /etc/opt/ldapux/ldapclientd.conf Configures caching, threading and boot options for ldapclientd . /etc/opt/ldapux/ldapux_client.conf LDAP-UX client services configuration file. Contains settings like logging and domains.
ldapugadd(1M) ldapugadd(1M) NAME ldapugadd - add new accounts or groups to an LDAP directory server SYNOPSIS ldapugadd [-t passwd ] [options] [-h hostname] [-p port] [-b base] [-u uid_number] [-g group/gid] [-f full_name] [-x domain] [-G group/gid[,...] [-s login_shell] [-d home_directory] [-I gecos] [-c comment ] [-m [-k skel_dir]] [-T template_file] uid_name [[attr=value][...]] ldapugadd -t group [options] [-h hostname] [-p port] [-b base] [-g gid_number] [-x domain] [-M member[,...
ldapugadd(1M) -F ldapugadd(1M) Force creation of new user or group entries even if particular error conditions occur. These are: • The user name or group name already exists in the directory server. • The user id or group id number already exists in the directory server • The shell specified with the -s option does not exist on the local system or is not an executable. • Adding a member to a group when that member is not defined in the LDAP directory.
ldapugadd(1M) ldapugadd(1M) the specified end values. The colon character (:) will be used to indicate a range has been specified, instead of the default_gid specified above. -u min_uid :max_uid Sets new default minimum and maximum ranges that ldapugadd will use when provisioning an uid number for newly created user entries. The uid range is inclusive of the specified end values. Arguments Applicable to ’-t passwd’ -u uid_number Specifies the user’s numeric ID number.
ldapugadd(1M) ldapugadd(1M) If this argument is not specified, the user will not be added to alternate groups. -s login_shell Specifies the full path name to the executable that will be used to handle login sessions for this user. If this argument is not specified, the default, as configured by ldapugadd -D -s default_shell, will be used. -d home_directory Specifies the full path name (including the user name) of the user’s home directory.
ldapugadd(1M) -m ldapugadd(1M) Create a new home directory for the defined user. User and group ownership of the newly created directory will be assigned to the user and his/her primary login group. If -k is specified, the files and sub-directories found in skel_dir will be copied to the user’s home directory, and user and group ownership permissions altered as specified above. If -k is not specified, skeleton files will be copied from /etc/skel .
ldapugadd(1M) ldapugadd(1M) ldapugadd will follow the same membership syntax as defined by LDAP-UX attribute mapping. Specifically, if LDAP-UX has mapped the RFC2307 group membership attribute (memberUid) to a DN-based membership attribute such as member or uniqueMember, then ldapugadd will define membership using the DN of the specified user. If memberUid has been mapped to more than one attribute type, ldapugadd will use the first attribute defined by the mapping.
ldapugadd(1M) ldapugadd(1M) dn: cn=${cn},ou=users,${basedn} objectclass: group ${posixProfile} sAMAccountName: ${cn} msSFU30NisDomain: ${domain} Each template file must follow the LDIF data format and also allow for substitution of values from the ldapugadd command. Two default template files (for user and group entries) for standard directory servers, along with two default template files for ADS are provided under /etc/opt/ldapux/ug_templates.
ldapugadd(1M) ldapugadd(1M) construct. Typically the cn or uid attribute would be used in the RDN for new passwd entries and the cn attribute would be used for new group entries. • The userPassword attribute can not be specified in the template file. See the -PP option for additional information about specifying an initial user or group password.
ldapugadd(1M) ldapugadd(1M) All LDAP-UX default template files will be stored in the /etc/opt/ldapux/ug_templates directory. A full or relative path name must begin with either the slash (/) or dot (.) characters. If unspecified, either of the following default template file will be used: • • /etc/opt/ldapux/ug_templates/ug_passwd_default.tmpl , or /etc/opt/ldapux/ug_templates/ug_group_default.tmpl.
ldapugadd(1M) ldapugadd(1M) Note also that shells command history log may contain copies of the executed commands that show setting of these variables. Access to a shell’s history file must be protected. Specification of the LDAP administrator’s credentials on the command line is not allowed since information about the currently running processes can be exposed externally from the session.
ldapugadd(1M) ldapugadd(1M) RETURN VALUE Upon exit, ldapugadd returns the following: 0 <>0 Success. ldapugadd exits with no errors or with one or more warnings. ldapugadd returns with a non-zero exit status if it encounters an error, and messages will be logged to stderr. Messages will follow the below format: code message ERROR: or WARNING: code message Leading extra white space may be inserted to improve readability and follow 80 column screen formatting.
ldapugdel(1M) ldapugdel(1M) NAME ldapugdel - remove existing accounts or groups from an LDAP directory server SYNOPSIS ldapugdel [options] [-t type] [-h hostname] [-p port] [-O [protAttr[,...]]] {-D DN | uid_name | group_name} DESCRIPTION ldapugdel is used to remove POSIX related user or group entries from the directory server. With the -O option, ldapugdel can be used to remove POSIX related attributes and objectclasses from user or group entries, without removing the entry itself.
ldapugdel(1M) ldapugdel(1M) details. -p port -t type Specifies the port number of the directory server to contact. This option is ignored if the port number is specified in the hostname as part of the -h option. Refer to Binding to the Directory Server below for additional details. Specifies the service type of entry to be deleted. The service type can be either passwd or group , where: passwd implies posixAccount-type entries and, group implies posixGroup-type entries.
ldapugdel(1M) ldapugdel(1M) Directory server. • -D DN Since the Microsoft Services for Unix schema does not use RFC2307 standard attributes, use of -O will not function, since attribute mapping is not allowed in ldapugdel . -O will function properly with Windows 2003 R2, since standard RFC2307 attributes are used, with the exception of the homeDirectory, described above.
ldapugdel(1M) ldapugdel(1M) administrator identity that is specified when executing ldapugdel . • As would occur in any identity repository, modification of this repository will likely have impacts as defined by the organization’s security policy. Users of ldapugdel are expected to have full knowledge of the organizations security policy and the impact of deleting identity information from that identity repository.
ldapugdel(1M) LDAP_BINDCRED ldapugdel(1M) A password or other type of credential used for the user specified by the LDAP_BINDDN . While this variable is optional, if LDAP_BINDCRED is specified, LDAP_BINDDN must also be specified. Refer to Security Considerations for important security impacts when these environment variables are used.
ldapuglist(1M) ldapuglist(1M) NAME ldapuglist - display and enumerate POSIX-like account and group entries in an LDAP directory server SYNOPSIS ldapuglist [options] [-t type] [-h hostname] [-p port] [-b base] [-s scope] [-n name | {-f|-F} filter] [-N maxcount] [attr...] DESCRIPTION ldapuglist is a command-line tool used to display and enumerate POSIX-like account and group entries that reside in an LDAP directory server.
ldapuglist(1M) ldapuglist(1M) /etc/passwd format: uid:userPasswd:uidNumbr:gidNumbr:gecos :homeDirectory:loginShell /etc/group format: cn:userPasswd:gidNumber,memberUid,... The -m option is ignored when the -L option is specified. The attr parameter list is invalid when the -L option is specified. -P Prompt for the bind identity (typically LDAP DN or Kerberos principal) and bind password.
ldapuglist(1M) ldapuglist(1M) -F and -f may not be specified on the command line if -n is used. -b base This option overrides the search base as defined in the LDAP-UX configuration. base is a distinguished name (DN) that describes the highest location in the directory tree where to start the search. If unspecified, ldapuglist will use the defaultSearchBase as defined in the LDAP-UX configuration profile. -s scope This option overrides the search scope as defined in the LDAP-UX configuration.
ldapuglist(1M) ldapuglist(1M) • -F filter Specifying -n and -f on the same command line will result in an error. Similar to -f, except that filter is assumed to be immutable, and neither the LDAP-UX user nor group filter from the configuration profile will be amended to the specified filter, nor will attribute mapping apply to the filter. NOTES: • When -F is used, the specified filter should still apply to either user or group entries and match the -t passwd or -t group option.
ldapuglist(1M) ldapuglist(1M) Once connected, ldapuglist will first determine if the environment variables LDAP_BINDDN and LDAP_BINDCRED have been specified. If so, then ldapuglist will attempt to bind to the directory server using the specified credentials and configured LDAP-UX authentication method.
ldapuglist(1M) ldapuglist(1M) gidNumber memberUid Note that when the -m option is specified, the output format will change (for both users and groups) to: dn : dn1 field1[attribute1] : value1 field2[attribute2] : value2 field3[attribute3] :: base64-encodeded-value3 Special Considerations for Output Format Multi-Valued Attributes Although some of the attributes used in LDAP directory servers are considered multi-valued attributes, the ldapuglist tool will only display the first value discovered for each RF
ldapuglist(1M) • ldapuglist(1M) The password is stored in a format un-parsable by HP-UX (such as SSHA, the Salted Secure Hash Algorithm). If the password is not available to ldapuglist , the userPassword field will not be displayed. If the -L option is specified, the password field will contain the "x" character. Existence or lack of the password field can not be used to determine if an account is active or inactive. RETURN VALUE Upon exit, ldapuglist returns the following: 0 <>0 Success.
ldapuglist(1M) ldapuglist(1M) cn[cn]: Alan Pierce uid[uid]: apierce uidNumber[employeeNumber]: 22014 gidNumber[gidNumber]: 318 homeDirectory[homeDirectory]: /home/apierce loginShell: /usr/bin/ksh gecos[cn]: Alan Pierce gecos[l]: San Francisco gecos[telephoneNumber]: +1 505-555-6525 Listing all POSIX accounts held by users in San Francisco.
ldapuglist(1M) ldapuglist(1M) ... Listing posixGroups which have Mike Diaz (uid=mdiaz ) as a member defined using memberUid syntax. # ldapuglist -t group -f "(memberUid=mdiaz)" dn: cn=mygroup1,ou=groups,ou=IT,dc=FutureWidges,dc=com cn: mygroup1 gidNumber: 542 memberUid: mdiaz memberUid: apierce memberUid: bjones ... dn: cn=mygroup2,ou=groups,ou=IT,dc=FutureWidges,dc=com cn: mygroup1 gidNumber: 542 memberUid: lsmith memberUid: bjones memberUid: mdiaz ...
ldapuglist(1M) • ldapuglist(1M) ldapuglist will not display attributes to which it does not have access rights in the LDAP directory server. Be sure to specify administrator credentials with sufficient privileges in the LDAP directory to view the requested attributes. SEE ALSO ldapcfinfo(1M), ldapugadd(1M), ldapugdel(1M), ldapugmod(1M), ldapux(5).
ldapugmod(1M) ldapugmod(1M) NAME ldapugmod - modify existing POSIX accounts or groups in an LDAP directory server SYNOPSIS ldapugmod [-t passwd ] [options] [-h hostname] [-p port] [-f full_name] [-n name] [-u uidNumber] [-g group/gid] [-s login_shell] [-d home_directory [-m]] [-I gecos] [-c comment ] [[-A attrval] [...]] [[-R attrval] [...]] {-D DN | uid_name} [[attr=value][...]] ldapugmod -t group [options] [-h hostname] [-p port] [-n new_name] [-g gidNumber] [-c comment ] [-a member[,...
ldapugmod(1M) -ZZ ldapugmod(1M) Attempt a TLS connection to the directory server, even if the LDAP-UX configuration does not require the use of TLS. If a TLS connection is unable to be established a non-TLS and non-SSL connection will be established. Use of -ZZ is not recommended unless alternative methods are used to protect from network eavesdropping. Use of -ZZ requires either a valid server or CA certificate be defined in the /etc/opt/ldapux/cert8.db file.
ldapugmod(1M) ldapugmod(1M) -h hostname Specifies the host name and optional port number (hostname:port) of the directory server. This option overrides the server list configured by LDAP-UX. The hostname field also supports specification of IPv4 and IPv6 addresses. Note that when a port is specified for an IPv6 address, the IPv6 address must be specified in squarebracketed form. If the optional port is unspecified, the port number is assumed to be 389 or 636 for SSL connections (-Z).
ldapugmod(1M) ldapugmod(1M) group ID number specified exists. If not, ldapugmod will exit with an error, unless the -F option has been specified. Note, ldapugmod does not modify the user’s group membership when chaining the primary group ID. Adding the user as a member of the new group, and possibly removing the member from the previous group, must be done with separate ldapudmod operations. Refer to the WARNING section below for additional impacts when using this option.
ldapugmod(1M) ldapugmod(1M) attribute. Note, refer to the WARNING section below for impacts when using this option. -c comment Replaces the comment that will be stored in the description attribute, as defined by RFC2307. Attribute mapping is not defined for the description attribute. Note, refer to the WARNING section below for impacts when using this option. uid_name Contains the POSIX-style textual login name of the user entry to modify.
ldapugmod(1M) ldapugmod(1M) Binding to the Directory Server ldapugmod has been designed to take advantage of the existing LDAP-UX configuration for determining to which directory server to bind and how to perform the bind operation. ldapugmod will consult the LDAP-UX configuration profile for the following information: • The list of LDAP directory server hosts. • The authentication method (simple passwords, SASL Digest MD5, etc.
ldapugmod(1M) ldapugmod(1M) Note also that shells command history log may contain copies of the executed commands that show setting of these variables. Access to a shell’s history file must be protected. Specification of the LDAP administrator’s credentials on the command line is not allowed since information about the currently running processes can be exposed externally from the session.
ldapugmod(1M) ldapugmod(1M) When the attr =value parameter is used to modify an existing attribute, the ldapugmod command will also use the LDAP replace operation. The replace operation will remove all occurrences of the specified attribute for an entry and replace it with the value specified. If there are multiple values for a single attribute in an entry, the use of a single attr =value parameter will replace all values with the single value specified on the command line.
ldapugmod(1M) ldapugmod(1M) SEE ALSO ldapcfinfo(1M), ldapugadd(1M), ldapugdel(1M), ldapuglist(1M), ldapux(5).
libcadmin(1M) libcadmin(1M) NAME libcadmin - libc administration command SYNOPSIS /usr/sbin/libcadmin DESCRIPTION The libcadmin command is used to perform administrative functions for libc . Currently the only function that the command performs is to replace the shared 32-bit PA-RISC2.0 library in /usr/lib/libc.2 with the shared 32-bit PA-RISC1.1 version of that library. There are no required arguments or options used with this command. The /usr/lib/libc.a archive library and the libc.
link(1M) link(1M) NAME link, unlink - execute link() and unlink() system calls without error checking SYNOPSIS /usr/sbin/link file1 file2 /usr/sbin/unlink file DESCRIPTION The link and unlink commands perform their respective system calls (link() or unlink() ) on their arguments, abandoning most error checking. These commands can be executed only by users who have appropriate privileges. EXTERNAL INFLUENCES Environment Variables LC_MESSAGES determines the language in which messages are displayed.
linkloop(1M) linkloop(1M) NAME linkloop - verify LAN connectivity with link-level loopback SYNOPSIS linkloop [-i PPA] [-n count] [-r rif] [-s size] [-t timeout] [-v] linkaddr ... DESCRIPTION The linkloop command uses IEEE 802.2 link-level test frames to check connectivity within a local area network (LAN). linkaddr is the hardware station address of a remote node. Several addresses can be specified at one time.
linkloop(1M) linkloop(1M) frames with data error Received frame does not match transmitted frame. frames with header error Number of frames received containing unexpected frame header information. Either the source address does not match the remote address, the destination address does not match the local address, or the control field is not the TEST frame control field. These frames are ignored. linkloop continues to try to receive the reply frame until the read operation times out.
localedef(1M) localedef(1M) NAME localedef - generate a locale environment SYNOPSIS localedef [-cenvw ] [-C compiler_options ] [-L loader_options ] [-m method_file ] [-f charmap_file ] [-i locale_definition ] locale_name DESCRIPTION localedef sets up the language environment for the named locale.
localedef(1M) localedef(1M) LC_MONETARY Information in this category affects behavior of functions that handle monetary values. LC_NUMERIC Information in this category affects handling of the radix character in formatted-input/output and string-conversion functions. LC_TIME LC_MESSAGES Information in this category affects behavior of time-conversion functions. This category contains information affecting interpretation of yes/no responses. A locale definition file also consists of six categories.
localedef(1M) localedef(1M) AUTHOR localedef was developed by OSF and HP. FILES FOR PA-RISC SYSTEMS /usr/lib/nls/loc/src /usr/lib/nls/loc/charmaps /usr/lib/nls/loc/methods /usr/lib/nls/loc/pa20_64/methods /usr/lib/nls/loc/locales/language[_territory ][.codeset ] /usr/lib/nls/loc/pa20_64/locales/language[_territory ][.codeset ] FILES FOR ITANIUM-BASED SYSTEMS In addition to the PA-RISC files, the following files are present on Itanium-based systems.
lockd(1M) lockd(1M) NAME lockd, rpc.lockd - network lock daemon SYNOPSIS /usr/sbin/rpc.lockd [-l log_file] [-t timeout] [-g graceperiod] DESCRIPTION lockd is an RPC server that processes NFS file locking requests from the local kernel or from another remote lock daemon. lockd forwards lock requests for remote data to the server site’s lock daemon through the RPC/XDR package (see rpc(3N)). lockd then requests the status monitor daemon, statd for monitor service (see statd(1M)).
logins(1M) logins(1M) NAME logins - display system and user login data SYNOPSIS logins [-admopstux ] [-g groups] [-l logins] DESCRIPTION logins displays data concerning system and user logins. The format and content of the output is controlled by command options and may include: system or user login, user ID number, /etc/passwd comment field value (e.g., user name, etc...
lpadmin(1M) lpadmin(1M) NAME lpadmin - configure the LP spooling system SYNOPSIS /usr/sbin/lpadmin /usr/sbin/lpadmin /usr/sbin/lpadmin /usr/sbin/lpadmin /usr/sbin/lpadmin -pprinter [ options ] -xdest -d[ dest ] -q[s|l|c] -s[enable |disable ] DESCRIPTION lpadmin configures LP spooling systems to describe printers, classes and devices.
lpadmin(1M) lpadmin(1M) -orc Restricts users to canceling only their own requests. Default is to not restrict the cancel command. -ob3 Uses three-digit request numbers associated with the printer directory. Use this option while configuring remote printer queues to BSD systems. The following options are only useful with -p and can appear in any order. They are provided with systems that provide remote spooling. -orm machine -orp printer -oci remcancel The name of the remote machine is machine.
lpadmin(1M) -senable -sdisable lpadmin(1M) Enable email notification. Disable email notification. This email notification setting is ignored if the print request is queued using the lp command and the -w or -m option. See lp(1). Models Model interface programs are supplied with the LP software. They are shell procedures, C programs, or other executable programs that interface between lpsched(1M) and devices.
lpadmin(1M) lpadmin(1M) /usr/sbin/lpadmin -plp3 -v/dev/null -mrmodel -ocmrcmodel \ -osmrsmodel -ormsystem2 -orplp causes the spool system to use the local line printer lp3 and the model rmodel . The spool system also uses the model rcmodel to cancel remote requests and rsmodel to get status from system2 . In addition, the remote system name system2 and the remote printer lp are used. The following command performs the same operation as above.
lpana(1M) lpana(1M) NAME lpana - display LP spooler performance analysis information SYNOPSIS lpana [-d dest ] DESCRIPTION lpana displays LP spooler performance information, which system administrators can use to optimize the configuration of the entire spooler system. Options lpana recognizes one option: -d dest Choose dest as the printer or the class of printers. If dest is a printer, the performance analysis information is displayed for that specific printer.
lpsched(1M) lpsched(1M) NAME lpsched, lpshut, lpmove, lpfence - start the LP request scheduler, stop the LP request scheduler, move requests between LP destinations, and define the minimum priority for printing SYNOPSIS /usr/sbin/lpsched [ -v ] [ -a ] /usr/sbin/lpshut /usr/sbin/lpmove requests dest /usr/sbin/lpmove dest1 dest2 /usr/sbin/lpfence printer fence DESCRIPTION lpsched lpshut Schedules requests taken by lp(1) for printing on printers. lpsched(1M) is typically invoked in /sbin/rc .
lsdev(1M) lsdev(1M) NAME lsdev - list device drivers in the system SYNOPSIS /usr/sbin/lsdev [-h] [-d driver -C class] [-b block_major] [-c char_major] [-e major] [major ... ] DESCRIPTION The lsdev command lists, one pair per line, the major device numbers and driver names of device drivers configured into the system and available for invocation via special files. A −1 in either the block or character column means that a major number does not exist for that type.
lsdev(1M) lsdev(1M) DEPENDENCIES Since lsdev relies on the device driver information provided in a driver _install routine, lsdev may not list drivers installed by other means. AUTHOR lsdev was developed by HP. SEE ALSO sam(1M). Section 7 entries related to specific device drivers. Managing Systems and Workgroups manual.
lssf(1M) lssf(1M) NAME lssf - list a special file SYNOPSIS /sbin/lssf special_file ... DESCRIPTION lssf lists information about a special file. For each special_file name, lssf determines the major number of the special file and whether it is block or character (using stat(2)). It then scans the system for the device that is associated with the special file. When the device is found, the minor number of the special file is decoded.
lugadmin(1M) lugadmin(1M) NAME lugadmin - long user and group name enablement and display SYNOPSIS lugadmin [-e] [-d num] [-l] DESCRIPTION The lugadmin command enables the support of long user and group names on the system, sets the default display width for long user and group names, and displays the current status of the system. If no options are specified, the -l option is assumed. Options The following options are supported: -e Enable long user and group name support on the system.
lugadmin(1M) lugadmin(1M) The above display format may change in future releases. EXTERNAL INFLUENCES Environment Variables UG_DISPLAY_WIDTH If it is set and long names are enabled, it overrides the width specified in the lugname file for all system and conforming applications that write formatted output.
lvchange(1M) lvchange(1M) NAME lvchange - change LVM logical volume characteristics SYNOPSIS /usr/sbin/lvchange [-a availability] [-A autobackup] [-c mirror_consistency] [-C contiguous] [-d schedule] [-D distributed] [-M mirror_write_cache] [-p permission] [-r relocate] [-s strict] [-t IO_timeout ] lv_path Remarks Mirrored disk operations require the installation of the optional HP MirrorDisk/UX software, which is not included in the standard HP-UX operating system.
lvchange(1M) -c mirror_consistency -C contiguous lvchange(1M) Set mirror consistency recovery. This option is effective only when -M n is specified or previously set. mirror_consistency can have one of the following values: y Set mirror consistency recovery on. LVM achieves mirror consistency during volume group activation by going through all logical extents and copying data from a nonstale copy to the other mirror copies. n Set mirror consistency recovery off.
lvchange(1M) lvchange(1M) lvdisplay(1M) will display the allocation as partially-distributed (vs. distributed ). See lvdisplay(1M) for display values. -M mirror_write_cache -p permission Set the Mirror Write Cache flag. This option is allowed only when the logical volume is not opened. mirror_write_cache can have one of the following values: y Set Mirror Write Cache on.
lvchange(1M) lvchange(1M) specified IO_timeout value when the underlying physical volume(s) have timeouts which either exceed this IO_timeout value or are not integer multiples of this value. 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)).
lvcreate(1M) lvcreate(1M) NAME lvcreate - create logical volume in LVM volume group SYNOPSIS /usr/sbin/lvcreate [-A autobackup] [-c mirror_consistency] [-C contiguous] [-d schedule] [-D distributed] [-i stripes [-I stripe_size]] [-l le_number -L lv_size] [-m mirror_copies] [-M mirror_write_cache] [-n lv_name] [-p permission] [-r relocate] [-s strict] vg_name Remarks Mirrored disk operations require the installation of the optional HP MirrorDisk/UX software, which is not included in the standard HP-UX o
lvcreate(1M) -C contiguous lvcreate(1M) Set the contiguous allocation policy. A contiguous logical volume has three characteristics: • Physical extents are allocated in ascending order, • No gap is allowed between physical extents within a mirror copy, • Physical extents of any mirror copy all reside on a single physical volume. Use the strict (-s ) and contiguous (-C ) options together to form various combined allocation policies on a logical volume.
lvcreate(1M) lvcreate(1M) is not, the stripe size is set to 8 kilobytes. -I stripe_size Set the size in kilobytes of the stripe. stripe_size should be a power of 2 in the range 4 to 32768 . If -I is provided and -i is not, the command will fail and return an error. Stripe size should be a value less than or equal to physical extent size and must be specified with the -i option. -l le_number Allocate space to the logical volume, specified in logical extents.
lvcreate(1M) -s strict lvcreate(1M) Set the strict allocation policy. Mirror copies of a logical extent can be allocated to share or not share the same physical volume or physical volume group. strict can have one of the following values: y Set a strict allocation policy. Mirrors of a logical extent cannot share the same physical volume. This is the default. g Set a PVG-strict allocation policy. Mirrors of a logical extent cannot share the same physical volume group.
lvcreate(1M) lvcreate(1M) The following command creates a logical volume in vgtest with EXTENT-BASED MIRRORED STRIPES: lvcreate -D y -s g -m 1 -l 5 /dev/vgtest The distributed allocation proceeds as follows: • A free extent is allocated from the 1st pvol in pvg1. • A free extent is allocated from the 2nd pvol in pvg1. • A free extent is allocated from the 1st pvol in pvg1. • A free extent is allocated from the 2nd pvol in pvg1. • A free extent is allocated from the 1st pvol in pvg1.
lvdisplay(1M) lvdisplay(1M) NAME lvdisplay - display information about LVM logical volumes SYNOPSIS /usr/sbin/lvdisplay [-k] [-v] lv_path... Remarks Mirrored disk information requires the installation of the optional HP MirrorDisk/UX software, which is not included in the standard HP-UX operating system. DESCRIPTION The lvdisplay command displays the characteristics and status of each logical volume specified by lv_path.
lvdisplay(1M) lvdisplay(1M) Current LE Number of logical extents currently in the logical volume. Allocated PE Number of physical extents allocated to the logical volume. Stripes The number of stripes. If this field is 0, then the logical volume is not striped. Stripe Size (Kbytes) The size of each stripe in kilobytes (KB). Bad block Allocation Bad block relocation policy.
lvdisplay(1M) lvdisplay(1M) LE PV1 Logical extent number. PE1 Status 1 First physical extent number allocated to the logical extent. The block device path name of the physical volume that corresponds to the location of the first physical extent of the logical extent. Status of the first physical extent: stale or current .
lvextend(1M) lvextend(1M) NAME lvextend - increase space, increase mirrors for LVM logical volume SYNOPSIS /usr/sbin/lvextend [-A autobackup] {-l le_number -L lv_size -m mirror_copies [-s]} lv_path [pv_path ... pvg_name ...] Remarks Mirrored disk operations require the installation of the optional HP MirrorDisk/UX software, which is not included in the standard HP-UX operating system. lvextend cannot be performed if the volume group is activated in shared mode.
lvextend(1M) lvextend(1M) Data in the new copies is synchronized unless the -s option is specified. The synchronization process can be time consuming depending on hardware characteristics and the amount of data. One, and only one, -l , -L , or -m option must be specified. -s Do not synchronize the new mirror copies. This may affect data high availability so use lvsync or vgsync to synchronize the mirrors. The -m option must be specified along with this option.
lvextend(1M) lvextend(1M) mount /dev/vg06/lvol3 /mnt WARNINGS In order to create a logical volume greater than 2 terabytes, the kernel must be updated to support this feature, and the corresponding feature enabling patch must be installed. In order to create a striped and mirrored logical volume, the kernel must be updated to support this feature, and the corresponding feature enabling patch must be installed.
lvlnboot(1M) lvlnboot(1M) NAME lvlnboot - prepare LVM logical volume to be root, boot, primary swap, or dump volume SYNOPSIS /usr/sbin/lvlnboot [ [-A autobackup] { -b boot_lv -d dump_lv -r root_lv -R -s swap_lv } ] [-v] [vg_name] /usr/sbin/lvlnboot [-c] Remarks lvlnboot cannot be performed if the volume group is activated in shared mode.
lvlnboot(1M) lvlnboot(1M) If root_lv is the first logical volume on the physical volume, then it is configured as the combined root-boot volume. Otherwise, root_lv is configured as the separate root volume in which case a separate boot volume needs to be configured using the lvlnboot -b option. Either the separate root or the separate boot volume can be configured first.
lvlnboot(1M) lvlnboot(1M) EXAMPLES The following examples show configuration of a combined root-boot volume. Create a root volume group, vglvmroot , containing root, swap, and dump logical volumes. Assume that an appropriate directory called /dev/vglvmroot and a corresponding group file already exist (see lvm(7)). First, initialize the disk, say /dev/dsk/c0t0d0, so that it can be used as an LVM boot disk. pvcreate -B /dev/rdsk/c0t0d0 Place the LIF information on the disk using the mkboot command.
lvlnboot(1M) lvlnboot(1M) Create a logical volume that will be used as the dump volume. This volume should be contiguous. lvcreate -n dump -L 64 -C y /dev/vglvmroot Specify that the logical volume, root , will be used as the root volume. lvlnboot -r /dev/vglvmroot/root Specify that the logical volume, boot , will be used as the boot volume. lvlnboot -b /dev/vglvmroot/boot Specify that the logical volume, swap , will be used as the primary swap.
lvmchk(1M) lvmchk(1M) NAME lvmchk - check if disk volume is under HP Logical Volume Manager (LVM) control SYNOPSIS /usr/sbin/lvmchk pv_path DESCRIPTION The lvmchk command returns information about the disk volume specified by the pv_path parameter. Options lvmchk recognizes the following option: pv_path The device path name of a disk volume. pv_path can be a block device, raw disk, or a logical volume.
lvmerge(1M) lvmerge(1M) (Requires Optional HP MirrorDisk/UX Software) NAME lvmerge - merge two LVM logical volumes into one logical volume SYNOPSIS /usr/sbin/lvmerge [-A autobackup] [-s] copy_lv_path master_lv_path Remarks This command requires the installation of the optional HP MirrorDisk/UX software, which is not included in the standard HP-UX operating system. lvmerge cannot be performed if the volume group is activated in shared mode.
lvmerge(1M) lvmerge(1M) (Requires Optional HP MirrorDisk/UX Software) 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)). EXAMPLES Merge /dev/vg00/lvol1b with /dev/vg00/lvol1.
lvmmigrate(1M) lvmmigrate(1M) NAME lvmmigrate - prepare root file system for migration from partitions to LVM logical volumes SYNOPSIS /usr/sbin/lvmmigrate [-d disk_special_file] [-e file_system ...] [-f] [-i file_system ...] [-n] [-v] DESCRIPTION The lvmmigrate command records the configuration information of the current system in the LIF volume of the boot section for use with a subsequent cold-install process.
lvmmigrate(1M) lvmmigrate(1M) lvmmigrate -v -n Include file system /mnt in the root volume group for migration and exclude file system /usr/source . Write configuration information in the boot section of disk /dev/dsk/c1t0d0: lvmmigrate -d /dev/dsk/c1t0d0 -i /mnt -e /usr/source WARNINGS Use of the -f option results in overwriting the contents of the boot section. Before using the -f option be sure to back up all data on the boot section of the disk specified with the -d option.
lvreduce(1M) lvreduce(1M) NAME lvreduce - decrease space allocation or the number of mirror copies of logical volumes SYNOPSIS /usr/sbin/lvreduce /usr/sbin/lvreduce /usr/sbin/lvreduce /usr/sbin/lvreduce [-A autobackup] [-f ] -l le_number lv_path [-A autobackup] [-f ] -L lv_size lv_path [-A autobackup] -m mirror_copies lv_path [pv_path ...
lvreduce(1M) lvreduce(1M) One, and only one, -l , -L , or -m option must be specified. -m mirror_copies Reduce the number of mirror copies allocated for each logical extent. A mirror copy contains the same data as the original. mirror_copies can have the value 0 or 1. It must be smaller than the current value. If optional pv_path arguments are specified, the mirror copies are deallocated from the specified physical volumes. One, and only one, -l , -L , or -m option must be specified.
lvremove(1M) lvremove(1M) NAME lvremove - remove one or more logical volumes from LVM volume group SYNOPSIS /usr/sbin/lvremove [-A autobackup] [-f] lv_path ... Remarks lvremove cannot be performed if the volume group is activated in shared mode. DESCRIPTION The lvremove command removes each logical volume specified by lv_path .... Logical volumes must be closed before they can be removed. For example, if the logical volume contains a file system, unmount the file system before removing it.
lvrmboot(1M) lvrmboot(1M) NAME lvrmboot - remove LVM logical volume link to root, primary swap, or dump volume SYNOPSIS /usr/sbin/lvrmboot [-A autobackup] [-d dump_lv] [-r] [-s] [-v] vg_name Remarks lvrmboot cannot be performed if the volume group is activated in shared mode. DESCRIPTION The lvrmboot command updates all physical volumes contained in the volume group vg_name such that the logical volume is removed as a root, primary swap, or dump volume when the system is next booted on the volume group.
lvsplit(1M) lvsplit(1M) (Requires Optional HP MirrorDisk/UX Software) NAME lvsplit - split mirrored LVM logical volume into two logical volumes SYNOPSIS /usr/sbin/lvsplit [-A autobackup] [-s suffix] [-g PhysicalVolumeGroup] lv_path ... Remarks This command requires the installation of the optional HP MirrorDisk/UX software (not included in the standard HP-UX operating system) before it can be used. lvsplit cannot be performed if the volume group is activated in shared mode.
lvsplit(1M) lvsplit(1M) (Requires Optional HP MirrorDisk/UX Software) -s suffix Specify the suffix to use to identify the new logical volume. The new logical volume name has the form lv_path suffix. If -s is omitted, suffix defaults to b, as in lv_path b. 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)).
lvsync(1M) lvsync(1M) (Requires Optional HP MirrorDisk/UX Software) NAME lvsync - synchronize stale mirrors in LVM logical volumes SYNOPSIS /usr/sbin/lvsync [-T] lv_path ... Remarks This command requires the installation of the optional HP MirrorDisk/UX software (not included in the standard HP-UX operating system) before it can be used. DESCRIPTION The lvsync command synchronizes the physical extents of each logical volume specified by lv_path.
lwresd(1M) lwresd(1M) NAME lwresd - lightweight resolver daemon SYNOPSIS lwresd [-C config-file] [-d debuglevel] [-fgs ] [-i pid-file] [-n #cpus] [-P query-port#] [-p port#] [-t directory] [-u user-id] DESCRIPTION lwresd is the daemon providing name lookup services to clients that use the BIND 9 lightweight resolver library. It is essentially a stripped-down, caching-only name server that answers queries using the BIND 9 lightweight resolver protocol rather than the DNS protocol.
lwresd(1M) lwresd(1M) Notes lwresd is a daemon for lightweight resolvers, not a lightweight daemon for resolvers. FILES /etc/lwresd.conf /var/run/lwresd.pid Default configuration file Default process-id file SEE ALSO named(1M).
makedbm(1M) makedbm(1M) NAME makedbm - make a Network Information System database SYNOPSIS /usr/sbin/makedbm [-b] [-l] [-s] [-i nis_input_file] [-o nis_output_name] [-d nis_domain_name] [-m nis_master_name] infile outfile /usr/sbin/makedbm -u database_name 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.
makedbm(1M) makedbm(1M) -u Undo the database_name (i.e., write the contents of database_name to the standard output), one dbm record per line. A single space separates each key from its value. EXAMPLES Shell scripts can be written to convert ASCII files such as /etc/netgroup to the key-value form used by makedbm .
makemap(1M) makemap(1M) NAME makemap - creates database maps for sendmail SYNOPSIS makemap [ -C file ] [-N] [-d] [-e] [-f] [-n] [-o] [-r] [-s] [-u] [-v] maptype mapname DESCRIPTION makemap creates the database maps used by the keyed map lookups in sendmail(1M). It reads input from the standard input and outputs them to the indicated mapname. makemap handles up to three different database formats, selected using the maptype parameter. They may be: dbm btree hash DBM format maps. (.pag,.
map-mbone(1M) map-mbone(1M) NAME map-mbone - Multicast Router Connection Mapper SYNOPSIS /usr/sbin/map-mbone [-d debuglevel] [-f] [-g] [-n] [-r retries] [-t timeout] [multicast-router] DESCRIPTION map-mbone requests the multicast router connection information from the multicast-router, and prints the information to the standard out. map-mbone sends out the ASK_NEIGHBORS igmp message to the multicast-router. When the multicast-router receives the request, it sends back its configuration information.
map-mbone(1M) map-mbone(1M) map-mbone hpntclt.cup.hp.com 127.0.0.1 (localhost) [version 3.3]: 193.2.1.39 -> 0.0.0.0 (all-zeros-broadcast) [1/1/disabled] 15.13.106.144 -> 15.255.176.33 (matmos.hpl.hp.com) [10/1/tunnel] 15.13.106.144 -> 15.17.20.7 (hpspddc.vid.hp.com) [10/1/tunnel/down] Querying hpntcbs.cup.hp.com for multicast router connectivity with -g option: map-mbone -g hpntcbs.cup.hp.com GRAPH "Multicast Router Connectivity: Wed Feb 1 17:34:59 1995"=UNDIRECTED 252537488 {$ NP 1440 1060 $} "hpntc1t.
mc(1M) mc(1M) NAME mc - media changer manipulation utility SYNOPSIS mc [-p device] [-a num] [-q] [-c ] mc mc mc mc [-p device] [-b 0|1] [-l 0|1] [-e element_type ] [-p device] [-n drive_number] [-r element_type ] [-p device] -s -d [-h |-?] DESCRIPTION The mc utility provides users with a command-line interface to send media manipulation commands to an autoloader or media changer device.
mc(1M) mc(1M) twice per invocation. -d Specifies the element type and slot number for the move medium destination. There should be no space between the element type and the slot number. For example, -dD3 specifies a Data Transfer element in slot number 3. This option cannot be specified more than twice per invocation. RETURN VALUE mc returns 0 upon successful completion and -1 otherwise.
mc(1M) mc(1M) A SCSI pass-through driver must be configured and the device file created before this command can be used to manipulate the autoloader. For devices connected to SCSI interface cards (PCI), the sctl pass-through driver must be configured. See scsi_ctl(7). AUTHOR mc was developed by Hewlett-Packard. FILES /dev/scsi/3 Default pass-through device file. SEE ALSO mt(1), scsi(7), scsi_ctl(7).
mk_kernel(1M) mk_kernel(1M) NAME mk_kernel - load a kernel configuration from a system file SYNOPSIS /usr/sbin/mk_kernel [-o path_name] [-s system_file] [-v] DESCRIPTION mk_kernel reads configuration information from the system file (see system (4)) and applies those changes to a kernel configuration (see kconfig(5)). mk_kernel performs a function similar to that of kconfig -i , but has some semantic differences in order to preserve compatibility with previous releases.
mk_kernel(1M) mk_kernel(1M) WARNINGS Do not manually modify the contents of the kernel configuration directories. FILES /stand/system Default HP-UX system description file SEE ALSO kconfig(1M), system(4), kconfig(5).
mkboot(1M) mkboot(1M) NAME mkboot, rmboot - install, update or remove boot programs from disk SYNOPSIS /usr/sbin/mkboot [-b boot_file_path] [-c [-u] | -f | -h | -u] [-i included_lif_file] [-p preserved_lif_file] [-l | -H | -W ] [-v ] device /usr/sbin/mkboot [-a auto_file_string] [-v] device /usr/sbin/mkboot -e [-l] [-s efi_file_path] [-v] [-W] device /usr/sbin/rmboot device DESCRIPTION mkboot is used to install or update boot programs on the specified device file.
mkboot(1M) mkboot(1M) This option is valid only if device has the Whole Disk layout. -h Specifying this option shrinks the available space allocated to swap in the LIF header by the amount required to allow the installation of the new boot programs specified by boot_file_path. After the LIF header has been modified, reboot the system to reflect the new swap space on the running system.
mkboot(1M) mkboot(1M) mkboot requires that both the block and character device special files be present. mkboot attempts to determine whether device is character or block special by examining the specified path name. For this reason, the complete path name must be supplied. If mkboot is unable to determine the corresponding device file, a message is written to the display, and mkboot exits. rmboot removes the boot programs from the boot area.
mkfs(1M) mkfs(1M) NAME mkfs - construct a file system (generic) SYNOPSIS /usr/sbin/mkfs [-F FStype] [-o specific_options] [-V] special [operands] /usr/sbin/mkfs [-F FStype] [-m] [-V] special DESCRIPTION The mkfs command creates a file system by writing on the special file special. operands are listed on file system specific manual pages (see SEE ALSO). Options mkfs recognizes the following options: -F FStype Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)).
mkfs_hfs(1M) mkfs_hfs(1M) NAME mkfs_hfs: mkfs - construct an HFS file system SYNOPSIS /usr/sbin/mkfs [-F hfs ] [-d] [-L-S] [-V] [-o specific_options] special [size [nsect ntrack blksize fragsize ncpg minfree rps nbpi] ] /usr/sbin/mkfs [-d] [-F hfs ] [-L-S] [-V] [-o specific_options] special [proto [nsect ntrack blksize fragsize ncpg minfree rps nbpi] ] /usr/sbin/mkfs [-F hfs ] [-m] [-V] special Remarks HFS file systems are normally created with the newfs command (see newfs_hfs(1M)).
mkfs_hfs(1M) mkfs_hfs(1M) size The number of DEV_BSIZE blocks in the file system. DEV_BSIZE is defined in . The default value is the size of the entire disk or disk section minus any swap or boot space requested. proto The name of a file that can be opened. The mkfs command assumes it is a prototype file and takes its directions from that file. See "Prototype File Structure" below. The size of HFS file systems are limited to 256GB-1 or 268,435,455 blocks.
mkfs_hfs(1M) c d l L mkfs_hfs(1M) Character special file Directory Symbolic link Hard link The second character of a mode token is either u or - to specify set-user-ID mode or not. The third character of a mode token is either g or - to specify the set-group-ID mode or not. The rest of a mode token is a three-digit octal number giving the owner, group, and other read, write, and execute permissions (see chmod(1)). The user-ID and group-ID tokens define the owner of the file.
mkfs_hfs(1M) mkfs_hfs(1M) Access Control Lists Every file with one or more optional ACL entries consumes an extra (continuation) inode. If you anticipate significant use of ACLs on a new file system, you can allocate more inodes by reducing the value of nbpi appropriately. The small default value typically causes allocation of many more inodes than are actually necessary, even with ACLs. To evaluate your need for extra inodes, run the bdf -i command on existing file systems.
mkfs_vxfs(1M) mkfs_vxfs(1M) NAME mkfs_vxfs: mkfs - construct a VxFS file system SYNOPSIS mkfs [-F vxfs ] [-V] -m special mkfs [-F vxfs ] [-V] [-o [N] [X] [bsize= bsize] [inosize= n] [largefiles |nolargefiles ] [logsize= n] [ninode= n] [version= n] ] special size DESCRIPTION mkfs creates a VxFS file system by writing on the special device file, unless either the -o N or -m option is specified. special must be the first argument on the command line after the options are given.
mkfs_vxfs(1M) mkfs_vxfs(1M) set and files two gigabytes or larger can be created. If nolargefiles is specified, the bit is cleared and files created on the file system are limited to less than two gigabytes. The default is nolargefiles . See fsadm_vxfs (1M) and mkfs(1M). If largefiles is not specified, and inosize is 256 the maximum number of inodes on the file system is approximately 8,380,000.
mkfs_vxfs(1M) mkfs_vxfs(1M) The following table defines the file system sizes and their associated values: -----------------------------------------| Maximum File System Size -----------------------------------------------------Block Size | In sectors | In bytes -----------------------------------------------------1024 bytes | 4,294,967,039 | approximately 4 TB 2048 bytes | 8,589,934,078 | approximately 8 TB 4096 bytes | 17,179,868,156 | approximately 16 TB 8192 bytes | 34,359,736,312 | approximately 32
mklost+found(1M) mklost+found(1M) NAME mklost+found - make a lost+found directory for fsck(1M) SYNOPSIS /usr/sbin/mklost+found DESCRIPTION The mklost+found command creates a directory named lost+found in the current directory. It also creates several empty files which are then removed to provide empty slots for the fsck command (see fsck(1M)).
mknod(1M) mknod(1M) NAME mknod - create special files SYNOPSIS /sbin/mknod name c major minor /sbin/mknod name b major minor /sbin/mknod name p DESCRIPTION The mknod command creates the following types of files: • • • Character device special file (first SYNOPSIS form), Block device special file (second SYNOPSIS form), FIFO file, sometimes called a named pipe (third SYNOPSIS form). name is the path name of the file to be created.
mksf(1M) mksf(1M) NAME mksf - make a special (device) file SYNOPSIS /sbin/mksf [-C class -d driver] [-D directory] [-H hw-path] [-I instance] [-q-v] [driver-options] [special-file] /sbin/mksf [-C class -d driver] [-D directory] [-H hw-path] -m minor [-q-v] [-r] special-file DESCRIPTION The mksf command makes a special file in the devices directory, normally /dev , for an existing device, a device that has already been assigned an instance number by the system.
mksf(1M) mksf(1M) Naming Conventions Many special files are named using the ccard ttarget ddevice naming convention. These variables have the following meaning wherever they are used. card The unique interface card identification number from ioscan (see ioscan(1M)). It is represented as a decimal number with a typical range of 0 to 255. target The device target number, for example the address on a HP-FL or SCSI bus. It is represented as a decimal number with a typical range of 0 to 15.
mksf(1M) mksf(1M) access-mode — 2 1 0 0 audio -f format -i no no no yes no -l yes no no no no Special File Name ccardp0_lp ttydcardp0 culcardp0 cuacardp0 ttycardp0 Audio format (0-3). The format meanings are: format 0 1 2 3 Audio Format No change in audio format 8-bit Mu-law 8-bit A-law 16-bit linear File Name Modifier format-mod U A L -o output-dest Output destination (0-4). The output-dest should have a value between 0 and 4.
mksf(1M) mksf(1M) -r yes no Special File Name rac/ccardttargetddevice_optical-diska rac/ccardttargetddevice_optical-diskb ac/ccardttargetddevice_optical-diska ac/ccardttargetddevice_optical-diskb Note the underscore (_) between device and optical-disk. CentIf -h handshake-mode Handshake mode.
mksf(1M) mksf(1M) -r yes -s no yes no yes no no yes Special File Name rdsk/ccardttargetddevice and rfloppy/ccardttargetddevice rdsk/ccardttargetddevicessection dsk/ccardttargetddevice and floppy/ccardttargetddevice dsk/ccardttargetddevicessection hil Note that only one of -a, -k, or -r is allowed. -a address -k -n Cooked keyboard. The link address (1-7). special-file The default special file name depends on the -a, -k, and -r options: The hil controller device.
mksf(1M) mksf(1M) -r no yes Special File Name ccardttargetddevice_lp ccardttargetddevice_rlp mux0 mux2 mux4 pci_mux0 pci_mux1 -a access-mode Port access mode (0-2). The default access mode is 0 (Direct connect). access-mode meanings are: access-mode 0 1 2 -c -f -i -l -p port The Port Operation Direct connect Dial out modem Dial in modem CCITT. Hardware flow control (RTS/CTS). Modem dialer. Cannot be used with -l. Line printer. Cannot be used with -i.
mksf(1M) mksf(1M) scc1 -a access-mode Port access mode (0−2). The default access mode is 0. The access-mode meanings are: access-mode 0 1 2 Port Operation Direct connect Dial out modem Dial in modem -b -c -i -l Port B. special-file The default special file name depends on the access-mode and whether the -i and -l options are used. CCITT. Modem dialer. Cannot be used with -l. Line printer. Cannot be used with -i.
mksf(1M) mksf(1M) option must be specified at the end of an option string. -u -w -x index UC Berkeley-style rewind/close. special-file Put all tape special files in the /dev/rmt directory. This is required for proper maintenance of the Tape Property Table (see mt(7)). Device files located outside the /dev/rmt directory may not provide consistent behavior across system reboots. The default special file names are dependent on the tape drive being accessed and the options specified.
mksf(1M) mksf(1M) No such device in the system No device in the system matched the options specified. Use ioscan to list the devices in the system (see ioscan(1M)). Device driver name is not in the kernel Device class name is not in the kernel The indicated device driver or device class is not present in the kernel. Add the appropriate device driver and/or device class to the kernel using kcmodule . Device has no instance number The specified device has not been assigned an instance number.
modprpw(1M) modprpw(1M) NAME modprpw - modify protected password database SYNOPSIS modprpw [-E|-V] [-l|-n [domain]] modprpw [-x] [-l|-n [domain]] username modprpw [-A|-e|-v|-k] [-m field =value,... ] [-l|-n [domain]] username DESCRIPTION modprpw updates the user’s protected password database settings. This command is available only to the superuser in a trusted system.
modprpw(1M) modprpw(1M) Unless specified by n/a , all database fields can be set. They are listed below in the order shown in prot.h . The database fields are fully explained in prpwd(4). FIELD =VALUE n/a uid =value DATABASE FIELD database u_name . database u_id . Set the uid of the user. No sanity checking is done on this value. n/a n/a bootpw= value database u_pwd . database u_owner . database u_bootauth . Set boot authorization privilege, YES /NO /DFT . NO removes it from the user file.
modprpw(1M) modprpw(1M) Set whether null passwords are allowed, YES /NO /DFT . YES is not recommended! n/a admnum= value syschpw= value database u_pwchanger . Obsolescent field. database u_pw_admin_num. Obsoleted field. database u_genchars . Set whether system generates passwords having characters only, YES /NO /DFT . sysltpw= value database u_genletters . Set whether system generates passwords having letters only, YES /NO /DFT . timeod= value database u_tod . Set the time-of-day allowed for login.
modprpw(1M) modprpw(1M) May be combined with one of -l or -n options. RETURN VALUE 0 Success. 1 User not privileged. 2 Incorrect usage. 3 Can not find the entry or file. 4 Can not change the entry. 5 Not a Trusted System. 6 Not a NIS+ user. EXAMPLES Set the Minimum time between password changes to 12 (days), set the System generates pronounceable password flag to NO, and set the System generates password having characters only flag to YES.
mount(1M) mount(1M) NAME mount, umount - mount and unmount file systems SYNOPSIS /usr/sbin/mount [-l] [-p-v] /usr/sbin/mount -a [-F FStype] [-eQ ] /usr/sbin/mount [-F FStype] [-eQrV ] [-o specific_options] {specialdirectory} /usr/sbin/mount [-F FStype] [-eQrV ] [-o specific_options] special directory /usr/sbin/umount [-v] [-V] [-f] {specialdirectory} /usr/sbin/umount -a [-F FStype] [-h host] [-v] [-f] DESCRIPTION The mount command mounts file systems. Only a superuser can mount file systems.
mount(1M) -V mount(1M) Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from /etc/fstab . This option allows the user to verify the command line. Options (umount) The umount command recognizes the following options: -a Attempt to unmount all file systems described in /etc/mnttab . All optional fields in /etc/mnttab must be included and supported.
mount_cachefs(1M) mount_cachefs(1M) NAME mount_cachefs: mount - mount CacheFS file systems SYNOPSIS mount -F cachefs [ generic_options ] -o backfstype= file_system_type [ other_cacheFS_options ] special_mount_point DESCRIPTION The CacheFS-specific version of the mount command mounts a cached file system; if necessary, it NFSmounts its back file system. It also provides a number of CacheFS-specific options for controlling the caching process.
mount_cachefs(1M) mount_cachefs(1M) suid | nosuid Allow (default) or disallow set-uid execution. acregmin= n Specifies that cached attributes are held for at least n seconds after file modification. After n seconds, CacheFS checks to see if the file modification time on the back file system has changed. If it has, all information about the file is purged from the cache and new data is retrieved from the back file system. The default value is 30 seconds.
mount_cdfs(1M) mount_cdfs(1M) NAME mount_cdfs: mount, umount - mount and unmount CDFS file systems SYNOPSIS /usr/sbin/mount [-l] [-p|-v] /usr/sbin/mount -a [-F cdfs ] [-eQ] /usr/sbin/mount [-F cdfs ] [-eQrV ] [-o specific_options] {specialdirectory} /usr/sbin/mount [-F cdfs ] [-eQrV ] [-o specific_options] special directory /usr/sbin/umount -a [-F cdfs ] [-v] /usr/sbin/umount [-v] [-V] {specialdirectory} DESCRIPTION The mount command mounts file systems. Only a superuser can mount file systems.
mount_cdfs(1M) mount_cdfs(1M) -r Mount the specified file system as read-only. This option is equivalent to the -o ro specific_option. For CDFS file systems this is a default option. -v Report the regular output with file system type and flags; however, directory and special fields are reversed. -V Echo the completed command line, but performs no other action. The command line is generated by incorporating the user-specified options and other information derived from /etc/fstab .
mount_hfs(1M) mount_hfs(1M) NAME mount_hfs: mount, umount - mount and unmount HFS file systems SYNOPSIS /usr/sbin/mount [-l] [-p|-v] /usr/sbin/mount -a [-F hfs ] [-eQ] [-f] /usr/sbin/mount [-F hfs ] [-eQrV ] [-f] [-o specific_options] {specialdirectory} /usr/sbin/mount [-F hfs ] [-eQrV ] [-f] [-o specific_options] special directory /usr/sbin/umount -a [-F hfs ] [-v] /usr/sbin/umount [-v] [-V] {specialdirectory} DESCRIPTION The mount command mounts file systems. Only a superuser can mount file systems.
mount_hfs(1M) mount_hfs(1M) delayed Enable delayed or buffered writes to disk. This is the default on 800 systems. fs_async Enable relaxed posting of file system metadata. no_fs_async Enable rigorous posting of file system metadata. This is the default. largefiles Attempt to enable the creation of files greater than 2 gigabytes in size. File systems have to be created or configured to enable large files (see mkfs_hfs(1M) and fsadm_hfs(1M)).
mount_hfs(1M) mount_hfs(1M) Unmount a local HFS disk: umount /dev/dsk/c0t0d4 WARNINGS Some degree of validation is done on the file system, however, it is generally unwise to mount file systems that are defective, corrupt, or of unknown origin. AUTHOR mount was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems.
mount_lofs(1M) mount_lofs(1M) NAME mount_lofs: mount, umount - mount and unmount LOFS file systems SYNOPSIS /usr/sbin/mount [-p|-v] /usr/sbin/mount -a [-F lofs ] [-eQ ] /usr/sbin/mount [-F lofs ] [-eQrV ] [-o specific_options] {special_directorydirectory} /usr/sbin/mount [-F lofs ] [-eQrV ] [-o specific_options] special_directory directory /usr/sbin/umount [-v] [-V] {special_directorydirectory} /usr/sbin/umount -a [-F lofs ] [-v] DESCRIPTION The mount command mounts LOFS file systems.
mount_lofs(1M) -V mount_lofs(1M) Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from /etc/fstab . This option allows the user to verify the command line. Options (umount) The umount command recognizes the following options: -a Attempt to unmount all file systems described in /etc/mnttab . All optional fields in /etc/mnttab must be included and supported.
mount_memfs(1M) mount_memfs(1M) NAME mount_memfs: mount, umount - mount and unmount MemFS file systems SYNOPSIS /usr/sbin/mount [-l] [-p|-v] /usr/sbin/mount -a [-F memfs ] [-eQ] /usr/sbin/mount [-F memfs ] [-eQV ] [-o specific_options] directory /usr/sbin/umount -a [-F memfs ] [-v] /usr/sbin/umount [-v] [-V] directory DESCRIPTION The mount command mounts file systems. Only a superuser can mount file systems. Other users can use mount to list mounted file systems.
mount_memfs(1M) mount_memfs(1M) suid nosuid Allow set-user-ID execution (default). Do not allow set-user-ID execution. -p -Q Report the list of mounted file systems in the /etc/fstab format. -v Report the regular output with file system type and flags; however, directory and special fields are reversed. The special field for memfs always contains the text memfs . -V Echo the completed command line, but performs no other action.
mount_memfs(1M) mount_memfs(1M) STANDARDS CONFORMANCE mount : SVID3 umount : SVID3 m 600 Hewlett-Packard Company −3− HP-UX 11i Version 2: December 2007 Update
mount_nfs(1M) mount_nfs(1M) NAME mount_nfs: mount, umount - mount and unmount NFS file systems SYNOPSIS /usr/sbin/mount [-l] [-p|-v] /usr/sbin/mount -a [-F nfs ] [-eQ] /usr/sbin/mount [-F nfs ] [-eQrV ] [-o specific_options] {host:path|directory} /usr/sbin/mount [-F nfs ] [-eQrV ] [-o specific_options] host :path directory /usr/sbin/umount -a [-f] [-F nfs ] [-h host] [-v] /usr/sbin/umount [-f] [-v] [-V] {host:path|directory} DESCRIPTION The mount command mounts file systems.
mount_nfs(1M) mount_nfs(1M) behavior may be overridden on a per-directory basis by setting the set-GID bit of the parent directory; in this case, the GID of a newly created file is set to the GID of the parent directory (see open(2) and mkdir(2)). Files created on file systems that are mounted with the grpid option will obey BSD semantics independent of whether the set-GID bit of the parent directory is set; that is, the GID is unconditionally inherited from that of the parent directory.
mount_nfs(1M) mount_nfs(1M) Options (umount) umount recognizes the following options: -a Attempt to unmount all file systems described in /etc/mnttab . All optional fields in /etc/mnttab must be included and supported. If -F nfs option is specified, all NFS file systems in /etc/mnttab are unmounted. File systems are not necessarily unmounted in the order listed in /etc/mnttab . -f Forcibly unmount a file system.
mount_nfs(1M) mount_nfs(1M) mysystem:/projects, the umount command would be umount -h mysystem -a. FILES /etc/mnttab /etc/fstab table of mounted file systems. list of default parameters for each file system. SEE ALSO fsclean(1M), mount(1M), quotaon(1M), mount(2), fstab(4), mnttab(4), fs_wrapper(5), quota(5).
mount_vxfs(1M) mount_vxfs(1M) NAME mount_vxfs: mount, umount - mount and unmount VxFS file systems SYNOPSIS mount [-l] [-v|-p] mount [-F vxfs ] [-eQ] -a mount [-F vxfs ] [-eQrV ] [-o specific_options] {special|directory} mount [-F vxfs ] [-eQrV ] [-o specific_options] special directory umount [-V] [-v] {special|directory} umount [-F vxfs ] [-v] -a DESCRIPTION mount attaches special, a removable file system, to directory, a directory on the file tree. (This directory is also known as the mount point).
mount_vxfs(1M) mount_vxfs(1M) -v Reports the regular output with file system type and flags, however, directory and special fields are reversed. -V Echos the completed command line, but does not execute the command. The command line is generated by incorporating the user-specified options and other information derived from /etc/fstab . This option allows the user to verify the command line. umount recognizes the following options: -a Attempt to unmount all file systems described in /etc/mnttab .
mount_vxfs(1M) mount_vxfs(1M) The first node to mount special is called the primary node. The primary node handles intent logging for the cluster. Other nodes are called secondary nodes. A secondary writable node (rw ) is not allowed if the primary node is mounted as read-only (ro ). convosync=direct|dsync|unbuffered |closesync |delay Alters the caching behavior of the file system for O_SYNC and O_DSYNC I/O operations.
mount_vxfs(1M) mount_vxfs(1M) datainlog |nodatainlog Generally, VxFS does O_SYNC or O_DSYNC writes by logging the data and the time change to the inode (datainlog ). If the nodatainlog option is used, the logging of synchronous writes is disabled; O_SYNC writes the data into the file and updates the inode synchronously before returning to the user. Note: The datainlog option is available only with the HP OnLineJFS product.
mount_vxfs(1M) mount_vxfs(1M) Note: If there is serious damage to the file system, or there is structural corruption of file system metadata, VxFS marks the file system for full fsck regardless of which I/O error policy is in effect. Behavior on cluster file systems is somewhat different. If the policy selected is disable , the file system is disabled only on the node where the I/O error occurs. The file system is still accessible from the other nodes.
mount_vxfs(1M) mount_vxfs(1M) The closesync , dsync , unbuffered , and direct values all cause the equivalent of an fsync(2) to be run when the file is closed. The tmpcache value disables delayed extending writes, trading off integrity for performance. When this option is chosen, VxFS does not zero out new extents allocated as files are sequentially written. Uninitialized data may appear in files being written at the time of a system crash.
mount_vxfs(1M) mount_vxfs(1M) mounted. This option is required only when the device driver is incapable of determining the size of special, and defaults to the entire device if not specified. Note: snapsize= size is available only with the HP OnLineJFS product. suid |nosuid setuid execution allowed or setuid execution not allowed. The default is suid . tranflush When VxFS is the default boot file system (/stand) on HP-UX, there can be no intent log replay during the initial stages of the boot process.
mountall(1M) mountall(1M) NAME mountall, umountall - mount and unmount multiple file systems SYNOPSIS /sbin/mountall [-F FStype] [-l|-r] [file_system_table | -] /sbin/mountall [-l|-r] [-m] /sbin/mountall [-n] /sbin/umountall [-F FStype] [-k] [-l|-r] DESCRIPTION mountall is used to mount file systems according to file_system_table. By default, /etc/fstab is the file_system_table.
mountall(1M) mountall(1M) FILES /etc/fstab /etc/mnttab Static information about the file systems Mounted file system table SEE ALSO fsck(1M), fuser(1M), mount(1M), signal(2), fstab(4), mnttab(4).
mountd(1M) mountd(1M) NAME mountd, rpc.mountd - NFS mount request server SYNOPSIS /usr/sbin/rpc.mountd [-l log_file ] [-t n ] Obsolescent Options /usr/sbin/rpc.mountd [-p] DESCRIPTION mountd is an RPC server that answers file system mount requests. It reads file /etc/xtab (described in exports (4)) to determine which directories are available to which machines. It also provides information on what file systems are mounted by which clients.
mrinfo(1M) mrinfo(1M) NAME mrinfo - Multicast Routing Configuration Information Tool SYNOPSIS /usr/sbin/mrinfo [-d debuglevel] [-r retries] [-t timeout] [ multicast-router ] DESCRIPTION mrinfo requests the configuration information from the multicast-ourter, and prints the information to the standard out. multicast-router can be either an IP address or a system name.
mrouted(1M) mrouted(1M) NAME mrouted - IP multicast routing daemon SYNOPSIS /usr/sbin/mrouted [ -p ] [ -c config_file ] [ -d debug_level ] DESCRIPTION The mrouted command is an implementation of the Distance-Vector Multicast Routing Protocol (DVMRP), an earlier version of which is specified in RFC-1075.
mrouted(1M) mrouted(1M) phyint [disable] [metric ] [threshold ] [rate_limit ] [boundary (|/)] [altnet /] tunnel [metric ] [threshold ] [rate_limit ] [boundary (|/)] cache_lifetime pruning name / The file format is free-form; white space (including newlines) is not significant.
mrouted(1M) mrouted(1M) Example Configuration This is an example configuration for a multicast router at a large school. # # mrouted.conf example # # Name our boundaries to make it easier name LOCAL 239.255.0.0/16 name EE 239.254.0.0/16 # # lan1 is our gateway to compsci, don’t forward our # local groups to them phyint lan1 boundary EE # # lan2 is our interface on the classroom net, it has four # different length subnets on it.
mrouted(1M) mrouted(1M) EXAMPLES The routing tables look like this: Virtual Interface Table Vif Local-Address 0 36.2.0.8 subnet: 36.2 groups: 224.0.2.1 224.0.0.4 pkts in: 3456 pkts out: 2322323 1 36.11.0.1 2 36.2.0.8 3 36.2.0.8 Thresh 1 Flags querier 1 1 querier 36.8.0.77 3 36.8.0.77 (2.2) 239.0.1 239.1.2 34545433 234342 1 subnet: 36.11 groups: 224.0.2.1 224.0.1.0 224.0.0.4 pkts in: 345 pkts out: 3456 tunnel: peers: boundaries: : pkts in: pkts out: tunnel: 36.6.8.
mrouted(1M) mrouted(1M) The cache tables look like this: Multicast Routing Cache Table (147 entries) Origin Mcast-group CTmr Age Ptmr IVif Forwvifs 13.2.116/22 224.2.127.255 3m 2m - 0 1 >13.2.116.19 >13.2.116.196 138.96.48/21 224.2.127.255 5m 2m - 0 1 >138.96.48.108 128.9.160/20 224.2.127.255 3m 2m - 0 1 >128.9.160.45 198.106.194/24 224.2.135.190 9m 28s 9m 0P >198.106.194.22 Each entry is characterized by the origin subnet number, mask, and the destination multicast group.
mtail(1M) mtail(1M) NAME mtail - tails the mail log file SYNOPSIS /usr/sbin/mtail [n] DESCRIPTION mtail displays the last part of the mail log, typically /var/adm/syslog/mail.log. By default, it displays the last 20 lines of this log. Options n Display last n lines of /var/adm/syslog/mail.log instead of just 20. SEE ALSO sendmail(1M).
mvdir(1M) mvdir(1M) NAME mvdir - move a directory SYNOPSIS /usr/sbin/mvdir dir newdir DESCRIPTION mvdir moves one directory tree into another existing directory (within the same file system), or renames a directory without moving it. dir must be an existing directory. If newdir does not exist but the directory that would contain it does, dir is moved and/or renamed to newdir.