hp-ux reference · hp-ux functions are described in a definition format rather than a usage...

708
HP-UX Reference Section 1M: System Administration Commands (N-Z) HP-UX 11i Version 2 December 2007 Update Volume 4 of 10 Manufacturing Part Number : B2355-92069 E1207 Printed in USA © Copyright 1983-2007 Hewlett-Packard Development Company LP.

Upload: others

Post on 15-Mar-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

  • HP-UX Reference

    Section 1M: System Administration Commands(N-Z)

    HP-UX 11i Version 2 December 2007 Update

    Volume 4 of 10

    Manufacturing Part Number : B2355-92069

    E1207

    Printed in USA

    © Copyright 1983-2007 Hewlett-Packard Development Company LP.

  • 2

    Legal NoticesThe information in this document is subject to change without notice.

    Warranty

    The only warranties for HP products and services are set forth in theexpress warranty statements accompanying such products and services.Nothing herein should be construed as constituting an additionalwarranty. HP shall not be liable for technical or editorial errors oromissions contained herein.

    U.S. Government License

    Confidential computer software. Valid license from HP required forpossession, use, or copying. Consistent with FAR 12.211 and 12.212,Commercial Computer Software, Computer Software Documentation,and Technical Data forCommercial Items are licensed to the U.S.Government under vendor’s standard commercial license.

    Additional Copyright Notices

    This document and the software it describes may also be protected underone or more of the following copyrights. Additional copyrights areacknowledged in some individual manpages.

    Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Universityof California.

    Copyright 1980, 1984, 1986 Novell, Inc.

    Copyright 1985, 1986, 1988 Massachusetts Institute of Technology

    Copyright 1986-2000 Sun Microsystems, Inc.

    Copyright 1988 Carnegie Mellon University

    Copyright 1989-1991 The University of Maryland

    Copyright 1989-1993 The Open Software Foundation, Inc.

    Copyright 1990 Motorola, Inc.

    Copyright 1990-1992 Cornell University

    Copyright 1991-2003 Mentat, Inc.

  • 3

    Copyright 1996 Morning Star Technologies, Inc.

    Copyright 1996 Progressive Systems, Inc.

    Trademark Notices

    Intel and Itanium are registered trademarks of Intel Corporation in theUS 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 MicrosoftCorporation.

    OSF/Motif is a trademark of The Open Group in the US and othercountries.

    UNIX is a registered trademark of The Open Group.

    X Window System is a trademark of The Open Group.

  • 4

  • 5

    PrefaceHP-UX is the Hewlett-Packard Company’s implementation of a UNIXoperating system that is compatible with various industry standards. Itis based on the System V Release 4 operating system and includesimportant features from the Fourth Berkeley Software Distribution.

    The ten volumes of this manual contain the system referencedocumentation, made up of individual entries called manpages, namedfor the man command (see man (1)) that displays them on the system.The entries are also known as manual pages or reference pages.

    GeneralIntroduction

    For a general introduction to HP-UX and the structure and format of themanpages, please see the introduction (9) manpage in volume 10.

    SectionIntroductions

    The manpages are divided into sections that also have introduction(intro) manpages that describe the contents. These are:

    intro (1) Section 1: User Commands(A-M in volume 1; N-Z in volume 2)

    intro (1M) Section 1M: System Administration Commands(A-M in volume 3; N-Z in volume 4)

    intro (2) Section 2: System Calls(in volume 5)

    intro (3C) Section 3: Library Functions(A-M in volume 6; N-Z in volume 7)

    intro (4) Section 4: File Formats(in volume 8)

    intro (5) Section 5: Miscellaneous Topics(in volume 9)

    intro (7) Section 7: Device (Special) Files(in volume 10)

    intro (9) Section 9: General Information(in volume 10)

    Index Index, All Volumes(in volume 10)

  • 6

    Typographical Conventionsaudit (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 orDVD, it may be a hyperlink to the manpage itself. Fromthe 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 InstantInformation CD or DVD, it may be a hyperlink to thebook itself.

    Command A command name or qualified command phrase.

    ComputerOutput Text displayed by the computer.

    Emphasis Text that is emphasized.

    Emphasis Text that is strongly emphasized.

    ENVIRONVAR The name of an environment variable.

    [ERRORNAME] The name of an error number, usually returned in theerrno variable.

    KeyCap The name of a (usually) nonprinting keyboard key, suchas Ctrl-X or Tab. Note that Return and Enter both refer tothe same key.

    Replaceable The name for a value that you replace in a command orfunction, or information in a display that representsseveral possible values.

    Term The defined use of an important word or phrase.

    UserInput Commands and other text that you type.

    $ User command prompt.

    # Superuser (root) command prompt.

  • 7

    Command SyntaxLiteral A word or character that you enter literally.

    Replaceable A word or phrase that you replace with an appropriatevalue.

    -chars One or more grouped command options, such as -ikx.The chars are usually a string of literal charactersthat each represent a specific option. For example, theentry -ikx is equivalent to the individual options -i,-k, and -x. The plus character (+) is sometimes used asan option prefix.

    -word A single command option, such as -help. The word is aliteral keyword. The difference from -chars is usuallyobvious and is clarified in an Options description. Theplus character (+) and the double hyphen (--) aresometimes used as option prefixes.

    [ ] The bracket metacharacters enclose optional content informats and command descriptions.

    { } The brace metacharacters enclose required content informats and command descriptions.

    | The bar metacharacter separates alternatives in a listof choices, usually in brackets or braces.

    ... The ellipsis metacharacter after a token (abc...) or aright bracket ([ ]...) or a right brace ({ }...)metacharacter indicates that the preceding elementand its preceding whitespace, if any, may be repeatedan arbitrary number of times.

    ... Ellipsis is sometimes used to indicate omitted items ina range.

  • 8

    Function Synopsis and SyntaxHP-UX functions are described in a definition format rather than ausage format. The definition format includes type information that isomitted when the function call is actually included in a program.

    The function syntax elements are the same as for commands, except forthe options; see “Command Syntax” on page 7.

    Function GeneralDefinition

    The general definition form is:

    type func ( type param [ , type param ]... );

    For example:

    int setuname ( const char *name , size_t namelen );

    Function Usage The usage form is:

    func ( param [ , param ]... );

    For example:

    setuname ( name [ , namelen ]... );

  • 9

    Publishing HistoryRevisions of the HP-UX Reference are published with each initial versionrelease and at significant update milestones for each release. Thecontents are current as of the publication dates. Since manpages areoften updated in software patches, you can find the latest version of amanpage on an appropriately patched system, using the man command.

    The list below is in reverse order of the date of publication.

    Part Number Release; Date; Format; Distribution

    B3921-60631 HP-UX 11i Version 2; December 2007 Update; onevolume HTML; http://docs.hp.com and InstantInformation.

    B2355-92066-75 HP-UX 11i Version 2; December 2007 Update; tenvolumes PDF; http://docs.hp.com and print.

    B2355-60130 HP-UX 11i Version 3; February 2007 Release; onevolume HTML; http://docs.hp.com and InstantInformation.

    B2355-91017-26 HP-UX 11i Version 3; February 2007 Release; tenvolumes PDF; http://docs.hp.com, Instant Informationand print.

    B2355-60127 HP-UX 11i Version 1; September 2005 Update; onevolume HTML; http://docs.hp.com and InstantInformation.

    B2355-90902-11 HP-UX 11i Version 1; September 2005 Update; tenvolumes PDF; http://docs.hp.com and print.

    B2355-60105 HP-UX 11i Version 2; September 2004 Update; onevolume HTML; http://docs.hp.com and InstantInformation.

    B2355-90839-48 HP-UX 11i Version 2; September 2004 Update; tenvolumes PDF; http://docs.hp.com and print.

    B2355-60103 HP-UX 11i Version 2; August 2003 Release; one volumeHTML; http://docs.hp.com and Instant Information.

    B2355-90779-87 HP-UX 11i Version 2; August 2003 Release; ninevolumes PDF; http://docs.hp.com and print.

    B9106-90010 HP-UX 11i Version 1.6; June 2002 Release; one volumeHTML; http://docs.hp.com and Instant Information.

  • 10

    B9106-90007-13 HP-UX 11i Version 1.5; June 2001 Release; sevenvolumes HTML; http://docs.hp.com and InstantInformation.

    B2355-90689-97 HP-UX 11i Version 1; December 2000 Release; ninevolumes PDF and HTML; http://docs.hp.com, InstantInformation and print.

    B2355-90680-84 HP-UX 11.0; October 1997 Release; five volumesHTML; 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.X; July 1996 Release; five volumes PDF andHTML; http://docs.hp.com.

    B2355-90052 HP-UX 10.0; July 1995 Release; four volumes PDF.

    HP Encourages Your CommentsHP encourages your comments regarding this document. We arecommitted to providing documentation that meets your needs. Send anyerrors found, suggestions for improvement, or compliments to:

    [email protected]

    Include the document title, manufacturing part number, and yourcomment, error found, or suggestion for improvement that you haveconcerning this document.

  • Volume FourTable of Contents

    Section 1M

  • Volume FourTable of Contents

    Section 1M

  • Table of ContentsVolumes Three and Four

    Section 1M: System Administration Commands Entry Name(Section): name Descriptionintro(1M): intro ............................ introduction to system maintenance commands and application programsaccept(1M): accept, reject ..................................................... allow or prevent LP printer queuing requestsacct(1M): acctdisk, acctdusg, accton,

    acctwtmp ............................................. overview of accounting and miscellaneous accounting commandsacctcms(1M): acctcms ............................................. command summary from per-process accounting recordsacctcom(1M): acctcom ...................................................................... search and print process accounting filesacctcon(1M): acctcon1, acctcon2 ............................................................................ connect-time accountingacctcon1: connect-time accounting ........................................................................................ see acctcon(1M)acctcon2: connect-time accounting ........................................................................................ see acctcon(1M)acctdisk: miscellaneous accounting command ............................................................................ see acct(1M)acctdusg: miscellaneous accounting command ............................................................................ see acct(1M)acctmerg(1M): acctmerg ........................................................................... merge or add total accounting filesaccton: miscellaneous accounting command ................................................................................ see acct(1M)acctprc(1M): acctprc1, acctprc2 .................................................................................... process accountingacctprc1: convert process accounting .................................................................................... see acctprc(1M)acctprc2: summarize process accounting .............................................................................. see acctprc(1M)acctsh(1M): chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily,

    prtacct, shutacct, startup, turnacct .............................................. shell procedures for accountingacctwtmp: miscellaneous accounting command ............................................................................ see acct(1M)AM60Srvr(1M): AM60Srvr ....................................................................................... disk array server daemonamcfg(1M): amcfg ............................................................................ manage LUN configuration on disk arrayamdload(1M): amdload ......................................................... download new firmware to disks and controllersamdsp(1M): amdsp ..................................................................... display status and configuration of disk arrayamfmt(1M): amfmt ......................................................................................................................... disk formatamlog(1M): amlog ............................................................................... display controller entries for disk arrayammgr(1M): ammgr .................................................................. manage operating characteristics of disk arrayamutil(1M): amutil ..................................................................................... disk array management functionsarp(1M): arp .......................................................................................... address resolution display and controlasecure(1M): asecure ..................................................................................... control access to HP-UX Audioaserver(1M): aserver ............................................................................................................................ Audioaudevent(1M): audevent .................................................. change or display event or system call audit statusaudisp(1M): audisp ...................................................... display audit information as requested by parametersaudomon(1M): audomon .................................................................................. audit overflow monitor daemonaudsys(1M): audsys ........................ start or halt the auditing system and set or display audit file informationaudusr(1M): audusr ......................................................................................................... select users to auditauthadm(1M): authadm ....... non-interactive editing of the authorization information in the RBAC databasesauthck(1M): authck ..................................................... check internal consistency of Authentication databaseauto_parms(1M): auto_parms ...................................... initial system configuration/DHCP support commandautomount(1M): automount ............................................................................ install automatic mount pointsautomountd(1M): automountd ....................................................................... autofs mount/unmount daemonautopush(1M): autopush .................... manage system database of automatically pushed STREAMS modulesbackup(1M): backup .......................................................................................... backup or archive file systembastille(1M): bastille .................................................................................................. system lockdown toolbastille_drift(1M): bastille_drift ........................................................ system configuration drift analyzerbdf(1M): bdf .................................................................... report number of free disk blocks (Berkeley version)biod: NFS block I/0 daemons ....................................................................................................... see nfsd(1M)boot(1M) .................................................................................................................................. bootstrap processbootpd(1M): bootpd ........................................................................................... Internet Boot Protocol serverbootpquery(1M): bootpquery .......................................................... send BOOTREQUEST to BOOTP servercachefsstat(1M): cachefsstat .............................................................................. cache file system statisticscaptoinfo(1M): captoinfo ...................................... convert a termcap description into a terminfo descriptioncatman(1M): catman .................................................................... create the cat files for the on-line manpagescfsadmin(1M): cfsadmin ............. administer disk space used for caching file systems with CacheFS statisticsch_rc(1M): ch_rc ........................................................................................... change system configuration filechargefee: shell procedures for accounting, charge fee to user ................................................ see acctsh(1M)

    HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company 13

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptioncheck_patches(1M): check_patches ............................................................... HP-UX 11i patch check utilitychnlspath(1M): chnlspath ............................................................................. configure message catalog pathchroot(1M): chroot ................................................................................ change root directory for a commandckpacct: shell procedures for accounting, check size of accounting file ..................................... see acctsh(1M)cleanup(1M): cleanup ........................................................................................ HP-UX patch cleanup utilityclear_locks(1M): clear_locks ...................................................... clear locks held on behalf of an NFS clientclri(1M): clri ................................................................................................................................. clear inodeclrsvc(1M): clrsvc ....................................................................................... clear x25 switched virtual circuitcmdprivadm(1M): cmdprivadm

    noninteractive editing of a command’s authorization and privilege information in the privrun databasecmpt_tune(1M): cmpt_tune ....................................... query, enable, or disable compartmentalization featureconvert_awk(1M): convert_awk ................................................. converts old sendmail.cf files to new formatconvertfs(1M): convertfs ......................................................... convert a file system to allow long file namescplxmodify(1M): cplxmodify ........................................................... modify an attribute of a system complexcpset(1M): cpset .................................................................................. install object files in binary directoriescrashconf(1M): crashconf .............................................................................. configure system crash dumpscrashutil(1M): crashutil .................................................................................. manipulate crash dump datacreate_sysfile(1M): create_sysfile .................................................................... create a kernel system filecron(1M): cron ..................................................................................................... timed-job execution daemondcopy(1M): dcopy ................................................................................. copy HFS file system with compactiondevnm(1M): devnm ....................................................................................................................... device namedf(1M): df .................................................................................... report number of free file system disk blocksdf: report number of free CDFS, HFS, or NFS file system disk blocks ...................................... see df_hfs(1M)df_hfs(1M): df ............................................ report number of free CDFS, HFS, or NFS file system disk blocksdf_vxfs(1M): df ............................................................. report number of free disk blocks on VxFS file systemdhcpclient(1M): dhcpclient ..................................... Client for Dynamic Host Configuration Protocol Serverdhcpdb2conf(1M): dhcpdb2conf .................................................................. DHCP client database converterdhcptools(1M): dhcptools .................................................... comand line tools for DHCP elements of bootpddhcpv6clientd(1M): dhcpv6clientd .......................................................................... DHCPv6 client daemondhcpv6d(1M): dhcpv6d .................................... Dynamic Host Configuration Protocol Server daemon for IPv6dhcpv6db2conf(1M): dhcpv6db2conf ....................................................... DHCPv6 client database converterdig(1M): dig ........................................................................................................... domain information groperdiskinfo(1M): diskinfo ..................................................................... describe characteristics of a disk devicedisksecn(1M): disksecn ............................................................................ calculate default disk section sizesdiskusg(1M): diskusg ..................................................................... generate disk accounting data by user IDdmesg(1M): dmesg ........................................................... collect system diagnostic messages to form error logdodisk: shell procedures for accounting, perform disk accounting ............................................ see acctsh(1M)dpp(1M): dpp ........................................................................... dedicated ports parser used by DDFA softwaredrd(1M): drd ................................................................................................ manage an inactive system imagedrd-activate(1M): drd

    activate mode sets the inactive system image to be the primary boot disk the next time the system is booteddrd-clone(1M): drd ........................................................................... clone mode clones the root volume groupdrd-deactivate(1M): drd

    deactivate mode sets the active system image to be the primary boot disk the next time the system is booteddrd-mount(1M): drd ............................................................... mount mode mounts the inactive system imagedrd-runcmd(1M): 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 spacedrd-umount(1M): drd ...................................................... umount mode unmounts the inactive system imagedrd_register_mirror(1M): drd_register_mirror

    ................ notify DRD that a system image has been manually mirrored using LVM or VxVM commandsdrd_unregister_mirror(1M): drd_unregister_mirror

    ................. notify DRD that an LVM or VxVM mirror of a system image is about to be manually removeddump(1M): dump, rdump .................................................................................... incremental file system dumpdumpfs(1M): dumpfs .......................................................................................... dump file system informationedquota(1M): edquota ........................................................................................................... edit user quotasefi_cp(1M): efi_cp ...................................................................................................... copy to or from EFI fileefi_fsinit(1M): efi_fsinit .................................................... write an EFI file system header on a device fileefi_ls(1M): efi_ls ...................................................... list EFI file information or contents of an EFI directoryefi_mkdir(1M): efi_mkdir .......................................................................................... make an EFI directoryefi_rm(1M): efi_rm ............................................................................................................ remove an EFI fileefi_rmdir(1M): efi_rmdir ........................................................................................ remove an EFI directory

    14 Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptionenvd(1M): envd ...................................................................................... system physical environment daemonexportfs(1M): exportfs ......................................................... export and unexport directories to NFS clientsextendfs(1M): extendfs ............................................................................. extend a file system size (generic)extendfs_hfs(1M): extendfs ................................................................................ extend HFS file system sizeextendfs_vxfs(1M): extendfs ............................................................................. extend VxFS file system sizefbackup(1M): fbackup ................................................................................................ selectively back up filesfcmsutil(1M): fcmsutil ................................................................................... fibre channel diagnostic utilityfdetach(1M): fdetach ............................................. detach a STREAMS-based file descriptor from a filenameff(1M): ff ........................................................................................ list file names and statistics for file systemff_hfs(1M): ff ......................................................................... list file names and statistics for HFS file systemff_vxfs(1M): ff ....................................................... fast find: list file names and statistics for VxFS file systemfingerd(1M): fingerd ..................................................................................... remote user information serverfixman(1M): fixman ......................................................... fix manpages for faster viewing with man commandformat(1M): format ................................................................................... format an HP SCSI disk array LUNfrecover(1M): frecover .............................................................................................. selectively recover filesfrupower(1M): frupower ..................................... turn on/off power or display status for cells and I/O chassisfsadm(1M): fsadm ................................................................................... file system administration commandfsadm_hfs(1M): fsadm_hfs ............................................................ HFS file system administration commandfsadm_vxfs(1M): fsadm ....................................................................... resize or reorganize a VxFS file systemfscat_vxfs(1M): fscat ................................................................................................... cat a VxFS file systemfsck(1M): fsck .................................................................. file system consistency check and interactive repairfsck: HFS file system consistency check and interactive repair ............................................. see fsck_hfs(1M)fsck_cachefs(1M): fsck_cachefs .............................................. check integrity of data cached with CacheFSfsck_hfs(1M): fsck ................................................... HFS file system consistency check and interactive repairfsck_vxfs(1M): fsck .................................................................................. check and repair VxFS file systemsfsclean(1M): fsclean ........................................................ determine shutdown status of specified file systemfsdb(1M): fsdb ................................................................................................... file system debugger (generic)fsdb_hfs(1M): fsdb .................................................................................................. HFS file system debuggerfsdb_vxfs(1M): fsdb ............................................................................................... VxFS file system debuggerfsirand(1M): fsirand ........................................................................ install random inode generation numbersfstyp(1M): fstyp .................................................................................................... determine file system typeftpd(1M): ftpd ....................................................................................................... file transfer protocol serverfuser(1M): fuser .............................................................................. list processes using a file or file structurefwtmp(1M): fwtmp, wtmpfix ............................................................... manipulate connect accounting recordsgated(1M): gated ...................................................................................................... gateway routing daemongdc(1M): gdc ............................................................................................... operations user interface for gatedgeocustoms(1M): geocustoms ..................................... configure system language on multi-language systemsgetext(1M): getext ................................................................................................ get VxFS extent attributesgetfilexsec(1M): getfilexsec .............................................. display security attributes of binary executablesgetmemwindow(1M): getmemwindow ........................................................ extract window ids from processesgetprocxsec(1M): getprocxsec .......................................................... display security attributes of a processgetprpw(1M): getprpw .......................................................................... display protected password databas egetrules(1M): getrules ......................................................................................... display compartment rulesgetty(1M): getty .............................................................. set terminal type, modes, speed, and line disciplinegetx25(1M): getx25 ....................................................................................................................... get x25 linegroupadd(1M): groupadd ................................................................................ add a new group to the systemgroupdel(1M): groupdel ................................................................................ delete a group from the systemgroupmod(1M): groupmod ................................................................................. modify a group on the systemgrpck: group file checker ........................................................................................................... see pwck(1M)hosts_to_named(1M): hosts_to_named ................................. translate host table to name server file formathotplugd(1M): hotplugd ................................................... PCI I/O hotplug (attention button) events daemonhpux(1M): hpux ................................................................................. HP-UX bootstrap and installation utilityhpux.efi(1M): hpux.efi .............................................................. HP-UX bootstrap for Itanium-based systemsidentd(1M): identd ......................................................................................... TCP/IP IDENT protocol serveridisk(1M): idisk ................................................................... create partitions for Itanium-based system disksifconfig(1M): ifconfig ...................................................................... configure network interface parametersinetd(1M): inetd ...................................................................................................... Internet services daemoninetsvcs_sec(1M): inetsvcs_sec ................................................... enable or disable secure internet servicesinfocmp(1M): infocmp .................................................................. compare or print out terminfo descriptionsinit(1M): init ...................................................................................................... process control initializationinsf(1M): insf ......................................................................................................... install special (device) files

    HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company 15

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptioninstall(1M): install ............................................................................................................ install commandsintctl(1M): intctl ........................................................................... manage interrupt configuration of systemintrbald(1M): intrbald ................................................................................ daemon for balancing interruptsioinit(1M): ioinit ............................................................................................................ initialize I/O systemioscan(1M): ioscan .......................................................................................................... scan the I/O systemisl(1M): isl ...................................................................................................................... initial system loaderitemap(1M): itemap ............................................... load a keymap into the Internal Terminal Emulator (ITE)kclog(1M): kclog ..................................................................................... manage kernel configuration log filekcmodule(1M): kcmodule ................................................................. manage kernel modules and subsystemskconfig(1M): kconfig ........................................................................................ manage kernel configurationskcpath(1M): kcpath .............................................................................. print kernel configuration pathnameskctune(1M): kctune .................................................................................. manage kernel tunable parameterskeyenvoy(1M): keyenvoy ...................................................................................... talk to the keyserv processkeyserv(1M): keyserv .................................................................... server for storing private encryption keyskillall(1M): killall .................................................................................................... kill all active processeskillsm(1M): killsm ................................................................................................. kills the sendmail daemonkl(1M): kl ....................................................................................................................... control kernel loggingkmpath(1M): kmpath ........................... retrieve kernel name and associated kernel configuration informationkmtune(1M): kmtune ........................................................................... query, set, or reset system parameterskrs_flush(1M) .................................................................................. flushes kernel registry services data to diskkrsd(1M) ........................................................................................................... kernel registry services daemonlabelit: copy file systems with label checking ...................................................................... see volcopy(1M)labelit: copy file systems with label checking ............................................................... see volcopy_hfs(1M)labelit: label for VxFS file system ............................................................................... see volcopy_vxfs(1M)lanadmin(1M): lanadmin ........................................................................... local area network administrationlanscan(1M): lanscan ................................................................. display LAN device configuration and statuslastlogin: shell procedures for accounting, show last login date ............................................. see acctsh(1M)ldapcfinfo(1M): ldapcfinfo

    .................................... programmatically provides LDAP-UX information to non-interactive applicationsldapclientd(1M): ldapclientd .......................................................................... LDAP client daemon processldapugadd(1M): ldapugadd .................................... add new accounts or groups to an LDAP directory serverldapugdel(1M): ldapugdel .............. remove existing POSIX accounts or groups in an LDAP directory serverldapuglist(1M): ldapuglist

    ..................... display and enumerate POSIX-like account and group entries in an LDAP directory serverldapugmod(1M): ldapugmod ............. modify existing POSIX accounts or groups in an LDAP directory serverlibcadmin(1M): libcadmin ................................................................................ libc administration commandlink(1M): link, unlink ........................... execute link() and unlink() system calls without error checkinglinkloop(1M): linkloop ....................................................... verify LAN connectivity with link-level loopbacklocaledef(1M): localedef .......................................................................... generate a locale environment filelockd(1M): lockd, rpc.lockd ........................................................................................ network lock daemonlogins(1M): logins .................................................................................... display system and user login datalpadmin(1M): lpadmin ................................................................................. configure the LP spooling systemlpana(1M): lpana .............................................................. print LP spooler performance analysis informationlpfence: set LP scheduler priority fence ............................................................................... see lpsched(1M)lpmove: move LP scheduler requests ..................................................................................... see lpsched(1M)lpsched(1M): lpshut, lpfence, lpmovelpsched ..... start/stop the LP request scheduler and move requestslpshut: stop LP scheduler requests ....................................................................................... see lpsched(1M)lsdev(1M): lsdev ............................................................................................ list device drivers in the systemlssf(1M): lssf ......................................................................................................................... list a special filelugadmin(1M): lugadmin .................................................. long user and group name enablement and displaylvchange(1M): lvchange ............................................................... change LVM logical volume characteristicslvcreate(1M): lvcreate ............................................................... create logical volume in LVM volume grouplvdisplay(1M): lvdisplay ...................................................... display information about LVM logical volumeslvextend(1M): lvextend ................................ stripe, increase space, increase mirrors for LVM logical volumelvlnboot(1M): lvlnboot .................................. prepare LVM logical volume to be root, swap, or dump volumelvmchk(1M): lvmchk ....................... check if disk volume is under HP Logical Volume Manager (LVM) controllvmerge(1M): lvmerge .............................................. merge two LVM logical volumes into one logical volumelvmmigrate(1M): lvmmigrate . prepare root file system for migration from partitions to LVM logical volumeslvreduce(1M): lvreduce ........................................ decrease physical extents allocated to LVM logical volumelvremove(1M): lvremove ..................................................... remove logical volumes from LVM volume grouplvrmboot(1M): lvrmboot ................. remove LVM logical volume link to root, primary swap, or dump volume

    16 Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptionlvsplit(1M): lvsplit ............................................ split mirrored LVM logical volume into two logical volumeslvsync(1M) : lvsync ............................................................ synchronize stale mirrors in LVM logical volumeslwresd(1M): lwresd ............................................................................................ lightweight resolver daemonmakedbm(1M): makedbm ......................................................... make a Network Information System databasemakemap(1M): makemap .......................................................................... creates database maps for sendmailmap-mbone(1M): map-mbone, .................................................................. multicast router connection mappermc(1M): mc ................................................................................................ media changer manipulation utilitymk_kernel(1M): mk_kernel ...................................................... load a kernel configuration from a system filemkboot(1M): mkboot, rmboot ............................. install, update, or remove boot programs from a disk devicemkfs(1M): mkfs ............................................................................................... construct a file system (generic)mkfs_hfs(1M): mkfs ............................................................................................ construct an HFS file systemmkfs_vxfs(1M): mkfs .............................................................................................. construct VxFS file systemmklost+found(1M): mklost+found ................................................ make a lost+found directory for fsck(1M)mknod(1M): mknod .............................................................................................. create special and FIFO filesmksf(1M): mksf ...................................................................................................... make a special (device) filemodprpw(1M): modprpw ......................................................................... modify protected password databasemonacct: shell procedures for accounting, create accounting summary .................................... see acctsh(1M)mount(1M): mount, umount ......................................................................... mount and unmount a file systemmount: mount and unmount MemFS file systems ........................................................ see mount_memfs(1M)mount: mount and unmount NFS file systems ................................................................... see mount_nfs(1M)mount_cachefs(1M): mount_cachefs ................................................................. mount CacheFS file systemsmount_cdfs(1M): mount, umount ....................................................... mount and unmount CDFS file systemsmount_hfs(1M): mount, umount ........................................................... mount and unmount HFS file systemsmount_lofs(1M): mount ......................................................................................... mount an LOFS file systemmount_memfs(1M): mount, umount ................................................ mount and unmount MemFS file systemsmount_nfs(1M): mount, umount ........................................................... mount and unmount NFS file systemsmount_vxfs(1M): mount, unmount ........................................................ mount and unmount VxFS file systemmountall(1M): mountall, umountall ............................................ mount and unmount multiple file systemsmountd(1M): mountd ................................................................................................ NFS mount request servermrinfo(1M): mrinfo, ............................................................. multicast routing configuration information toolmrouted(1M): mrouted ....................................................................................... IP multicast routing daemonmtail(1M): mtail ..................................................................................... displays the last part of the mail logmvdir(1M): mvdir .................................................................................................................. move a directorynaaagt(1M): naaagt ......................................................................................... Native Agent Adapter for SNMPnamed(1M): named ............................................................................................. Internet domain name serverncheck(1M): ncheck ....................................................................... generate path names from inode numbersncheck_vxfs(1M): ncheck ............................... generate pathnames from inode numbers for VxFS file systemndd(1M): ndd ............................................................................................................................. network tuningndp(1M): ndp ..................................................................... IPv6 Neighbor Discovery cache display and controlnetfmt(1M): netfmt ............................................................................. format tracing and logging binary filesnettl(1M): nettl ....................................................................................... control network tracing and loggingnettlconf(1M): nettlconf ................................................................ configure tracing and logging commandsnewaliases(1M): newaliases .................................................... rebuilds the database for the mail aliases filenewfs(1M): newfs .................................................................................................. construct a new file systemnewfs_hfs(1M): newfs ................................................................................... construct a new HFS file systemnewfs_vxfs(1M): newfs_vxfs ......................................................................... construct new VxFS file systemnewkey(1M): newkey ............................................................. create a new key pair in the publickey databasenfsd(1M): biod, nfsd ................................................................................................................. NFS daemonsnfsstat(1M): nfsstat ....................................................................................... Network File System statisticsnis_cachemgr(1M): nis_cachemgr .... maintains a cache containing location information about NIS+ serversnisaddcred(1M): nisaddcred .................................................................................... create NIS+ credentialsnisaddent(1M): nisaddent ............................ create NIS+ tables from corresponding /etc files or NIS mapsnisclient(1M): nisclient ........................................................ initialize NIS+ credentials for NIS+ principalsnisd: NIS+ service daemon ................................................................................................... see rpc.nisd(1M)nisd_resolv: NIS+ service daemon ..................................................................................... see rpc.nisd(1M)nisinit(1M): nisinit ..................................................................... NIS+ client and server initialization utilitynislog(1M): nislog ................................................................ display the contents of the NIS+ transaction lognispasswdd(): NIS+ password update daemon ....................................................... see rpc.nispasswdd(1M)nisping(1M): nisping ............................................................................................. send ping to NIS+ serversnispopulate(1M): nispopulate ................................................... populate the NIS+ tables in a NIS+ domainnisserver(1M): nisserver ............................................................................................... set up NIS+ servers

    HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company 17

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptionnissetup(1M): nissetup ............................................................................................ initialize a NIS+ domainnisshowcache(1M): nisshowcache .................. NIS+ utility to print out the contents of the shared cache filenisstat(1M): nisstat .......................................................................................... report NIS+ server statisticsnisupdkeys(1M): nisupdkeys ............................................. update the public keys in a NIS+ directory objectntpdate(1M): ntpdate ............................................................................................ set time and date via NTPntpq(1M): ntpq .................................................................................... Network Time Protocol query programnulladm: shell procedures for accounting, create null file ......................................................... see acctsh(1M)ocd(1M): ocd .................................................................. outbound connection daemon used by DDFA softwareocdebug(1M): ocdebug ............................. outbound connection daemon debug utility used by DDFA softwareolrad(1M): olrad .................................................... command for online addition/replacement of PCI IO cardsopx25(1M): opx25 ................................................................................................. execute HALGOL programsospf_monitor(1M): ospf_monitor ............................................................................ monitor OSPF gatewaysowners(1M): owners .................................................................. lists owners of outgoing network connectionsparcreate(1M): parcreate ........................................................................................... create a new partitionparmodify(1M): parmodify ................................................................................. modify an existing partitionparremove(1M): parremove ............................................................................... remove an existing partitionparunlock(1M): parunlock .................................................. unlock Complex or Partition Configuration Datapcnfsd(1M): rpc.pcnfsd ...................................................... PC-NFS authentication and print request serverpcserver(1M): pcserver .................................................................. Basic Serial and HP AdvanceLink serverpdc(1M): pdc ........................................................................................... processor-dependent code (firmware)pfs_exportfs(1M): pfs_exportfs ............................................ export and unexport directories to PFS clientspfs_mount(1M): pfs_mount .......................................................... mount and unmount CD-ROM file systemspfs_mountd(1M): pfs_mountd ............................................................................... PFS mount request serverpfs_mountd.rpc: PFS mount request server ................................................................. see pfs_mountd(1M)pfs_umount: unmount CD-ROM file systems .................................................................... see pfs_mount(1M)pfsd(1M): pfs ............................................................................................................................... PFS daemonpfsd.rpc: PFS daemon ............................................................................................................... see pfsd(1M)ping(1M): ping ........................................... send echo request packets to a network host; test host availabilityportmap: universal addresses to RPC program number mapper ............................................ see rpcbind(1M)power_onoff(1M): power_onoff ........................................................................... timed, system power on/offpppoerd(1M): pppoerd .................................................... PPPoE (Point to Point Protocol over Ethernet) relaypppoesd(1M): pppoesd ..................................... PPPoE (Point-to-Point Protocol over Ethernet) server daemonprctmp: shell procedures for accounting, print session record file ............................................. see acctsh(1M)prdaily: shell procedures for accounting, print daily report .................................................... see acctsh(1M)privedit(1M): privedit ........................................ let authorized users edit files that are under access controlprivrun(1M): privrun ...................... invoke another application with privileges after performing appropriate

    authorization checks and optionally reauthenticating the userprtacct: shell procedures for accounting, print accounting file ................................................ see acctsh(1M)psrset(1M): psrset ...................................................................................... create and manage processor setspvchange(1M): pvchange .... change characteristics and access path of physical volume in LVM volume grouppvck(1M): pvck ......................................................... check or repair a physical volume in LVM volume grouppvcreate(1M): pvcreate ................................................ create physical volume for use in LVM volume grouppvdisplay(1M): pvdisplay ........................ display information about physical volumes in LVM volume grouppvmove(1M): pvmove ........... move physical extents from one LVM physical volume to other physical volumespvremove(1M): pvremove ............................................................................. remove an LVM physical volumepwck(1M): pwck, grpck ....................................................................................... password/group file checkerspwconv(1M): pwconv .................................................................... install, update or check the /etc/shadow filepwgr_stat(1M): pwgr_stat ............................................... password and group hashing and caching statisticspwgrd(1M): pwgrd .............................................................. password and group hashing and caching daemonpwunconv(1M): pwunconv ....................................................... convert passwords from shadow to nonshadowquot(1M): quot ............................................................................................. summarize file system ownershipquot_hfs(1M): quot .............................................................................. summarize HFS file system ownershipquot_vxfs(1M): quot ........................................................................... summarize VxFS file system ownershipquotacheck(1M): quotacheck ............................................................... file system quota consistency checkerquotacheck_hfs(1M): quotacheck_hfs .......................................... hfs file system quota consistency checkerquotacheck_vxfs(1M): quotacheck_vxfs ................................... VxFS file system quota consistency checkerquotaoff: turn file system quotas off .................................................................................... see quotaon(1M)quotaon(1M): quotaoff, quotaon .............................................................. turn file system quotas on and offrad(1M): rad ......................................................................................... rad features have been moved to olradramutil(1M): ramutil .............................................................. utility to create or destroy RAM disk volumesrarpc(1M): rarpc .......................................................................... Reverse Address Resolution Protocol client

    18 Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptionrarpd(1M): rarpd ...................................................................... Reverse Address Resolution Protocol daemonrbacdbchk(1M): rbacdbchk .......... verify the syntax of the Role-Based Access Control (RBAC) database filesrc(1M): rc ...................................................... general purpose sequencer invoked upon entering new run levelrcancel(1M): rcancel .......................................... remove requests from a remote line printer spooling queuerdpd(1M): rdpd ............................................................................................ router discovery protocol daemonrdump: incremental file system dump across network ................................................................ see dump(1M)reboot(1M): reboot ............................................................................................................. reboot the systemreject: prevent LP printer queuing requests ........................................................................... see accept(1M)remshd(1M): remshd ......................................................................................................... remote shell serverrenice(1M): renice ..................................................................................... alter priority of running processesrepquota(1M): repquota ................................................................................... summarize file system quotasrestore(1M): restore, rrestore ........................... restore file system incrementally, local or over a networkrexd(1M): rexd ......................................................................................... RPC-based remote execution serverrexecd(1M): rexecd ................................................................................................... remote execution serverripquery(1M): ripquery .................................................................................................. query RIP gatewaysrlogind(1M): rlogind ....................................................................................................... remote login serverrlp(1M): rlp ........................................................................... send LP line printer request to a remote systemrlpdaemon(1M): rlpdaemon .................................. line printer daemon for LP requests from remote systemsrlpstat(1M): rlpstat .................................................. print status of LP spooler requests on a remote systemrmboot - install, update, or remove boot programs from a disk device ....................................... see mkboot(1M)rmsf(1M): rmsf .................................................................................................... remove a special (device) filermt(1M): rmt ........................................................................................ remote magnetic-tape protocol moduleroleadm(1M): roleadm ........................ non-interactive editing of role-related information in RBAC databasesroute(1M): route ..................................................................................... manually manipulate routing tablesrpc.lockd: network lock daemon .............................................................................................. see lockd(1M)rpc.nisd(1M): rpc.nisd_resolv, nisd, nisd_resolv ................................................. NIS+ service daemonrpc.nisd_resolv: NIS+ service daemon ............................................................................. see rpc.nisd(1M)rpc.nispasswdd(1M): rpc.nispasswdd(), nispasswdd() ........................... NIS+ password update daemonrpc.pcnfsd: PC-NFS authentication and print request server ................................................ see pcnfsd(1M)rpc.statd: network status monitor ........................................................................................... see statd(1M)rpc.ypupdated: hex encryption and utility routines ........................................................ see ypupdated(1M)rpcbind(1M): rpcbind, portmap .................................. universal addresses to RPC program number mapperrpcinfo(1M): rpcinfo ................................................................................................. report RPC informationrquotad(1M): rquotad ..................................................................................................... remote quota serverrrestore: restore file system incrementally over a network ..................................................... see restore(1M)rstatd(1M): rstatd ......................................................................................................... kernel statistics serverrtradvd(1M): rtradvd ........................................................................ Router Advertisement daemon for IPv6runacct(1M): runacct ..................................................................................................... run daily accountingrusersd(1M): rusersd ................................................................................................ network username serverrvxdump: incremental file system dump across network ........................................................ see vxdump(1M)rvxrestore: restore file system incrementally across network .......................................... see vxrestore(1M)rwall(1M): rwall ......................................................................................... write to all users over a networkrwalld(1M): rwalld ........................................................................................................... network rwall serverrwhod(1M): rwhod ........................................................................................................... system status serversa1(1M): sa1, sa2, sadc ................................................................................... system activity report packagesa2: system activity report package ............................................................................................... see sa1(1M)sadc: system activity report package ............................................................................................. see sa1(1M)sam(1M): sam .................................................................................................. system administration managersar(1M): sar ............................................................................................................... system activity reportersasmgr(1M): sasmgr .... utility to manage HP-UX Serial Attached SCSI (SAS) Mass Storage I/O cards / HBAssavecrash(1M): savecrash ........................................................... save a crash dump of the operating systemscsictl(1M): scsictl ...................................................................................................... control a SCSI devicesd: create and monitor jobs ........................................................................................................ see swjob(1M)security_patch_check(1M): security_patch_check ........ check compliance with HP-UX security bulletinssendmail(1M): sendmail ...................................................................................... send mail over the Internetservice.switch(1M): service.switch ................................. indicate lookup sources and fallback mechanismset_parms(1M): set_parms

    ....................... set system initial identity parameters: host name, date, time, root password, networkingsetboot(1M): setboot ........................................................ display and modify boot variables in stable storagesetext(1M): setext ................................................................................................. set VxFS extent attributessetfilexsec(1M): setfilexsec .................................................... set binary executable file security attributes

    HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company 19

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptionsetmemwindow(1M): setmemwindow ................... set window id of a running process or start a program in a

    particular memory windowsetmnt(1M): setmnt ............................................................. establish file-system mount table, /etc/mnttabsetoncenv(1M): setoncenv ............................................................ NFS environment configuration commandsetprivgrp(1M): setprivgrp ........................................................................... set special privileges for groupsetrules(1M): setrules ............................................................................................... set compartment rulessetuname(1M): setuname ................................................................................... change machine informationshowmount(1M): showmount ..................................................................................... show all remote mountsshutacct: shell procedures for accounting, turn off accounting ................................................ see acctsh(1M)shutdown(1M): shutdown .......................................................................................... terminate all processingsig_named(1M): sig_named ............................................................... send signals to the domain name serverslpd(1M): slpd ............................................................................................................... SLP Protocol Daemonslpdc(1M): slpdc ......................................................................................................... send signals to the slpdsmrsh(1M): smrsh ................................................................................................ restricted shell for sendmailsnmpd(1M): snmpd ........................................................................... daemon that responds to SNMP requestssoftpower(1M): softpower ........................................................ determine if softpower hardware is installedspray(1M): spray ....................................................................................................................... spray packetssprayd(1M): sprayd ..................................................................................................................... spray serverst(1M): st ............................................................................................................... shared tape administrationstartup: shell procedures for accounting, start up accounting ................................................. see acctsh(1M)statd(1M): statd, rpc.statd ..................................................................................... network status monitorstrace(1M): strace ................................................ write STREAMS event trace messages to standard outputstrchg(1M): strchg, strconf ............................................................... change or query stream configurationstrclean(1M): strclean ................................................................. remove outdated STREAMS error log filesstrconf: query stream configuration ....................................................................................... see strchg(1M)strerr(1M): strerr ...................................................... receive error messages from the STREAMS log driverstrvf(1M): strvf .................................................................................................... STREAMS verification toolswa(1M): swa .......................................................................................................... HP-UX Software Assistantswa-clean(1M): swa ............................................................................................. remove files created by SWAswa-get(1M): swa ........................................... download software from HP to resolve issues and make a depotswa-report(1M): swa ....................................................... report software and security issues, and resolutions.swa-step(1M): swa ...................................................... advanced control of Software Assistant execution stepsswacl(1M): swacl ..................................................................................... view or modify Access Control Listsswagent: perform software management tasks as the agent of an SD command ................. see swagentd(1M)swagentd(1M): swagentd, swagent ....................... serve local or remote SD-UX software management tasksswapinfo(1M): swapinfo .............................................................................. system paging space informationswapon(1M): swapon ............................................................................ enable device or file system for pagingswask(1M): swask .......................................................................................... ask for user response for SD-UXswconfig(1M): swconfig ........................................... configure, unconfigure, or reconfigure installed softwareswcopy: copy software products for subsequent installation or distribution .......................... see swinstall(1M)swinstall(1M): swcopy, swinstall ............... install and configure software products, copy software productsswjob(1M): swjob, sd ........................................ display job information, remove jobs, create and monitor jobsswlist(1M): swlist ...................................................................... display information about software productsswmodify(1M): swmodify .................................................. modify software products in a target root or depotswpackage(1M): swpackage ......................................... package software products into a target depot or tapeswreg(1M): swreg ................................................................................ register or unregister depots and rootsswremove(1M): swremove ............................................................. unconfigure and remove software productsswverify(1M): swverify ............................................................................................ verify software productssync(1M): sync ........................................................................................................... synchronize file systemssyncer(1M): syncer .......................................................................... periodically sync for file system integritysysdef(1M): sysdef ................................................................................................... display system definitionsyslogd(1M): syslogd ..................................................................................................... log system messagestalkd(1M): talkd ....................................................................................... remote user communication servertcpd(1M): tcpd ................................................................................ access control facility for internet servicestelnetd(1M): telnetd ................................................................................................ TELNET protocol servertftpd(1M): tftpd ......................................................................................... trivial file transfer protocol servertic(1M): tic .......................................................................................................................... terminfo compilertsm.lpadmin(1M): tsm.lpadmin ..................................................... add or remove a printer for use with tsmttsyncd(1M): ttsyncd ........... daemon to maintain the nis+ password table in sync with the nis+ trusted tabletunefs(1M): tunefs .................................................................................. tune up an existing HFS file systemturnacct: shell procedures for accounting, turn on or off process accounting ........................... see acctsh(1M)

    20 Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptionudpublickey(1M): udpublickey ................................ updates the publickey database file and the NIS mapumount: 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 ...................................................... see mount_memfs(1M)umount: mount and unmount NFS file systems ................................................................. see mount_nfs(1M)umount: unmount a file system ................................................................................................. see mount(1M)unlink: execute unlink() system call without error checking .................................................... see link(1M)unmount: unmount VxFS file system ................................................................................ see mount_vxfs(1M)untic(1M): untic ............................................................................................................. terminfo de-compilerupdate-ux(1M): update-ux ................................................................... updates the HP-UX operating systemupdaters(1M): updaters ........................................................................... configuration file for NIS updatingups_mond(1M): ups_mond ..................................................... Uninterruptible Power System monitor daemonuseradd(1M): useradd .............................................................................. add a new user login to the systemuserdbck(1M): userdbck ........................... verify or fix information in the user database, /var/adm/userdbuserdbget(1M): userdbget ................. display information residing in the user database, /var/adm/userdbuserdbset(1M): userdbset ............................... modify information in the user database, /var/adm/userdbuserdel(1M): userdel ............................................................................... delete a user login from the systemusermod(1M): usermod ............................................................................... modify a user login on the systemuserstat(1M): userstat ............................................................................. check status of local user accountsutmpd(1M): utmpd ....................................................................................... user accounting database daemonuucheck(1M): uucheck ........................................................... check the uucp directories and permissions fileuucico(1M): uucico ...................................................................................... transfer files for the uucp systemuuclean(1M): uuclean ....................................................................................... uucp spool directory clean-upuucleanup(1M): uucleanup .............................................................................. uucp spool directory clean-upuucpd(1M): uucpd ..................................................................................... UUCP over TCP/IP server daemonuugetty(1M): uugetty ....................................................... set terminal type, modes, speed and line disciplineuuls(1M): uuls ............................................................... list spooled uucp transactions grouped by transactionuusched(1M): uusched ....................................................................................... schedule uucp transport filesuusnap(1M): uusnap ................................................................................ show snapshot of the UUCP systemuusnaps(1M): uusnaps ................................................................................ sort and embellish uusnap outputuusub(1M): uusub ......................................................................................................... monitor uucp networkuuxqt(1M): uuxqt ................................................................... execute remote uucp or uux command requestsvgcfgbackup(1M): vgcfgbackup ..................... create or update LVM volume group configuration backup filevgcfgrestore(1M): vgcfgrestore ............................................................ restore volume group configurationvgchange(1M): vgchange ........................................................................... set LVM volume group availabilityvgchgid(1M): vgchgid ........................ modify the Volume Group ID (VGID) on a given set of physical devicesvgcreate(1M): vgcreate ......................................................................................... create LVM volume groupvgdisplay(1M): vgdisplay ...................................................... display information about LVM volume groupsvgexport(1M): vgexport ............................... export an LVM volume group and its associated logical volumesvgextend(1M): vgextend ....................................... extend an LVM volume group by adding physical volumesvgimport(1M): vgimport ......................................................... import an LVM volume group onto the systemvgmodify(1M): vgmodify

    handle physical volume size changes and modify configuration parameters of an existing LVM volume groupvgreduce(1M): vgreduce .............................................. remove physical volumes from an LVM volume groupvgremove(1M): vgremove ............................................ remove LVM volume group definition from the systemvgscan(1M): vgscan ................................................................. scan physical volumes for LVM volume groupsvgsync(1M): vgsync ...................................... synchronize stale logical volume mirrors in LVM volume groupsvhardlinks(1M): vhardlinks

    .......................................... checks the consistency of compartment rules for files with multiple hardlinksvipw(1M): vipw ............................................................................................................... edit the password filevolcopy(1M): volcopy, labelit ............................................................ copy file systems with label checkingvolcopy_hfs(1M): volcopy, labelit ..................................................... copy file systems with label checkingvolcopy_vxfs(1M): volcopy, labelit ............................................ copy VxFS file system with label checkingvtdaemon(1M): vtdaemon ............................................................................................ respond to vt requestsvxdiskusg(1M): vxdiskusg ............................... generate disk accounting data of VxFS file system by user IDvxdump(1M): rvxdump, vxdump ................................... incremental file system dump, local or across networkvxenablef(1M): vxenablef ............ enable VxFS DMAPI, OnLineJFS, or full VxFS functionality in the kernelvxfsconvert(1M): vxfsconvert ............................................................ convert file system to vxfs file systemvxfsstat(1M): vxfsstat .............................................................................. display VxFS file system statisticsvxlicense(1M): vxlicense ...................................................................................... VxFS licensing key utilityvxrestore(1M): vxrestore, rvxrestore ............... restore file system incrementally, local or across network

    HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company 21

  • Table of ContentsVolumes Three and Four

    Entry Name(Section): name Descriptionvxtunefs(1M): vxtunefs ............................................................................................. tune a VxFS file systemvxumount(1M): vxumount ................................................................................... unmount a VxFS file systemvxupgrade(1M): vxupgrade ....................................... upgrade the disk layout of a mounted VxFS file systemwall(1M): wall ......................................................................................................... write message to all userswhodo(1M): whodo ................................................................................................ which users are doing whatwtmpfix: manipulate connect accounting records ..................................................................... see fwtmp(1M)xntpd(1M): xntpd ........................................................................................... Network Time Protocol daemonxntpdc(1M): xntpdc .............................................................................................. special NTP query programypbind: Network Information Service (NIS) binder processes ................................................. see ypserv(1M)ypinit(1M): ypinit .................................................. build and install Network Information Service databasesypmake(1M): ypmake ............................................... create or rebuild Network Information Service databasesyppasswdd(1M): yppasswdd ................... daemon for modifying Network Information Service passwd databaseyppoll(1M): yppoll ......................................................... query NIS server for information about an NIS mapyppush(1M): yppush ......................................... force propagation of a Network Information Service databaseypserv(1M): ypserv, ypbind, ypxfrd ............. Network Information Service (NIS) server and binder processesypset(1M): ypset ........................................................... bind to particular Network Information Service serverypupdated(1M): ypupdated, rpc.ypupdated ....................................... server for changing NIS informationypxfr(1M): ypxfr, ypxfr_1perday,

    ypxfr_1perhour, ypxfr_2perday ........................ transfer NIS database from NIS server to local nodeypxfrd: Network Information Service (NIS) transfer processes ............................................... see ypserv(1M)

    22 Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update

  • Section 1MPart 2

    System Administration CommandsN-Z

  • Section 1MPart 2

    System Administration CommandsN-Z

  • n

    naaagt(1M) naaagt(1M)

    NAMEnaaagt - Native Agent Adapter (NAA)

    SYNOPSISexport HP_NAA_CNF=naaCnf

    export HP_NAA_PORT= snmpPort

    export HP_NAA_GET_COMMUNITY=community

    /usr/sbin/naaagt [-K] [-n] [-E priority] [-m logMask] ...

    /usr/sbin/naaagt { -h | -help }

    DESCRIPTIONThe Native Agent Adapter (naaagt) allows third-party SNMP agents to work with the HP SNMP MasterAgent (snmpdm).

    The Native Agent Adapter runs as a subagent to the HP SNMP Master Agent. naaagt reads thenaaCnf file (see the HP_NAA_CNF environment variable, described below), and it registers each objectidentifier (OID) with snmpdm . See the naaCnf File Format section.

    After registration is complete, naaagt receives SNMP requests from snmpdm and forwards them to anon-standard UDP port on the same system (see the HP_NAA_PORT environment variable, describedbelow). naaagt also receives SNMP responses from the third-party SNMP agent, which is listening to thenon-standard UDP port, and naaagt forwards the responses to snmpdm .

    The third-party SNMP agent must listen to the same non-standard UDP port that naaagt sends to(HP_NAA_PORT ), not the standard SNMP port number (161). Refer to third-party documentation forinstructions on how to accomplish this. The third-party SNMP agent can be started before or after startingnaaagt .

    Parameters-E priority Sets the registration priority. If two subagents register the same OIDs, requests are sent

    to the subagent with the highest priority or to the subagent with the same priority that wasthe last to register. The priority range is zero (high) to 255 (low). Default: zero.

    -K Causes the Native Agent Adapter (naaagt) to continue to run, even if the HP SNMP Mas-ter Agent (snmpdm) terminates. When snmpdm subsequently restarts, naaagt will re-establish communication with snmpdm and re-register its OIDs. This option is recom-mended if the IndependentStart-up procedure is used, described below. By default,naaagt terminates automatically when snmpdm terminates.

    Troubleshooting Parameters-h-help Displays usage information.

    -m logMask Sets the logging mask. logMask may be one of the following names: APWARN , APER-ROR, APTRACE , APALL, or APNONE . Multiple logging options can be specified by repeat-ing the -m option. Logging data is written to the SNMP log file,/var/adm/snmpd.log. Default: APNONE .

    -n Causes naaagt to run in foreground. By default, naaagt runs in the background.

    Native Agent Adapter Start-upThe Native Agent Adapter start-up procedure may be provided by the vendor of the third-party SNMPagent. Refer to third-party documentation for instructions.

    Automatic Start-up

    The third-party SNMP agent and its Native Agent Adapter can be started and stopped automatically dur-ing system start-up and shutdown. This is accomplished by providing a start-up/shutdown script under the/sbin/init.d directory, with symbolic links to it under an appropriate /sbin/rcN.d directory. Seethe rc(1M) man page for details. See the IndependentStart-up section for procedures for starting naaagt .

    Manual Start-up

    The third-party SNMP agent and its Native Agent Adapter can be started using the /usr/sbin/snmpdcommand by providing start-up and shutdown scripts under /sbin/SnmpAgtStart.d. Normally,

    HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 25

  • n

    naaagt(1M) naaagt(1M)

    those scripts are merely symbolic links to the automatic start-up/shutdown script under /sbin/init.d ,following the same naming conventions documented in the rc(1M) manual page. These scripts are executedby the /usr/sbin/snmpd command. See the IndependentStart-up section for procedures for startingnaaagt .

    Independent Start-up

    The third-party SNMP agent and its Native Agent Adapter can be started by entering commands directlyor by executing an arbitrary script. When this approach is used, the naaagt-K option should probably beused because the third-party agent and adapter will not be restarted by the /usr/sbin/snmpd com-mand.

    The following procedure should be used to start naaagt for each third-party agent.

    • Export HP_NAA_PORT , which must be set to a unique port number.

    • Export HP_NAA_CNF , which must be set to an absolute path name for a third-party-specificnaaCnf file. Create the naaCnf file; refer to third-party documentation for a list of the OIDsthat are instrumented by the third-party SNMP agent.

    • Export HP_NAA_GET_COMMUNITY, which must be set to the community name to be used inSNMP requests forwarded from naaagt to the third-party SNMP agent. This environment vari-able is required only if the third-party agent is configured to use a community name other than thedefault ("public").

    • Create a unique symbolic link to /usr/sbin/naaagt. This makes it convenient to distinguisheach Native Agent Adapter in output from the ps -ef command. Execute the symbolic link tostart naaagt .

    • Start the third-party SNMP agent, following procedures in the third-party documentation. Thiscan be done before or after starting naaagt .

    naaCnf File FormatThe naaCnf file consists of a list of numeric object identifiers (OIDs), one OID per line. Each OID is asubtree of MIB variables that are instrumented by the third-party SNMP agent. Refer to third-party docu-mentation for the list of OIDs. Blank lines and lines beginning with "#" are treated as comments. Leadingand trailing spaces on a line are igno