HP B2355-92068 Administration Manual
HP B2355-92068 Administration Manual

HP B2355-92068 Administration Manual

System administration commands

Advertisement

Quick Links

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.

Advertisement

Table of Contents
loading

Summary of Contents for HP B2355-92068

  • Page 1 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.
  • Page 2: 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.
  • Page 3 © 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.
  • Page 5 (see man (1)) that displays them on the system. The entries are also known as manual pages or reference pages. General For a general introduction to HP-UX and the structure and format of the Introduction manpages, please see the introduction (9) manpage in volume 10.
  • Page 6: Typographical Conventions

    (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”...
  • Page 7: Command Syntax

    Command Syntax A word or character that you enter literally. Literal A word or phrase that you replace with an appropriate Replaceable value. One or more grouped command options, such as -ikx. - chars The chars are usually a string of literal characters that each represent a specific option.
  • Page 8 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;...
  • Page 9: Publishing History

    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.
  • Page 10: Hp Encourages Your Comments

    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.X; July 1996 Release; five volumes PDF and HTML; http://docs.hp.com. B2355-90052 HP-UX 10.0; July 1995 Release; four volumes PDF. HP Encourages Your Comments HP encourages your comments regarding this document.
  • Page 11: Table Of Contents

    Volume Three Table of Contents Section 1M...
  • Page 12 Volume Three Table of Contents Section 1M...
  • Page 13: Table Of Contents

    ..................disk array management functions arp(1M): arp ..................address resolution display and control asecure(1M): asecure ..................control access to HP-UX Audio aserver(1M): aserver ..........................Audio audevent(1M): audevent ..........change or display event or system call audit status audisp(1M): audisp ............
  • Page 14: Volumes Three And Four

    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 ................change root directory for a command shell procedures for accounting, check size of accounting file ........see acctsh(1M)
  • Page 15 ......... translate host table to name server file format hotplugd(1M): hotplugd ........... PCI I/O hotplug (attention button) events daemon hpux(1M): hpux ................. HP-UX bootstrap and installation utility hpux.efi(1M): hpux.efi .............. HP-UX bootstrap for Itanium-based systems identd(1M): identd ..................TCP/IP IDENT protocol server idisk(1M): idisk ..............
  • Page 16 ........prepare LVM logical volume to be root, swap, or dump volume lvmchk(1M): lvmchk ....... check if disk volume is under HP Logical Volume Manager (LVM) control lvmerge(1M): lvmerge ..........merge two LVM logical volumes into one logical volume lvmmigrate(1M): lvmmigrate .
  • Page 17 NIS+ password update daemon ............see rpc.nispasswdd(1M) nispasswdd(): nisping(1M): nisping ..................... send ping to NIS+ servers nispopulate(1M): nispopulate ........... populate the NIS+ tables in a NIS+ domain nisserver(1M): nisserver ....................set up NIS+ servers HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 18 ..........unlock Complex or Partition Configuration Data pcnfsd(1M): rpc.pcnfsd ............PC-NFS authentication and print request server pcserver(1M): pcserver ..............Basic Serial and HP AdvanceLink server pdc(1M): pdc ................... processor-dependent code (firmware) pfs_exportfs(1M): pfs_exportfs ..........export and unexport directories to PFS clients pfs_mount(1M): pfs_mount ............
  • Page 19 ....................system administration manager sar(1M): sar ....................... system activity reporter sasmgr(1M): sasmgr ..utility to manage HP-UX Serial Attached SCSI (SAS) Mass Storage I/O cards / HBAs savecrash(1M): savecrash ............save a crash dump of the operating system scsictl(1M): scsictl ......................
  • Page 20 ......................HP-UX Software Assistant swa-clean(1M): swa ..................... remove files created by SWA swa-get(1M): swa ........... download software from HP to resolve issues and make a depot swa-report(1M): swa ............report software and security issues, and resolutions. swa-step(1M): swa ............advanced control of Software Assistant execution steps swacl(1M): swacl ..................
  • Page 21 VxFS file system ................see mount_vxfs(1M) unmount: untic(1M): untic ......................terminfo de-compiler update-ux(1M): update-ux ..............updates the HP-UX operating system updaters(1M): updaters ................configuration file for NIS updating ups_mond(1M): ups_mond ............. Uninterruptible Power System monitor daemon useradd(1M): useradd ................add a new user login to the system userdbck(1M): userdbck ......
  • Page 22 ........server for changing NIS information ypxfr(1M): ypxfr, ypxfr_1perday, ypxfr_1perhour, ypxfr_2perday ......transfer NIS database from NIS server to local node Network Information Service (NIS) transfer processes ..........see ypserv(1M) ypxfrd: Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 23 Section 1M Part 1 System Administration Commands...
  • Page 24 Section 1M Part 1 System Administration Commands...
  • Page 25 (the string terminator) within a line. SEE ALSO getopt(1), exit(2), wait(2), getopt(3C), hier(5), introduction(9). Web access to HP-UX documentation at http://docs.hp.com − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 26 To reject requests to the individual printer destinations, requiring all requests to go through the class desti- nation: accept lj reject -r"use the lj destination" laser1 jet2 WARNINGS accept reject operate on the local system only. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 27 Directory of spooler configuration data /etc/lp Directory of spooler log files /var/adm/lp /var/spool/lp Directory of LP spooling files and directories SEE ALSO enable(1), lp(1), lpstat(1), lpadmin(1M), lpsched(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 28 The programs described in acctcon(1M) convert this file into session and charging records which are then summarized by acctmerg (see acctmerg (1M)). Process accounting is performed by the HP-UX system kernel. Upon termination of a process, one record per process is written to a file (normally ). The programs in acctprc(1M) summarize /var/adm/pacct this data for charging purposes;...
  • Page 29 STANDARDS CONFORMANCE acctdisk : SVID2, SVID3 : SVID2, SVID3 accton : SVID2, SVID3 acctwtmp − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 30: Acctcms(1M): Acctcms

    The process mean memory size may overflow for values greater than MAXINT SEE ALSO acct(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4). STANDARDS CONFORMANCE : SVID2, SVID3 acctcms − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 31 Instead of mean memory size, , show the fraction of total available MEAN SIZE(K) CPU time consumed by the process during its execution. This HOG FACTOR is com- puted as: − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 32 The accounting flag is not cleared when one processes exec’s another, but only when one process forks another. One side-effect of this is that some processes will be marked with , when users do not expect them to be. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 33 HP Process Resource Manager options require the optional HP Process Resource Manager (PRM) software to be installed and configured. See prmconfig(1) for a description of how to configure HP PRM, and prmconf(4) for the definition of process resource group. FILES...
  • Page 34 -t -l lineuse -o reboots < wtmp | acctmerg > ctacct With option: acctcon1 -W -t -l lineuse -o reboots < wtmps | sort +1n +2 > ctmp acctcon2 < ctmp | acctmerg > ctacct − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 35 /etc/acct/holidays SEE ALSO login(1), acct(1M), acctcms(1M), acctcom(1M), acctmerg(1M), acctprc(1M), acctsh(1M), fwtmp(1M), init(1M), utmpd(1M), runacct(1M), acct(2), getbwent(3C), acct(4), utmp(4). STANDARDS CONFORMANCE : SVID2, SVID3 acctcon1 : SVID2, SVID3 acctcon2 − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 36: Acctmerg(1M): Acctmerg

    file2 as desired ... acctmerg -i < file2 > file1 SEE ALSO acct(1M), acctcms(1M), acctcom(1M), acctcon(1M), acctprc(1M), acctsh(1M), fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4). STANDARDS CONFORMANCE : SVID2, SVID3 acctmerg − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 37 The mean memory size may overflow for values greater than MAXINT FILES /etc/passwd SEE ALSO acct(1M), acctcms(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctsh(1M), cron(1M), fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4). STANDARDS CONFORMANCE : SVID2, SVID3 acctprc1 acctprc2 : SVID2, SVID3 − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 38 Previous daily reports are cleaned up and therefore inaccessible after each invocation of . The flag prints a report of exceptional monacct − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 39: Prtacct, Shutacct, Startup, Turnacct

    : SVID2, SVID3 monacct : SVID2, SVID3 prctmp : SVID2, SVID3 prdaily prtacct : SVID2, SVID3 : SVID2, SVID3 shutacct : SVID2, SVID3 startup : SVID2, SVID3 turnacct − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 40 Message catalog file for all command line clients Message catalog file for command line clients fwerrcod.cat Message catalog for OEM-specific messages oemmsg01.cat SEE ALSO amdsp(1M), amcfg(1M), amutil(1M), amlog(1M), ammgr(1M). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 41: Amcfg(1M): Amcfg

    1, and a second disk enclosure on channel 2. Specifying the disks in the order would result in mirrored pairs of 1:2/2:2 . This would ensure availability because the data disks are on channel 1, 1:3/2:3 − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 42 This privilege is raised to provide mandatory read access to the devices. allowmacread allowmacwrite This privilege is raised to provide mandatory write access to the devices. filesysops This privilege is raised to allow the mknod(2) system call to succeed. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 43 An attempt was made to delete LUN 0, which is not allowed. LUN 0 may, however, be reconfigured using amcfg -R. No operation is performed. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 44 Calculate the available capacity from a five-disk RAID 5 LUN on disk array RACK_51. amcfg -C -d 1:2,2:2,3:2,4:6 -r 5 -s 32 RACK_51 Delete LUN 3 on the disk array RACK_51: amcfg -D 3 RACK_51 − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 45 -M 0 -c B RACK_51 DEPENDENCIES must be running to execute this command. See AM60Srvr(1M). AM60Srvr AUTHOR amcfg was developed by HP. SEE ALSO amdsp(1M), ammgr(1M), amutil(1M), amlog(1M), AM60Srvr(1M). − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 46 firmware to all disks on the disk array. If the channel:ID option is included, download firmware only to the specified disks. Disk are identified by channel (1-6) and SCSI ID (0-4, 8-12). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 47: Amdload(1M): Amdload

    Usage: amdload -D {all | Chan:ID,Chan:ID,...} <codefile> <ArrayID> amdload -C { all | <cntrlrID> } codefile <ArrayID> amdload -S { all | <Chan>,<Chan>,...} [-force] <codefile> <ArrayID> amdload -i <ArrayID> Extended help: amdload -? − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 48 -S all bccrev14 RACK_51 DEPENDENCIES must be running to execute this command. See AM60Srvr(1M). AM60Srvr AUTHOR was developed by HP. amdload SEE ALSO amdsp(1M), amcfg(1M), amutil(1M), amlog(1M), ammgr(1M), AM60Srvr(1M). − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 49 This may be useful if a new disk array has been added but does not yet show up in the disk array list returned by the option. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 50: Amdsp(1M): Amdsp

    One of the arguments has exceeded its maximum or minimum size, or is incorrect in form. Check the size and form of each argument. amdsp: The <ArrayID> entered does not identify a known, supported array − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 51 . 1MB=1024ˆ2 The following is output for each disk array controller: C:Subsystem:CntrlrID:CompState:CntrlrMode:Quiesced:VendorID: ModelNum:SerNumber:FWRevision:BootRevision:HPRev:LoopID:ALPA: PreferredALPA:CntrlrDate:CntrlrTime:CacheBattAge:ArrayID: NVRAMChecksum The following is output for each disk enclosure controller: C:Subsystem:CntrlrID:CompState:CntrlrMode:Quiesced:VendorID: ModelNum:SerNumber:FWRevision:EncSerNum:EncID:SubsysChannel: SubsysScsiID:ThumbwheelSetting:CntrlrDate:CntrlrTime: CacheBattAge:ArrayID − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 52 One or more "component state records" will be displayed in the following format: H:VendorID:ProductID:SubSystem:CntrlrAStatus:CntrlrBStatus: PS1Status:PS2Status:Fan1Status:Fan2Status:TsensorStatus: BattStatus:EncSerNum:ArrayID H:VendorID:ProductID:SubSystem:CntrlrAStatus:CntrlrBStatus: PwrSupplyAStatus:PwrSupplyBStatus:FanAStatus:FanBStatus: TsensorStatus:BattStatus:EncSerNum:ArrayID The leading is literal to identify this as a Hardware Status record. − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 53 Freq is the rebuild frequency in tenths of a second Amt is the rebuild amount in blocks per rebuild command S:VendorID:ProductID:ValidData-A:ValidData-B: CacheBlkSize-A:CacheBlkSize-B:CacheFlushThresh-A: acheFlushThresh-B:CacheFlushLim-A:CacheFlushLim-B: CacheSize-A:CacheSize-B:ArrayState:ArrayID The leading is literal to identify this as an ARRAY STATE record. − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 54 DEPENDENCIES must be running to execute this command. See AM60Srvr(1M). AM60Srvr AUTHOR amdsp was developed by HP. SEE ALSO ammgr(1M), amcfg(1M), amutil(1M), amlog(1M), AM60Srvr(1M). − 6 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 55: Amfmt(1M): Amfmt

    If an attempt is made to exe- cute the command, data may be destroyed. amfmt AUTHOR amfmt was developed by HP. SEE ALSO ammgr(1M), amutil(1M), amcfg(1M), amdsp(1M), amlog(1M), amdload(1M), AM60Srvr(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 56: Amlog(1M): Amlog

    Verbose output, displays additional "raw" major event log data, which can only be interpreted via the MEL Specification. This option is ignored unless specified in con- junction with -t mel Display expanded usage message. This option overrides all others. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 57 Display the controller log for disk array 000200A0B805E798. Display the log entries entered since 6/1/99. amlog -s 0601000099 -a 000200A0B805E798 Display the controller log for all disk arrays on the host. Use the default settings to display all log entries. amlog − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 58 The LUN field is only displayed if valid LUN information is available in the AEN sense data. DEPENDENCIES There are no dependencies for this command. AUTHOR was developed by HP. amlog SEE ALSO amdsp(1M), amcfg(1M), amutil(1M), ammgr(1M), AM60Srvr(1M). − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 59: Ammgr(1M): Ammgr

    NOTE: The cache page size may not be set to 16 KB unless the segment sizes of all existing LUNs are multiples of 16 KB. Perform a parity scan on the specified LUN. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 60 Usage: ammgr {-D <ArrayAlias> | -b | -c AA | -h <Channel:ID> | -d <Channel:ID> | -T <CntrlrID>:<percent> | -L <CntrlrID>:<percent> | -p <pagesize> | -P <LUN> | -H <LUN> | -s <LUN> | -t } − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 61 Set the cache flush threshold to 80% for controller A on disk array RACK_51: ammgr -T A:80 RACK_51 DEPENDENCIES AM60Srvr must be running to execute this command. See AM60Srvr(1M). − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 62 AUTHOR was developed by HP. ammgr SEE ALSO amdsp(1M), amcfg(1M), amutil(1M), amlog(1M), AM60Srvr(1M). − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 63 Verbose mode displays additional command execution, state, and/or status messages. Display extended usage message. This option overrides all others. SECURITY CONFIGURATION This command is modified for all security configurations. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 64: Amutil(1M): Amutil

    The command failed due to a device error, an internal error, or a system error. The Additional Error Info and Error Info Decode fields will hold specifics about the failure and its cause. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 65 -R 4 -f 50 -a 16 RACK_51 DEPENDENCIES must be running to execute this command. See AM60Srvr(1M). AM60Srvr AUTHOR amutil was developed by HP. SEE ALSO ammgr(1M), amcfg(1M), amdsp(1M), amlog(1M), AM60Srvr(1M). − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 66: Arp(1M): Arp

    The word specifies source routing information used for token ring networks. This information allows you to specify the particular bridge route which the token ring packet − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 67 You need superuser privilege to use the -sfc options. See the Neighbor Discovery Protocol (ndp(1M)) for IPv6. AUTHOR was developed by HP and the University of California, Berkeley. SEE ALSO ifconfig(1M), inet(3N), hosts(4), arp(7P), ndp(1M). − 2 − HP-UX 11i Version 2: December 2007 Update...
  • Page 68: Asecure(1M): Asecure

    Disable access control to the Aserver. This allows unrestricted access by all clients. Enable access control to the Aserver. This restricts access to clients listed in the ASF. Enabled is the default state. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 69 /opt/audio/bin/asecure -C AUTHOR was developed by asecure FILES /var/opt/audio/asecure_log asecure log pathname ASF pathname /etc/opt/audio/audio.sec SEE ALSO audio(5), asecure(1M), aserver(1M), attributes(1), convert(1), send_sound(1). Using the Audio Developer’s Kit − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 70 DISPLAY variable. If neither DISPLAY nor AUDIO is set, the Aserver on the local machine is used. DEPENDENCIES The Audio Server must run on a system that has audio hardware. Note that HP-UX for the 8MB 705 Sys- tem does not include audio software.
  • Page 71: Aserver(1M): Aserver

    AUTHOR The Audio Server was developed by SEE ALSO audio(5), asecure(1M), attributes(1), convert(1), send_sound(1). Using the Audio Developer’s Kit − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 72: Audevent(1M): Audevent

    Note: The set of audited system calls and corresponding audit events varies frequently as HP-UX evolves. The system call name referred to by the auditing system usually matches the real system call name, but with a few exceptions.
  • Page 73 To make the changes permanent, set , or AUDEVENT_ARGS1 AUDEVENT_ARGS2 AUDEVENT_ARGS3 /etc/rc.config.d/auditing AUTHOR was developed by HP. audevent SEE ALSO audisp(1M), audomon(1M), audsys(1M), audusr(1M), getevent(2), setevent(2), audit(4), audit(5). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 74 ). The default is . Note that start_time and stop_time must still be specified as two digit numbers. AUTHOR was developed by HP. audisp SEE ALSO audevent(1M), audit(4), audit(5). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 75 WARNINGS All modifications made to the audit system are lost upon reboot. To make the changes permanent, set AUDOMON_ARGS /etc/rc.config.d/auditing AUTHOR audomon was developed by HP. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 76: Audomon(1M): Audomon

    SEE ALSO audsys(1M), audit(5). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 77: Audsys(1M): Audsys

    The AFS size specified for either audit file is less than the file’s current size. Either audit file resides on a file system with no remaining user space (exceeds minfree, see tunefs(1M)). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 78 HP. FILES File maintained by containing the "current" and "next" audit file /.secure/etc/audnames audsys names and their switch sizes. SEE ALSO audit(5), audomon(1M), audctl(2), audwrite(2), audit(4), setsid(2). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 79 AUTHOR was developed by HP. audusr FILES /tcb/files/auth/*/* File containing flags to indicate whether users are audited. SEE ALSO audevent(1M), userdbset(1M), setaudproc(2), audswitch(2), audwrite(2), security(4), userdb(4), audit(5). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 80 (operation object) exists in appends the authorization to the role to authorization mapping in /etc/rbac/auths authadm if the role and authorization pair exists. /etc/rbac/role_auth − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 81 Allows user to run authadm with assign roleassign option. hpux.security.access.auth.revoke,* Allows user to run with option. authadm revoke rolerevoke hpux.security.access.auth.list,* Allows user to run with option. authadm list − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 82: Authadm(1M): Authadm

    # authadm list sys FILES Database containing valid definitions of all roles. /etc/rbac/roles Database containing definitions of all valid authorizations. /etc/rbac/auths /etc/rbac/user_role Database specifying the roles allowed for each specified user. − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 83 /etc/rbac/role_auth Database defining the authorizations for each specified role. SEE ALSO cmdprivadm(1M), privrun(1M), rbacdbchk(1M), roleadm(1M), rbac(5). − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 84 System password file /etc/passwd Protected Password database /tcb/files/auth/*/* /tcb/files/ttys Terminal Control database System Defaults database /tcb/files/auth/system/default /usr/sbin/authck AUTHOR was developed by HP. authck SEE ALSO getprpwent(3), getprtcent(3), getprdfent(3), authcap(4). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 85 Common subroutines used by , and sub-area commands. auto_parms set_parms set_parms /etc/auto_parms.log /etc/auto_parms.log.old Logfiles written and saved by auto_parms AUTHOR command was developed by HP. auto_parms SEE ALSO set_parms(1M), geocustoms(1M), dhcpdb2conf(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 86 file system from which the directory may be mounted. In the case of a simple NFS mount, the options that can be used are as specified in mount_nfs(1M), and location takes the form: host pathname − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 87 For instance, if the following entry appeared in the indirect map for /config &:/export/config/& it would allow automatic mounts in of any remote file system whose location could be specified /config hostname :/export/config/ hostname − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 88 Each key is the full path name autofs of an autofs mount point. The direct map as a whole is not associated with any single directory. − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 89 filesystem attributes can be retrieved once the filesystem has been mounted. − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 90: Automount(1M): Automount

    AUTHOR was developed by Sun Microsystems, Inc. automount FILES /etc/auto_master Master automount map. Name service switch configuration file. /etc/nsswitch.conf command. /usr/sbin/automount autofs automount SEE ALSO automountd(1M), cfsadmin(1M), mount(1M). − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 91: Automountd(1M)

    filesystems. A reboot may be necessary to resolve these issues. AUTHOR was developed by Sun Microsystems, Inc. automountd FILES /etc/auto_master master map for automounter log file for automountd /var/adm/automount.log /usr/sbin/automountd autofs daemon SEE ALSO automount(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 92 Using the configuration information contained in file, load the system database with the names of the STREAMS devices and a list of modules to use for each device. When a device is subsequently opened, the HP-UX STREAMS subsystem pushes the modules onto the stream for the device.
  • Page 93 This next example lists information about the stream for major device and its minor device autopush -g -M 75 -m -2 FILES /usr/lib/nls/msg/C/autopush.cat NLS catalog for autopush SEE ALSO sad(7), streamio(7). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 94: Backup(1M): Backup

    If backup is being run unattended from cron(1M) and the tape runs out, backup terminates, leaving the find process still waiting. Kill this process when you return. FILES parameterized file names /var/adm/archivedate − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 95 SEE ALSO cpio(1), find(1), touch(1), cron(1M), fbackup(1M), frecover(1M), fsck(1M), acl(5). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 96: Bastille(1M): Bastille

    Web servers and DNS. This tool currently hardens Red Hat 6.0-8.0, Mandrake 6.0-8.1, HP-UX 11i v1, HP-UX 11i v2, and HP-UX 11i v3. It is currently being tested on Debian, SuSE, and Turbo Linux. The utility includes a policy/configuration-selection interface, a configuration engine and a reporting module.
  • Page 97 UX. Bastille may not always correctly detect the status of products or services that are not shipped with the HP-UX OE. Also, Bastille may not detect all variations of the possible ways to disable or enable a service or feature. It will detect if Bastille did so, and will likely detect configuration made in accepted, standard ways.
  • Page 98 The config file contains the answers to the most recently saved session /var/log/Bastille/error-log (Linux) /var/opt/sec_mgmt/bastille/log/error-log (HP-UX) The error log contains any errors that Bastille encountered while making changes to the system. /var/log/Bastille/action-log (Linux) /var/opt/sec_mgmt/bastille/log/action-log (HP-UX) − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 99 Securing Debian Manual Available at: http://www.debian.org/doc/manuals/securing-debian-howto It is provided for offline reading in several formats (Text, HTML and PDF) by installing the harden- doc package in Debian systems. − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 100: Bastille_Drift

    If you need to be certain that the dynamic state matches the configured one, reboot the system. DEPENDENCIES Perl version 5.8.0 or greater, but 5.8.8 or greater is recommended for best performance. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 101 Default location for baseline if file not specified. This is also where Bastille stores an initial base- line here on its first successful run. /var/opt/sec_mgmt/bastille/log/Assessment/Drift.txt (HP-UX) Location of drift report/diff resulting from assessment. SEE ALSO perl(1), bastille(1M). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 102: Bdf(1M): Bdf

    University of California, Berkeley. FILES /etc/fstab Static information about the file systems. Mounted file system table. /etc/mnttab File system devices. /dev/dsk/* SEE ALSO df(1M), fstab(4), mnttab(4). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 103: Boot(1M)

    , the HP-UX-specific bootstrap loader. hpux.efi then loads the HP-UX kernel object file from the HP-UX file system to memory and transfers control to the loaded kernel image. PA-RISC Hardware The PA-RISC server and workstation bootstrap process involves the execution of three software com- ponents: •...
  • Page 104 In both cases, the BOOTREPLY will either be sent to the IP address specified in the yiaddr (your IP address) field or as a broadcast message. On HP-UX, there are two ways to specify that the BOO- TREPLY should be sent as a broadcast message.
  • Page 105 If there are multiple matched entries in the sorted table, only the first one is used. Tag is used to differentiate an individual − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 106 You can also assign the tag an IP-address value, which specifies the specific IP or broadcast address for the boot reply. − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 107 filename within the file are ignored. ip_address_list This tag specifies the IP addresses of gateways for the client’s subnet. If one of multiple gate- ways is preferred, it should be listed first. − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 108 This tag specifies the IP address(es) of NIS+ servers available to the client (RFC2132). ip_address_list This tag specifies the IP addresses of RFC887 Resource Location Protocol servers. root_path This tag specifies a path name to be mounted as a root disk. − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 109 file. This file, like other configuration files, takes character as the starting of a comment. − 6 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 110 The new style simply inserts a call-on- value of "00" for fields that are not sensible for a particular callback. The new argument list is: − 7 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 111 This tag specifies the fully qualified filename to be called when an IP address lease for a client has been extended. Some arguments will be passed in, the call will be made as follows: − 8 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 112 2 addresses, with the range being the addresses from the first address up to the second address, inclusively. This tag may be repeated to reserve more − 9 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 113 /* if giaddr!=0,client flags*/ struct in_addr ciaddr; /* client IP address */ struct in_addr yiaddr; /* ’your’ IP address */ struct in_addr siaddr; /* server IP address */ − 10 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 114 NIS+ Servers SMTP Servers EXAMPLES This is an example of a file: /etc/bootptab # Common entry global.defaults:\ bf=C2300A:\ hd=/usr/lib/X11/:\ hn:\ ht=ether:\ vm=rfc1048 # Now the actual individual entries − 11 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 115 # Individual options may be overridden for a specific group if the group # also configures the option. DHCP_DEFAULT_CLIENT_SETTINGS:\ hn:\ lease-time=10080:\ # The next entry defines an address pool for devices with the class − 12 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 116 # Sample /etc/dhcpdeny file 080009000001 0x080009000002 # Above two clients will not be served! WARNINGS Individual host entries must not exceed 1024 characters. AUTHOR was developed by Carnegie Mellon University, Stanford University, and HP. bootpd FILES /etc/bootptab /etc/dhcptab /etc/services SEE ALSO bootpquery(1M), dhcptools(1M), inetd(1M), tftpd(1M), syslog(3C), hosts(4).
  • Page 117: Bootpquery(1M): Bootpquery

    Boot file: /export/tftpdir/hp-gw2-confg RFC 1048 Vendor Information: Subnet Mask: 255.255.248.0 Bootfile Size: 6 512 byte blocks Domain Name Server: 15.9.18.119 Host Name: hp-gw2 AUTHOR bootpquery was developed by HP. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 118 SEE ALSO bootpd(1M), tftp(1), tftpd(1M). DARPA Internet Request For Comments RFC951, RFC1048, RFC1084, RFC1395, RFC1542 Assigned Numbers. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 119: Cachefsstat(1M): Cachefsstat

    700 (650 pass, 50 fail) modifies: EXIT STATUS The following exit values are returned: Success. non-zero An error has occurred. AUTHOR was developed by Sun Microsystems, Inc. cachefsstat SEE ALSO cfsadmin(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 120: Captoinfo(1M): Captoinfo

    (now xmc) and ug values were the same. terminfo Warning: the string produced for ’ii’ may be inefficient. The parameterized string being created should be rewritten by hand. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 121 Most occurrences of these less than optimal strings are flagged with a warning message, and may need to be recoded by hand. HP supports only terminals listed on the current list of supported devices. However, the terminfo database contains both supported and nonsupported terminals. If you use nonsupported terminals, they may not work correctly.
  • Page 122 EXAMPLES Create uncompressed cat* files for sections 1 and 1m of the manual, but don’t create the database: /usr/share/lib/whatis − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 123 MANPATH=/opt/langtools/man catman -m Note that you may wish to save MANPATH before doing this, so as not to lose your current MANPATH AUTHOR was developed by HP and the University of California, Berkeley. catman FILES /usr/share/man/man*[.Z]/* Unformatted nroff -compatible source) manpage files...
  • Page 124: Cfsadmin(1M): Cfsadmin

    file system. If CacheFS does not have exclusive use of the front file system, there is no guarantee that all the space the maxblocks parameter allows will be available. The default is − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 125 /cache3 cfsadmin -d all /cache3 The following example checks for consistency all filesystems mounted with demandconst enabled. No errors will be reported if no filesystems were found. demandconst − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 126 -s all AUTHOR was developed by Sun Microsystems, Inc. cfsadmin SEE ALSO fsck_cachefs(1M), mount_cachefs(1M). − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 127 For example, ch_rc -l -A -v -p ZZZ file may emit the following output: file: ZZZ[0]=zero file: ZZZ[5]=five file: ZZZ[9]=fred − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 128: Ch_Rc(1M): Ch_Rc

    AUTHOR ch_rc was developed by HP. FILES system configuration database driver file /etc/rc.config directory containing system configuration files /etc/rc.config.d SEE ALSO rc.config(4). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 129: Check_Patches(1M)

    filesets swverify AVAILABILITY This command is standard on HP-UX 11i v3. On 11i v2 it is available in patch PHCO_32220 or a supersed- ing patch. On 11i v1 it is available in patch PHCO_27780 or a superseding patch. RETURN VALUE...
  • Page 130: Chnlspath(1M): Chnlspath

    , only the first instance /etc/default/nlspath will be removed. RETURN VALUE chnlspath returns the following values: Operation successful. Error condition occurred. >0 SEE ALSO catopen(3C), nlspath(4), environ(5). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 131 SEE ALSO chdir(2), chroot(2). STANDARDS CONFORMANCE : SVID2, SVID3, XPG2, XPG3 chroot − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 132 Ignite-UX. AVAILABILITY This command is standard on HP-UX 11i v3. On 11i v2 it is available in patch PHCO_32220 or a supersed- ing patch. On 11i v1 it is available in patch PHCO_27780 or a superseding patch. − 1 −...
  • Page 133 Recovering disk space should not be the only factor considered when committing patches. AUTHOR was developed by HP. cleanup SEE ALSO show_patches(1), sysdiff(1), check_patches(1M), swlist(1M), swmodify(1M), swremove(1M), sd(4). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 134: Clear_Locks(1M): Clear_Locks

    Remove all locks on local NFS server for client, client1: clear_locks client1 Remove all locks created by the local client system and held by the remote NFS server, server1: clear_locks -s server1 SEE ALSO lockd(1M), statd(1M). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 135: Clri(1M): Clri

    If the file system is mounted, is likely to be ineffective. clri DEPENDENCIES operates only on file systems of type clri SEE ALSO fsck(1M), fsdb(1M), ncheck(1M). STANDARDS CONFORMANCE clri: SVID2, SVID3 − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 136 - clear x25 switched virtual circuit SYNOPSIS clrsvc line pad-type DESCRIPTION commands, including , are targeted for removal from HP-UX; see the WARNINGS uucp clrsvc below. clears any virtual circuit that might be established on the specified line. pad-type indicates to clrsvc...
  • Page 137: Cmdprivadm(1M): Cmdprivadm

    , the user must either be root, (running with effective UID of 0), or have the appropriate authorizations. The following is a list of the required authorizations for running − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 138 Database defining the authorizations for each specified role. /etc/rbac/cmd_priv Database containing the authorization to execute specified commands, and the privileges to alter UID and GID for command execution. SEE ALSO authadm(1M), privrun(1M), rbacdbchk(1M), roleadm(1M), rbac(5). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 139 An option processing error occurred. When querying, the compartmentalization feature is dis- abled. When making changes, and is specified, the reboot option is ignored (for example, to allow for editing of compartment configuration files). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 140 (for example, patch PHKL_32798 is missing), the system may not boot properly or may not have net- work connectivity. SEE ALSO authadm(1M), kconfig(1M), getrules(1M), setfilexsec(1M), setrules(1M), compartments(4), compartments(5). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 141 Note that the new sendmail.cf files offer a wealth of new options and features. You should STRONGLY con- sider making a new file from the distribution version or from the macros, which are sendmail.cf provided in /usr/newconfig/etc/mail/cf SEE ALSO sendmail(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 142: Convertfs(1M): Convertfs

    file system due to some failure in pro- cessing. AUTHOR convertfs was developed by HP. FILES Default list of file systems to check. /etc/fstab SEE ALSO fsck(1M), mkfs(1M), newfs(1M), fstab(4). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 143 Privilege. Note: This privilege state can only be changed at the service processor’s Command menu. Refer to the HP System Partitions Guide for a description of the partition management terms used in this man page. Refer to partition(5) for a list of partition management commands.
  • Page 144: Cplxmodify(1M): Cplxmodify

    -N Ploverleigh -g -h RemoteComplex WARNINGS HP-UX 11i Version 2 is the last HP-UX release on which passing passwd for the options is sup- ported. Specifying passwd on the command line will not be supported in future releases. The command will prompt for the password.
  • Page 145 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 − 3 − HP-UX 11i Version 2: December 2007 Update...
  • Page 146 /usr/bin/echo If you are not an administrator, the last two examples set mode, owner, and group to your current values. SEE ALSO chacl(1), make(1), install(1M), acl(5). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 147 , they replace the list of currently excluded classes, and if classes are specified with , they replace the list of currently included classes. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 148: Crashconf(1M): Crashconf

    High Availability for HP’s A-A Dump Devices The product, DUMPAAEnable Ver B.11.23.0609.01, enables high-availability features for HP’s Active-Active (A-A) Disk Array devices when configured as dump devices. The product Securepath version A.3.0F.02F.00F or higher is also required to be installed along with this product on the system, for enabling these features.
  • Page 149 , then the source format should also be . Conversion to from older formats is not supported. PARDIR PARDIR RETURN VALUE Upon exit, returns the following values: crashutil − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 150: Crashutil(1M): Crashutil

    -v COREDIR /var/adm/crash/crash.2 /tmp/oldcoredir or the even older "core file and kernel" format: crashutil COREFILE /var/adm/crash/crash.2 /tmp/corefile /tmp/kernfile AUTHOR was developed by HP. crashutil SEE ALSO savecrash(1M), crashconf(1M). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 151: Create_Sysfile(1M)

    Errors are sent to stderr. Most of the diagnostic messages from are self-explanatory. create_sysfile Errors cause to halt immediately. create_sysfile AUTHOR create_sysfile was developed by HP. FILES /usr/conf/gen/templates/* SEE ALSO kconfig(1M), mk_kernel(1M), system(4), kconfig(5). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 152 2:00 a.m. and the DST-shift is 1 hour. Consider the following entries in a crontab file: # Minute Hour MonthDay Month Weekday Command # ---------------------------------------------------------- Job_1 Job_2 Job_3 Job_4 Job_hourly 2,3,4 Multiple_1 Multiple_2 − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 153 ( PRMID=1 ). See prmconfig(1) for a description of how to configure HP PRM, and prmconf(4) for a description of how the user’s initial process resource group is determined. AUTHOR was developed by AT&T and HP.
  • Page 154: Dcopy(1M): Dcopy

    The figures specified in option arguments cannot be smaller than corresponding figures in the source file system. DEPENDENCIES dcopy only operates on HFS file systems. AUTHOR was developed by HP. dcopy SEE ALSO dd(1), fstyp(1M). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 155 STANDARDS CONFORMANCE : SVID3 dcopy − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 156: Devnm(1M): Devnm

    file or directory resides. EXAMPLES The command: /usr/sbin/devnm /usr produces: /dev/dsk/c1d0s9 /usr is mounted on /usr /dev/dsk/c1d0s9 FILES /dev/dsk/* Mounted file system table. /etc/mnttab STANDARDS COMPLIANCE devnm : SVID2, SVID3 − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 157: Df:(1M): Df:

    "C" (see lang(5)) is used instead of LANG If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to "C". See environ(5). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 158 Static information about the file systems Mounted file system table /etc/mnttab SEE ALSO du(1), df_hfs(1M), df_vxfs(1M), fsck(1M), fstab(4), fstyp(1M), statvfs(2), mnttab(4). STANDARDS CONFORMANCE : SVID2, SVID3, XPG2, XPG3, XPG4 − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 159 NFS file systems, the number of inodes is displayed as −1 . This is due to superuser When access restrictions over NFS. EXAMPLES Report the number of free disk blocks for all mounted file systems: − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 160 File system devices. Static information about the file systems /etc/fstab /etc/mnttab Mounted file system table SEE ALSO du(1), df(1M), fsck(1M), fstab(4), fstyp(1M), statvfs(2), mnttab(4). STANDARDS CONFORMANCE : SVID2, XPG2, XPG3 − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 161 Name of the mount point from which the VxFS file system is accessed. special Device name, which contains a mounted or unmounted VxFS file system. EXAMPLES Report the number of free disk blocks for all mounted file systems: − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 162 /dev/vg00/* /dev/dsk/* File-system devices. Static information about the file systems. /etc/fstab /etc/mnttab mounted-file-system table. SEE ALSO du(1), df(1M), fsck_vxfs(1M), statvfs(2), fs_vxfs(4), mnttab(4). STANDARDS CONFORMANCE : SVID2, XPG2, XPG3 − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 163 The configuration file can also be used to obtain the same configuration parameters from the server. So, once the is invoked, it will try to read the dhcpclient − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 164 This is done by sending the DHCPRELEASE message to the server. The dhcpclient then empties the record corresponding to that interface in the configuration file, /etc/dhcpclient.data − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 165: Dhcpclient(1M): Dhcpclient

    16 3 1 4 ff ff ff 0 c 5 64 68 63 70 68 2 4 ff ff b2 a8 ff AUTHOR was developed by HP. dhcpclient FILES /etc/dhcpclient.data configuration file. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 166 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. − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 167 Configuration Files and Parameter Names The following files, and parameters in each file, can be processed by dhcpdb2conf /etc/resolv.conf − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 168 Current DHCP parameters received from a DHCP server by dhcpclient /etc/resolv.conf .dhcp /etc/rc.config.d/netconf .dhcp /etc/rc.config.d/namesvrs .dhcp /etc/rc.config.d/netdaemons .dhcp System configuration files that can be modified by dhcpdb2conf SEE ALSO auto_parms(1M), set_parms(1M), geocustoms(1M), dhcpclient(1M). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 169 Preview a client’s address assignment based on current conditions of the bootpd server. This option is the same as except that the class identifier is used to identify the device − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 170 C 192.11.22.0: 192.11.22.149 00 1 080009000006 FFFFFFFF 00 To reclaim an IP address by client identifier (see earlier example of preview by client identifier): dhcptools -R ip=192.11.22.110 ci="serial_number_12345678" To validate a bootptab and dhcptab file: − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 171 FIFO file for dhcptools to bootpd(1M) communication /tmp/dhcpfifo.any FIFO file for bootpd(1M) to dhcptools communication /tmp/dhcpfifo SEE ALSO bootpd(1M), bootpquery(1M); DARPA Internet Request For Comments RFC1541, RFC1542, RFC1533, RFC1534, Assigned Numbers − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 172: Dhcpv6Clientd

    09 <length> DNS Suffix 10 <length> NTP Server Address 11 <length> NIS Domain Name 12 <length> NIS Server Address 13 <length> NIS+ Client Domain Name 14 <length> NIS+ Server Address − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 173 15 0 16 0 17 0 18 0 00 0 AUTHOR was developed by Hewlett-Packard. dhcpv6clientd FILES /etc/dhcpv6tab /etc/rc.config.d/netconf-ipv6 Client configuration database file. /etc/dhcpv6client.data SEE ALSO dhcpv6d(1M), syslog(3C). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 174: Dhcpv6D(1M): Dhcpv6D

    IA. The client will choose one of the following alternatives: • Some addresses in the IA may have lifetimes that extend beyond the lease of the IA. The client may choose to continue to use those addresses. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 175 This tag specifies the list of NTP servers available to the client. list-of-DA-addresses-followed-by-their-scope-list SLP-DA-address= This tag specifies the list of SLP Directory agents available to the client. The − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 176 ... ; reserved-address-list= start_addr1 end_addr1 start_addr2 end_addr2 This tag specifies the start and end addresses of the list of addresses, which constitute the reserved addresses of the address pool. − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 177 This tag specifies the address of the DHCPv6 server to which the relay forwards the client messages. EXAMPLES A sample file is shown below: /etc/dhcpv6tab DHCP_CLIENT_DEFAULT_SETTINGS; client-settings-name=TESTING-GROUP;\ POSIX-time-zone=EST5EDT4,116/02:00:00,298/02:00:00;\ DNS-server-address=3ffe::200:fe23:b580 3ffe::200:fe23:b540;\ DNS-suffix=india.hp.com;\ NIS-domain-name=india.hp.com;\ NIS-server-address=3ffe::200:fe23:b123 3ffe::200:fe23:b034;\ NIS+client-domain-name=cup.hp.com;\ NIS+server-address=3ffe:200:fe23::2341;\ NTP-server-address=3ffe::200:fe23:b123 3ffe::200:fe23:b034;\ SLP-DA-address=3ffe::200:fe23:b123 (netman=mgmt),(proxystuff=labs); DHCP_POOL_GROUP;\ pool-group-name=TESTING-POOL;\ − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 178 3ffe:305:1002:1:200:c0ff:fe23:b590;\ preference=255;\ NTP-server-address=3ffe::200:fe23:b102; DHCP_RELAY_SETTINGS;\ pool-group-name=RED-POOL;\ subnet-prefix=5ffe:305:1002:1::;\ prefix-len=64;\ dest-dhcp-server-address=5ffe:305:1002:1:2345:203:1ff3:3048; AUTHOR was developed by Hewlett-Packard. dhcpv6d FILES /etc/dhcpv6tab This is the dhcpv6 server configuration file. SEE ALSO dhcpv6client_ui(1), dhcpv6clientd(1M), dhcpv6db2conf(1M). − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 179: Dhcpv6Db2Conf(1M)

    UP. Configuration Files and Variable Names The following files and variables can be processed: /etc/rc.config.d/netconf-ipv6 IPV6_SECONDARY_INTERFACE_NAME IPV6_ADDRESS IPV6_PREFIXLEN DHCPV6_ENABLE /etc/rc.config.d/namesvrs NIS_DOMAIN YPSET_ADDR /etc/rc.config.d/netdaemons NTPDATE_SERVER − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 180 The NIS and NTP parameters are not IPv6-compatible. Hence do not use to update dhcpv6db2conf them. AUTHOR was developed by Hewlett-Packard. dhcpv6db2conf FILES Client configuration database /etc/dhcpv6client.data SEE ALSO dhcpv6clientd(1M), dhcpv6d(1M). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 181: Dig(1M): Dig

    This option is used to set the source IP address of the query to address. This must be a valid address on one of the host’s network interfaces. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 182 − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 183 Print records like the SOA records in a verbose multi-line format with human-readable com- ments. The default is to print each record on a single line, thereby facilitating machine parsing of the dig output. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 184 @10.53.0.2 axfr -p 5300 To request a transfer with Transaction Signature (TSIG): /usr/bin/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd tsigzone.com @10.53.0.3 axfr -y tsigzone.com:1234abcd8765 -p 5300 − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 185 To secure server-to-server communication BINDv9 primarily uses TSIG for zone transfer, notify, and recur- sive query messages. TSIG is very useful for dynamic updates. SEE ALSO dnssec-keygen(1), dnssec-makekeyset(1), dnssec-signkey(1), dnssec-signzone(1), host(1), nsupdate(1), hosts_to_named(1M), lwresd(1M), named(1M), gethostent(3N), hostname(5). − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 186: Diskinfo(1M): Diskinfo

    Revision level SCSI conformance level data WARNINGS As of release 10.20 of HP-UX, certain IDE devices, CD-ROMs in particular, will respond to diskinfo inquiries as if they were SCSI devices. Therefore, the text "SCSI describe" in the output of the diskinfo command does not definitively mean that the disk is in fact a SCSI drive (especially in the case of CD-...
  • Page 187 All the information will be adjusted within to reflect the assumed sector size (block size) of 256 disksecn bytes, passed as the argument of the switch, before the requested device driver table is output. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 188: Disksecn(1M): Disksecn

    DEV_BSIZE when it reads the information stored in the file. /etc/disktab AUTHOR was developed by the University of California, Berkeley. disksecn FILES /etc/disktab SEE ALSO disktab(4). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 189: Diskusg(1M): Diskusg

    -s dtmp.* | sort +0n +1 | acctdisk > disktacct FILES used for user- -to-login-name conversions /etc/passwd SEE ALSO acct(1M), acctsh(1M), volcopy(1M), vxdiskusg(1M), acct(4). STANDARDS CONFORMANCE : SVID2, SVID3 diskusg − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 190 (conventional location) /var/adm/messages memory scratch file for option /var/adm/msgbuf /dev/kmem special file containing the image of kernel virtual memory the kernel, system name list /stand/vmunix SEE ALSO savecrash(1M). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 191 file either does not exist or cannot be accessed with the current access privileges. (3) ERROR: No log file defined (-l option) filename (4) ERROR: Cannot create log file (-l − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 192: Dpp(1M): Dpp

    flushed to that printer), the following line must be added near the end of each printer interface script for printers attached to a terminal server: stty exta <&1 2>/dev/null − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 193 If finds an unowned pseudonym, it uses it. FILES /usr/examples/ddfa/dp /usr/examples/ddfa/pcf /usr/sbin/dpp /usr/sbin/ocd /usr/sbin/ocdebug /var/adm/dpp_login.bin /var/adm/utmp.dfa SEE ALSO ocd(1M), ocdebug(1M), dp(4), pcf(4), ddfa(7). − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 194 PLES section for an example option_file. The option_file can have one or more lines as follows: extended_option value For example: log_verbosity=3 Refer to the Extended -x Options section of each DRD man- page. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 195 -x -? To see the software that is installed on the inactive system image (without any need to mount the image first): − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 196 file named clone mount runcmd /tmp/drd_defaults # more /tmp/drd_defaults log_verbosity=3 clone.verbosity=5 mount.verbosity=4 runcmd.verbosity=4 To run the command using the option file: drd clone /tmp/drd_defaults − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 197 HP. FILES Log file. /var/opt/drd/drd.log 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 − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 198 Specifies the level of message verbosity in the log file. (See also .) Legal -x verbosity values are: Saves only ERROR messages and the starting/ending BANNER messages. Adds WARNING messages. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 199 To set the inactive system image as the primary boot disk and a different disk as the alternate boot disk: For 11i v2: drd activate -x alternate_bootdisk=/dev/dsk/c1t1d0 For 11i v3: drd activate -x alternate_bootdisk=/dev/disk/disk1 To boot to the inactive system image immediately: drd activate -x reboot=true − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 200 FILES /var/opt/drd/drd.log Log file. SEE ALSO drd(1M), drd-clone(1M), drd-deactivate(1M), drd-mount(1M), drd-runcmd(1M), drd-umount(1M), setboot(1M) Dynamic Root Disk Administrator’s Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 201 -x verbosity values are: Saves only ERROR messages and the starting/ending BANNER messages. Adds WARNING messages. Adds NOTE messages. Adds INFO messages (informational messages preceded by the character). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 202 However, the disk will need to be bigger than the used space in each volume, since each volume will be created with the number of physical extents currently allo- cated to the corresponding root volume. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 203 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: •...
  • Page 204 /var/opt/drd/drd.log SEE ALSO drd(1M), drd-activate(1M), drd-deactivate(1M), drd-mount(1M), drd-runcmd(1M), drd-umount(1M), ioscan(1M), swapinfo(1M), vgdisplay(1M), vxdisk(1M) Dynamic Root Disk Administrator’s Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 205 .) Legal values are: Saves only ERROR messages and the starting/ending BANNER messages. Adds WARNING messages. Adds NOTE messages. Adds INFO messages (informational messages preceded by the character). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 206: Drd-Deactivate(1M): Drd

    -x alternate_bootdisk=/dev/dsk/c1t1d0 For 11i v3: drd deactivate -x alternate_bootdisk=/dev/disk/disk1 To display all drd deactivate extended options: drd deactivate -x -? AUTHOR was developed by HP. FILES /var/opt/drd/drd.log Log file. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 207 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 − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 208 .) Legal values are: Saves only ERROR messages and the starting/ending BANNER messages. Adds WARNING messages. Adds NOTE messages. Adds INFO messages (informational messages preceded by the character). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 209 Mount point for the root file system of an inactive system image created by a command. drd clone /var/opt/drd/mnts/sysimage_000 Mount point for the root file system of an inactive system image that − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 210 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 − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 211: Drd-Runcmd(1M)

    Read files on the inactive image. view Extended -x Options drd runcmd recognizes the following (extended) options. If a default value exists, it is shown in bold − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 212 , any option that indicates a depot target is not supported. This includes the following: • The option on , and swlist swmodify swverify swremove • The option on swinstall swlist , and swverify − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 213 This option is not meaningful for drd runcmd, since it must be -x un_as_superuser run as root. This option is not supported by drd runcmd. -x select_local Tape depots are not supported by drd runcmd. -x source_tape − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 214 /var/opt/drd/drd.log SEE ALSO view(1), drd(1M), drd-activate(1M), drd-clone(1M), drd-deactivate(1M), drd-mount(1M), drd-umount(1M), kctune(1M), swinstall(1M), swlist(1M), swmodify(1M), swremove(1M), swverify(1M) Dynamic Root Disk Administrator’s Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 215: Drd-Umount(1M)

    Saves only ERROR messages and the starting/ending BANNER messages. Adds WARNING messages. Adds NOTE messages. Adds INFO messages (informational messages preceded by the character). Adds verbose INFO messages. Adds very-verbose INFO messages. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 216 SEE ALSO drd(1M), drd-activate(1M), drd-clone(1M), drd-deactivate(1M), drd-mount(1M), drd-runcmd(1M) Dynamic Root Disk Administrator’s Guide, available on the HP Technical Documentation web site at http://docs/hp.com/en/DRD − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 217 HP. drd_register_mirror 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 − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 218 HP. drd_unregister_mirror 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 − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 219 /usr/sbin/rmt /etc/rmt , on the remote machine to access the tape device. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 220 Default tape unit to dump to. /dev/rmt/0m /var/adm/dumpdates New format-dump-date record. Dump table: file systems and frequency. /etc/fstab Used to find group /etc/group operator SEE ALSO restore(1M), rmt(1M), fstab(4), acl(5). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 221: Dumpfs(1M): Dumpfs

    DEPENDENCIES dumpfs command can only be used on HFS file systems. AUTHOR was developed by the University of California, Berkeley. dumpfs SEE ALSO fsck(1M), mkfs(1M), newfs(1M), tunefs(1M), disktab(4). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 222: Edquota(1M): Edquota

    Quotas can be established only for users whose user ID is less than 67,000,000. Attempts to establish quo- tas for other users result in an error message. This restriction will be removed in a future version of HP- If you have the HP DiskQuota-Enh product installed, the above restriction for user IDs does not exist for VxFS filesystems that are mounted with largefiles enabled (see mkfs_vxfs (1M)).
  • Page 223 Quota statistics static storage for a file system, where directory is the root of the file system as specified to the command (see mount(1M)). mount SEE ALSO quota(1), vi(1), quotacheck(1M), quotacheck_hfs(1M), quota(5). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 224 Recursively copy the subtree rooted at each source directory to the destination directory. Copy file1 from an EFI volume to file2 in HP-UX file system. file1 should be relative to the root of the EFI volume specified by devicefile, not to an HP-UX file system. With the option, only a single regular file may be copied at a time.
  • Page 225 /EFI/HPUX/ EFI_PARTITION environment variable and rename it to hpux.efi efi_cp bootloader /EFI/HPUX/hpux.efi Copy from the EFI file system on the specified device into the current HP-UX direc- /EFI/HPUX/AUTO tory: efi_cp -d /dev/rdsk/c1t4d0s1 -u /EFI/HPUX/AUTO . AUTHOR was developed by HP.
  • Page 226 Write an EFI file system header on device file /dev/rdsk/c1t4d0s1 efi_fsinit -d /dev/rdsk/c1t4d0s1 AUTHOR efi_fsinit was developed by HP. FILES None SEE ALSO efi_cp(1M), efi_ls(1M), efi_mkdir(1M), efi_rm(1M), efi_rmdir(1M), efi(4). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 227 If no path is given, lists the root directory for EFI volume. A path should be relative to the root of the EFI volume efi_ls specified by devicefile, not to an HP-UX file system. Options recognizes the following option:...
  • Page 228 EFI volume specified by devicefile, not to an HP-UX file system. Options Options can be used singly or combined in any order before the file names. The space between option and argument is optional.
  • Page 229 EFI directories. file should be relative to the root of the EFI volume specified by devicefile, not to an HP-UX file system. Options recognizes the following option:...
  • Page 230 file; use efi_rm(1M) to remove EFI files. directory should be relative to root of the EFI volume specified by devicefile, not to an HP-UX file system. Options recognizes the following option:...
  • Page 231 # and to perform system shutdown at OVERTEMP_EMERG or FANFAIL_CRIT, # in order to reserve data integrity. OVERTEMP_CRIT:y /usr/bin/rcp critical_appl_files \ remote_machine:/backup OVERTEMP_EMERG:y /usr/sbin/reboot -qh FANFAIL_CRIT:y /usr/bin/rcp critical_appl_files \ remote_machine:/backup − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 232 AUTHOR was developed by HP. envd FILES executable file /usr/sbin/envd envd default configuration file /etc/envd.conf envd /etc/syslog.conf default syslog configuration file − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 233 /var/tmp/envd.action[123] envd work files SEE ALSO reboot(1M), shutdown(1M), syslogd(1M), syslog(3C). HP-UX System Administration manuals. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 234 Up to 256 hostnames can be specified. With a server configured for DNS nam- ing in the nsswitch "hosts" entry, any hostname must be represented as a fully qualified DNS name. Currently HP-UX will attempt to match a non-fully qualified hostname; this HP-only feature will be obsoleted in a later release of HP-UX.
  • Page 235 With a server configured for DNS naming in the nsswitch "hosts" entry, any hostname must be represented as a fully qualified DNS name. Currently HP-UX will attempt to match a non-fully qualified hostname; this HP-only feature will be obsoleted in a later release of HP-UX.
  • Page 236 /etc/networks as follows: mynetwork 192.144.0.0 mount_144 #allow mounts using this mask exportfs -i -o access=@mynetwork /var/adm Export access to where the network prefixes are not byte aligned: /var/adm − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 237 Static export information List of hostnames /etc/hosts List of network groups /etc/netgroup /etc/xtab Current state of exported directories Network information /etc/networks SEE ALSO showmount(1M), exports(4), hosts(4), netgroup(4), networks(4). − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 238 To increase the capacity of a file system created on a logical volume, enter: umount /dev/vg00/lvol1 larger_size lvextend -L /dev/vg00/lvol1 extendfs -F hfs /dev/vg00/rlvol1 mount_directory mount /dev/vg00/lvol1 SEE ALSO fstyp(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M), fs_wrapper(5). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 239 RETURN VALUE returns the following values: extendfs No errors were detected and file system was successfully extended. Command aborted. SEE ALSO extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 240 This example shows how to increase the capacity of a file system created on a logical volume. umount /dev/vg00/lvol1 larger_size lvextend -L /dev/vg00/lvol1 extendfs -F vxfs /dev/vg00/rlvol1 mount_directory mount /dev/vg00/lvol1 SEE ALSO extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M), fs_vxfs(4). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 241 The only index guaranteed to be correct in all cases is the on- line index ( option), which is produced after the last volume has been written. Specific differences in the structure of volumes are listed below: fbackup − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 242 • Maximum number of times is to retry an active file. fbackup • Maximum number of bytes of media to use while retrying the backup of an active file. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 243 There is no default graph file. For example, to back up all of except for the subtree /usr /usr/lib a file could be created with the following two records: − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 244 Magic Field fbackup (HP-UX release 10.20 and beyond). Before FBACKUP_LABEL HP-UX release 10.20, it contained the value FBACKUP LABEL Machine Identification This field contains the result of uname -m System Identification This field contains the result of...
  • Page 245 One method of maintaining on-line index files is outlined below. The system administrator must do the following once before is run for the first time (creating intermediate fbackup level directories where necessary): − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 246 With release 10.20, HP-UX supports large files (greater than 2GB) and increased UID/GIDs (greater than 60,000). Archives containing files with these attributes would cause severe problems on systems that do not support the increased sizes. For this reason,...
  • Page 247 Common record sizes include 128 blocks for DLT and DDS tape drives, and 60 blocks for the HP 7980. Note also that the blocksize used in earlier releases (7.0 and before) was 512 bytes, whereas it is now 1024 bytes. This means that the same value specified in blocksperrecord in an earlier release creates blocks twice their earlier size in the current release;...
  • Page 248 See privileges(5) for more information about privileged access on systems that support fine-grained privileges. DESCRIPTION For a list of all supported Fibre Channel HBAs, please refer to the HP-UX Fibre Channel HBA Support Matrix available at: http://docs.hp.com/en/FCI-SM/FCI-SM.htm...
  • Page 249 This option is used to send an RLS (Request Link Status) ELS frame on the wire. It requires one parameter, the remote-N-Port-ID. The ELS is sent to this remote-N-Port-ID and the response data is displayed. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 250 An optional third argument (count) can be specified for the number of loopback packets to be sent. If the count option is not specified, one packet will be sent. − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 251 WARNING: This is a DESTRUCTIVE test and communication to all nodes will be ter- minated. option can be used to suppress the warning message displayed by the Fibre Chan- nel driver utility. − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 252 file .dmp named FC-driverdrv_date-timestamp . These dumps should be sent to HP for further .dmp analysis of the problem. NOTE: The driver does not save any new dumps, until the previously saved dump is retrieved with this option.
  • Page 253 /dev/fcd2 lb int crpat 1000 Display diagnostics information from the HBA’s optical transceiver with as the device file. /dev/fcd2 fcmsutil /dev/fcd2 sfp AUTHOR /opt/fcms/bin/fcmsutil was developed by HP. SEE ALSO ioscan(1M), privileges(5). − 6 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 254 To detach the file descriptor for the STREAMS file from its associated file system /tmp/streamfile node, enter: fdetach /tmp/streamfile FILES /usr/lib/nls/C/fdetach.cat NLS catalog for fdetach SEE ALSO fattach(3C), fdetach(3C), streamio(7). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 255 -V /dev/dsk/c1d2s0 FILES File that specifies the default system type. /etc/default/fs /etc/fstab Static information about the file systems. SEE ALSO find(1), ff_hfs(1M), ff_vxfs(1M), fstyp(1M), ncheck(1M), fstab(4), fs_wrapper(5). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 256 List all files on the same file system, including the path name and i-number of each file, that was last accessed more than 30 days ago ( -a +30 ff -a +30 /dev/dsk/c1d2s0 − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 257 Execute the 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). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 258 List files on the same file system that have been modified in the last two days ( ), displaying the -m -2 pathname, inumber, and owner’s user name ( − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 259 /dev/vg01/rlvol1 Execute the command on a VxFS file system /dev/vg01/rlvol1 ff -F vxfs /dev/vg01/rlvol1 FILES Static information about the file systems. /etc/fstab SEE ALSO find(1), ff(1M), ncheck_vxfs(1M), fstab(4). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 260 Remote finger not allowed AUTHOR fingerd was developed by the University of California, Berkeley and HP. SEE ALSO finger(1), inetd(1M), services(4), RFC 742 for the Name/Finger protocol. − 1 − Hewlett-Packard Company...
  • Page 261 This will fix manpages in cat* directories 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/ FILES Directories containing [compressed] nroff(1)-formatted versions of man- /usr/share/man/cat*[.Z] pages /usr/local/man/cat*[.Z] /usr/contrib/man/cat*[.Z] AUTHOR was developed by HP. fixman − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 262 fixman(1M) fixman(1M) SEE ALSO catman(1M), chmod(1), expand(1), lp(1), man(1), mv(1), sed(1), environ(5). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 263 DESCRIPTION formats one LUN of the HP SCSI disk array associated with device file, device_file. The format 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.
  • Page 264 LUN. format DEPENDENCIES The HP C2425 and HP C2427 disk arrays are only supported on Series 700 systems running HP-UX version 9.0X. The HP C2430 disk array is supported on Series 700 and 800 systems running HP-UX versions 9.0X and 10.0X.
  • Page 265 Checkpoint Frequency This field contains the number of data records between check- points. Fast Search Mark Frequency This field contains the number of files between fast search − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 266 /usr e /usr/lib If the graph file is missing, frecover exits with an error message. An empty graph file results in recovering all files on the media. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 267 LC_COLLATE determines the order in which frecover expects files to be stored on the backup device and the order in which file names are output by the option. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 268 Single- and multi-byte character code sets are supported. WARNINGS For incremental backups created prior to installing HP-UX Release 8.0, or for recoveries that do not begin with the first volume (such as when reading tape 3 first), it is possible for the preceding directories to a recoverable file to not be on the media.
  • Page 269 X:Read must be a multiple of 512 bytes in QIC 120 and QIC 150 AUTHOR frecover was developed by HP. FILES Default backup device. /dev/rmt/0m SEE ALSO cpio(1), dump(1M), fbackup(1M), restore(1M), rmt(1M), acl(5). − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 270 Refer to the HP System Partitions Guide for a description of the partition management terms used in this man page.
  • Page 271 Note: Specifying passwd on the command line will not be supported in future releases. cell The specified cell is powered on/off or the power status is displayed. Refer to the DESCRIPTION section for the conditions under which power control is allowed. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 272 -f -c 0/4 -c 0/6 WARNINGS HP-UX 11i Version 2 is the last HP-UX release on which passing passwd for the options is sup- ported. Specifying passwd on the command line will not be supported in future releases. The command will prompt for the password.
  • Page 273 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 − 4 − HP-UX 11i Version 2: December 2007 Update...
  • Page 274 -F hfs -o largefiles /dev/vg02/lvol1 Display relevant file system statistics: fsadm -F hfs /dev/vg02/lvol1 FILES Static information about the systems /etc/fstab SEE ALSO fsadm_hfs(1M), fsadm_vxfs(1M), fsck(1M), fstab(4), fs_wrapper(5). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 275 file. This functionality degrades the performance of the fsadm command. FILES Static information about the systems /etc/fstab SEE ALSO fsadm(1M), fsadm_vxfs(1M), fsck(1M), fstab(4), fs_wrapper(5). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 276 Storage Checkpoints. VxFS file systems running on HP-UX 10.20 and later contain features that are incompatible with earlier versions of HP-UX and applications. These features are large files (file sizes greater than two gigabytes), and hierarchical storage management via the DMAPI (Data Management Applications Programming Inter- face).
  • Page 277 -bcdDeE options. Note: Large files are supported on HP-UX 10.20 systems and above. Be careful when implementing large file system capability. System administration utilities such as backup may not operate correctly if they are not large file aware.
  • Page 278 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.
  • Page 279 Directory Reorganization Statistics (pass 1 of 2) Dirs Dirs Total Failed Blocks Blocks Immeds Searched Changed Ioctls Ioctls Reduced Changed Added fset 999 8008 3121 5017 3037 4428 2569 − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 280 The following is an example of the output generated by the command: fsadm -E # fsadm -F vxfs -E /home − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 281 [ rawdev] [ time] mount_point The following example shows the output from the command: fsadm -F vxfs -e -s -E # fsadm -F vxfs -e -s -E /home − 6 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 282 The column "Ioctls Issued" contains the total number of reorganization request calls made dur- ing the pass. This corresponds closely to the number of files that are being operated on in that pass as most − 7 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 283 /home -print | fsadm -F vxfs -e -f - FILES lock file lost+found/.fsadm /dev/rdsk/ ∗ file system devices Contains static information about file systems. /etc/fstab SEE ALSO df_vxfs(1M) fsadm(1M), mkfs_vxfs(1M), mount_vxfs(1M), vxupgrade(1M), fcntl(2), fstab(4), vxfsio(7). − 8 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 284 Name of the special device from which the VxFS file system is accessed. Notes Snapshot file systems are only available with the HP OnLineJFS product. A snapshot file system cannot be written to. A snapshot file system exists only as long as it is mounted; once unmounted, the special file no longer con- tains a snapshot file system.
  • Page 285 SEE ALSO dd(1), fs_vxfs(4), vxfsio(7). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 286 DESCRIPTION fsck command audits and interactively repairs inconsistent conditions for HP-UX file systems on mass storage device files identified by special. If the file system is consistent, the number of files on that file system and the number of used and free blocks are reported. If the file system is inconsistent, fsck provides a mechanism to fix these inconsistencies, depending on which form of the...
  • Page 287 The following example forces a check on the cache directory /cache3 fsck -F cachefs -o noclean /cache3 AUTHOR was developed by Sun Microsystems, Inc. fsck_cachefs SEE ALSO cfsadmin(1M), fsck(1M), mount_cachefs(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 288 0 and 100 inclusive. The most common use of this option is − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 289 , no changes are required to the superblock if no problems were found and was already set. FS_OK Checking the raw device is almost always faster. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 290 -c 0 but may impact performance. option, from prior releases, has been replaced by the option. AUTHOR was developed by HP, AT&T, the University of California, Berkeley. fsck FILES /etc/fstab Default list of file systems to check. List of locations of the superblocks for file systems. The...
  • Page 291 Allows a full check of a mounted file system. -o mounted is only used internally as part of the primary cluster node recovery process after the primary fails. Never enter this − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 292 flag is set on the file system without operator interaction. encounters a large file on an older OS version, the command stops without completing the file sys- fsck tem check. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 293 file system if not used correctly. (safe performance mode) option will be obsoleted in future releases. SEE ALSO fsck(1M), fsck_hfs(1M), mkfs(1M), mkfs_vxfs(1M), ncheck_vxfs(1M), sync(2), fs_vxfs(4). − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 294 HFS file systems. fsclean AUTHOR fsclean was developed by HP. FILES Default list of file systems to check /etc/fstab SEE ALSO dumpfs(1M), fsck(1M), fsck_hfs(1M), mount(1M), quotacheck(1M), quotacheck_hfs(1M), reboot(1M), fstab(4). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 295 FILES Specifies the default file system type /etc/default/fs /etc/fstab Static information about the file systems SEE ALSO fsck(1M), fsdb_hfs(1M), fsdb_vxfs(1M), fstyp(1M), stat(2), fs_wrapper(5). STANDARDS CONFORMANCE : SVID3 fsdb − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 296 The following symbols are recognized by fsdb Escape to shell Absolute address Address arithmetic Address arithmetic Restore an address < > Save an address Numerical assignment Incremental assignment Decremental assignment − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 297 Data block numbers (num is in the range 0 − 14) Time last accessed Continuation inode number Last time inode changed Group ID number Link count Major device number − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 298 AUTHOR was developed by HP and AT&T. fsdb FILES Static information about the file systems /etc/fstab SEE ALSO dumpfs(1M), fsck(1M), fsdb(1M), stat(2), dir(4). STANDARDS CONFORMANCE : SVID3 fsdb − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 299 Print summary of commands that display [modify|format] the file system. help print Print summary of commands that display [modify|format] the file system. Escape to shell. Pipe output of to a shell command. fsdb Quit. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 300 Print as intent-log records. Print as inodes. List state table blocks. Print as typed extent descriptors. Print as directory entries. dent Print as a directory block. Print as a directory header. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 301 Inode change time field (microseconds). Inode modification time field (seconds). Inode modification time field (microseconds). Inode allocation flags field. Inode generation count field. Inode mapping type field. Inode fixed extent size field. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 302 • current attribute-inode allocation-unit (aiau) position These are used by various commands. (The au positions are only supported on the Version 2 disk fsdb layout.) The following commands are supported: − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 303 (iau) position. Set the current inode allocation unit posi- tion to the resulting offset. If it is the last command on a line, print the inode − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 304 Set the contents of the given inode field to the specified number. The current inode specifies the inode list entry to be modified. The symbols representing inode fields are listed above. − 6 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 305 Changes the inumber for the seventh directory slot in the root directory to three (also shows how to combine several operations on one command line) 23i.im.d5 Prints the sixth directory entry in the immediate area of inode 23. − 7 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 306 Always run a file system check (see fsck(1M)) after using the command to modify a file system. (Use fsdb fsck -o full,nolog Some aspects of apply to a specific VxFS disk layout version. fsdb SEE ALSO fsck_vxfs(1M), fsdb(1M). − 8 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 307 filesystem, the system should be in single-user mode and should be re- booted immediately afterwards, using reboot -n AUTHOR fsirand was developed by Sun Microsystems, Inc. SEE ALSO statfs(2). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 308 Find the type of the file system on a logical volume, /dev/vg00/lvol6 fstyp /dev/vg00/lvol6 Find the file system type for a particular device file and also information about its super block: fstyp -v /dev/dsk/c1t6d0 SEE ALSO stat(2), statvfsdev(3C). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 309 This option allows the client to specify a reserved port. Note, allowing usage of reserved ports can result in the misuse of . The security ramifications should be ftpd − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 310 Sets the server to listen on a data port and wait for a connection LPSV Make a directory Show last modification time of file MDTM Specify data transfer mode MODE − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 311 Data channel protection level (level ’C’ only) PROT PBSZ Protection buffer size (has no effect) These commands are described in draft 8 of the FTP security extensions. The following non-standard or HP-UX specific commands are supported by the command: SITE Command Description Change umask.
  • Page 312 . However, if this is done, a set of relevant libraries must also be /sbin/ls copied under the directory . See the HP-UX Remote Access Services ˜ftp/usr/lib Administrator’s Guide for details of required libraries. The directory ˜ftp/usr/lib must be owned by root and mode 555 (not writable).
  • Page 313 ’s replies match the number but not the text. Restart marker reply. MARK yyyy mmmm where yyyy is a user process data stream marker, and mmmm is ’s equivalent marker ftpd − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 314 (’ftp’, other) authentication method (bitmask) 0 none 1 RFC931 Authentication authenticated user id (if available, ’*’ otherwise) WARNINGS The password is sent unencrypted through the socket connection. − 6 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 315 University of California, Berkeley and the Washington University, St. Louis, ftpd Missouri. SEE ALSO ftp(1), inetd(1M), chroot(2), send(2), sendfile(2), getusershell(3C), pam_authenticate(3), ftpaccess(4), ftpusers(4), group(4), inetd.conf(4), passwd(4), sis(5), xferlog(5). − 7 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 316 EXAMPLES Terminate all processes that are preventing disk drive 1 from being unmounted, listing the process ID and login name of each process being killed. fuser -ku /dev/dsk/c201d1s? − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 317 If it is not an NFS file system, treat it as a regular file. fuser machine1:/filesystem/2mount SEE ALSO ps(1), mount(1M), kill(2), signal(2). STANDARDS CONFORMANCE : SVID2, SVID3 fuser − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 318 WARNINGS generates no errors, even on garbage input. fwtmp FILES /usr/include/utmp.h /var/adm/wtmp /var/adm/wtmps SEE ALSO ed(1), acct(1M), acctcms(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), runacct(1M), acct(2), acct(4), utmp(4), wtmps(4). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 319 STANDARDS CONFORMANCE : SVID2, SVID3 fwtmp wtmpfix : SVID2, SVID3 − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 320 SIGHUP SIGHUP gated gated first performs a clean-up of all allocated policy structures. All BGP and EGP peers are flagged for deletion and the configuration file is re-parsed. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 321 WARNINGS contains provisions for BGP protocol, but it is not officially supported by HP at the present time. gated Some RIP version 2 features (RFC1388) are not currently supported: MIB and route tag. The optional OSPF version 2 (RFC1247) feature of TOS (type of service) based routing is not supported.
  • Page 322 Executing this command a second time should cause gated to terminate even if some pro- tocols have not yet fully shut down. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 323 This should force immediate termination unless something is very broken. The com- mand terminates with zero exit status when it detects that gated has terminated, non- zero otherwise. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 324 There is not yet any way to tell about systems which name their core dump other than core is a less common possibility). core.gated − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 325 If standard message catalogs are not installed on the system, all messages appear in English, which is standard NLS behavior. All European languages for CDE (Common Desktop Environment) are supported. For HP-UX 11i Version 1 this includes English, French, German, Italian, Spanish and Swedish. All prompts and logging messages are localized.
  • Page 326 DEPENDENCIES Compatibility This product is designed for compatibility with releases including and after HP-UX 11.00 running a Com- mon Desktop Environment (CDE). No attempt was made to support the Visual User Environment (VUE). Note: If language bundles are marked for removal it can cause a delay of several minutes in swagentd(1M) at the next system boot.
  • Page 327 The file size cannot be extended once the current reservation is exhausted. Reservations and fixed extent sizes are allocated in units of the file system block size. SEE ALSO setext(1M), vxfsio(7). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 328 Example 1: Display the maximum permitted privileges and privilege-aware flag of binary executable file /web/java # getfilexsec -P -f /web/java Sample output: /web/java: Flag: start_nil PermittedMaxPrivileges: CMPTREAD, CMPTWRITE SEE ALSO setfilexsec(1M), exec(2), compartments(5), privileges(5). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 329 This allows for changing the application window id in one central location, rather than changing scripts with hard-coded values, in the event of a memory window collision between two applications. EXAMPLES # Extract the window id for "HP" from the /etc/services.window file # and start the program "HP_startup_script" with arguments arg1 and # arg2.
  • Page 330 EXAMPLES Example 1 Display the privilege sets and compartment of the current process: # getprocxsec Sample output: effective= BASIC permitted= BASIC retained= BASIC cmpt= init − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 331 # getprocxsec -f 801 Sample output: effective= FORK EXEC SESSION LINKANY permitted= FORK EXEC SESSION LINKANY retained= FORK EXEC SESSION LINKANY cmpt= web euid= non-zero SEE ALSO getfilexsec(1M), setfilexsec(1M), compartments(5), privileges(5). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 332 − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 333 • an absent field • a field without a value • a field with a zero value AUTHOR was developed by HP. getprpw FILES /etc/passwd System Password file − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 334 /tcb/files/auth/ Protected Password Database /tcb/files/auth/system/default System Defaults Database SEE ALSO modprpw(1M), prpwd(4), nsswitch.conf(4). − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 335 An error occurred. An error can be caused by an invalid option or because the user does not have permissions to perform the operation. EXAMPLES Example: Display all file system rules for the compartment named web: # getrules -f web − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 336 Sample output: Compartment Name: web : sealed Disallowed Privileges: POLICY File System Rules: ------------------ PERMISSION PATHNAME read, write, create, unlink SEE ALSO cmpt_tune(1M), setrules(1M), compartments(4), compartments(5), privileges(5). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 337 (see init(1M)). It is the second process in the series, getty init > > >shell, that ultimately connects a user with the HP-UX system. Initially, if the init getty login /etc/issue file exists, getty prints its contents to the user’s terminal, followed by the login message...
  • Page 338 HP2334 or HP2335 MultiMux. MRTS FILES /dev/ttyconf /etc/gettydefs /etc/issue SEE ALSO ct(1), login(1), stty(1), init(1M), ioctl(2), gettydefs(4), inittab(4), modem(7), termio(7). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 339 . The third parameter is the name of /var/uucp/.Log/LOGX25 the PAD being used. HP 2334A is the only one supported at this time. A typical invocation would be: /usr/sbin/getx25 x25.1 2 HP2334A WARNINGS...
  • Page 340 As many users may try to write the /etc/passwd file simultaneously, a passwd locking mechanism was deviced. If this locking fails after subsequent retrying, terminates. groupadd FILES /etc/group /etc/ptmp − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 341 SEE ALSO users(1), groupdel(1M), groupmod(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4). STANDARDS CONFORMANCE groupadd : SVID3 − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 342 If this locking fails after subsequent retrying, groupdel terminates. FILES /etc/group /etc/ptmp SEE ALSO users(1), groupadd(1M), groupmod(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4). STANDARDS CONFORMANCE groupdel : SVID3 − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 343 -n project22 project2 WARNINGS As many users may try to write the file simultaneously, a passwd locking mechanism was /etc/passwd deviced. If this locking fails after subsequent retrying, groupmod terminates. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 344 FILES /etc/group /etc/ptmp SEE ALSO users(1), groupadd(1M), groupdel(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4). STANDARDS CONFORMANCE groupmod : SVID3 − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 345 , all data for network-number is assumed to be in domain. The optional subnet mask mask can be used instead of supplying each network-number for a subnet using multiple options. mask must be in dot − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 346 By default, the serial number is incremented for a domain only if the data has changed (pointer (PTR) data only). This option forces the serial number to be incre- mented, even if the data has not changed. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 347 The only service listed is SMTP. smtp] Text (TXT) records are created for comments associated with hosts in the host table if is used. The com- ments do not include [no smtp] − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 348 Declare 15.18.2.1 as an authoritative name server for the domain in addition to the default server. div2.inc.com hosts_to_named -f option_file Option_file contains the following lines: -d div1.inc.com -n 15.18.1 -d div2.inc.com -n 15.18.2 − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 349 Pointer data for all network-numbers db.DOMAIN.in -addr Pointer data for a network-number db.NET db.IP6.INT Pointer data for a IPv6 network-number SEE ALSO named(1M). RFC 1034, RFC 1035. − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 350 /var/adm/syslog/syslog.log attention button event occurs after the daemon has been terminated following a successful start of the dae- mon, the messages are logged in the system log file. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 351 ) - Failed - retval( The specified oprn PCI OL* operation failed. oprn may be one of the following: POST_REPLACE POWER_OFF PRE_REPLACE errMsg Error opening /dev/olar in read-write mode : errno = − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 352 PWR_RAIL the error. oprnNum slotId - slot( ) - Setting power led to PWR_RAIL mode failed, olar_error_no = olarErrMsg − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 353 Installed default name of file where the daemon logs messages. See the DIAGNOSTICS section and the Daemon Startup subsection for details. /var/adm/syslog/syslog.log System log file. See the DIAGNOSTICS section for details. SEE ALSO olrad(1M), pdweb(1M), syslogd(1M), errno(2), fcntl(2), ioctl(2) − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 354 A devicefile specification containing a device part only specifies a raw device. A devicefile specification containing a file name implies that the device contains an HP-UX file sys- tem, and that the filename resides in that file system.
  • Page 355 Operation boot operation loads an object file from an HP-UX file system or raw device as specified by the optional devicefile. It then transfers control to the loaded image. Any missing components in a specified devicefile are supplied with a default. For example, a devicefile of...
  • Page 356 files it can load. It accepts only the HP-UX magic numbers EXEC- (0407), (0410), and (0413).
  • Page 357 (in hpuxboot): (display== , flags== A severe internal error has occurred. Report to your nearest HP Field Representative. hpux Boot bad magic The specified object file does not have a recognizable magic number. bad number in flags spec The flags specification in the...
  • Page 358 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. When power is applied to the HP-UX system processor, or the system Reset button is pressed, processor-dependent code (firmware) is executed to verify hardware and general system integrity (see pdc(1M)).
  • Page 359 Because an autoboot sequence is occurring, merely announces itself, finds and executes the file which, on an HP-UX system, requests that autoexecute be run with appropriate arguments. The following is displayed on the console. hpux 10 seconds expired.
  • Page 360 file name must be specified and can be no longer than 11 characters. Booting to from a local disk then requesting an image to be loaded from the LAN is not supported. ISL> hpux lan(32)/stand/vmunix Boot : lan(32;0x0)/stand/vmunix − 7 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 361 ). Listing the files over the LAN is not supported. backup good ISL> hpux ll /stand : disk(2/0/1.3.0.0.0.0.0;0)/stand dr-xr-xr-x 1024 ./ dr-xr-xr-x 14 2 1024 ../ drwxr-xr-x 1024 backup/ -rw-r--r-- 19 bootconf − 8 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 362 The next appends an image of the disk to the tape. The entire pro- cess takes about one hour for a 660 MB HP 2213 disk. To avoid later problems with after the disk is...
  • Page 363 The following commands can be given interactively from the keyboard or provided in an efi(4) AUTO file. [file] Load a kernel object file from an HP-UX file system and transfer control to the loaded boot image. (Note, the boot operation is position-dependent). Currently, hpux.efi...
  • Page 364 EXAMPLES Automatic Boot This is an overview of HP-UX automatic boot processes on Itanium-based systems. When power is applied to the HP-UX system processor, or the system Reset button is pressed, Itanium-based system firmware code is executed to verify hardware and general system integrity (see boot(1M)). After initializing the hardware, the EFI is launched.
  • Page 365 Run in standalone mode without assistance from . This mode is the least preferred inetd mode and not supported by HP. A bug or any other fatal condition in the server will make the server terminate, and it will then have to be restarted manually. charset Add the optional (according to the IDENT protocol) character set designator to the reply generated.
  • Page 366 /etc/services started manually by using the mode of operation. WARNINGS options are currently not supported on HP-UX. EXAMPLES Assume the server is located in /usr/lbin/identd . Add either of the following two lines into the file: /etc/inetd.conf...
  • Page 367 MB partitions are created. If the size of a partition is specified as 100% then all space remaining is assigned to that partition. An example partition description file is shown below: EFI 100MB HPUX 100% − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 368 Restore partition information from either a good primary or alternate header or table to the header or table that is bad: idisk -w -r /dev/rdsk/c1t4d0 AUTHOR idisk was developed by HP. SEE ALSO efi(4). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 369 A primary interface (see the Interface Naming subsection given below) can be marked down only if all the secondary interfaces on the same physical device are already down. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 370 (outer) header. It should be an address configured on an interface in the tunnel entry-point node. For tunnel types , the addr should be an IPv6 address. For ipinip6 ip6inip6 − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 371 For example, a host can configure its interface to connect to a class C supernet, 192.6, by configuring an IP address of 192.6.1.1 and a netmask of 255.255.0.0 − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 372 Manual configuration for a primary interface with link-local address ifconfig lan0 inet6 fe80::1 up Manual configuration for a secondary interface with link-local address ifconfig lan0:1 inet6 fe80::3 up − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 373 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.
  • Page 374 Messages indicate if the specified interface does not exist, the requested address is unknown, or the user is not privileged and tried to alter an interface’s configuration. AUTHOR was developed by HP and the University of California, Berkeley. ifconfig SEE ALSO netstat(1), lanscan(1M), route(1M), rtradvd(1M), inet(3N), inet6(3N), hosts(4), NDP(7P), routing(7).
  • Page 375 (see audusr(1M), userdbset(1M), and the user field in inetd.conf(4)). The HP-UX Standard Mode Security Extensions package (StdModSecExt) must be installed on the system in order to obtain the command. userdbset If a service is audit unaware (see audit(4)), it will not be audited if the user’s audit specification...
  • Page 376 This occurs if the original Internet daemon died without removing its semaphore. Next step: Use the command to remove the semaphore left by the previous Internet inetd -k daemon; then restart the daemon. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 377 If this error occurs, the service is temporarily unusable. After 10 minutes, inetd tries again to make the service usable by binding to the Internet socket for the service. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 378 However, the service corresponding to the error message will not be correctly configured. Next step: Fix the line with the error, then reconfigure the Internet daemon by executing the command. inetd -c − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 379 AUTHOR was developed by HP and the University of California, Berkeley. inetd NFS was developed by Sun Microsystems, Inc. FILES List of Internet server processes. /etc/inetd.conf /var/adm/inetd.sec 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).
  • Page 380 /usr/sbin/inetsvcs_sec is used to enable or disable secure internet services (SIS) by updating inetsvcs.conf(4) with the appropriate entry. SIS provide network authentication when used in conjunction with HP DCE security services, the HP Praesidium/Security Server, or other software products that provide a Kerberos V5 Network Authentication Services environment.
  • Page 381 Some common parameter sequences, their equivalents, and some terminal types terminfo termcap which commonly have such sequences, are: − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 382 With this, it is possible to compare descriptions for a terminal with the same name located in two different databases. This is useful for comparing descriptions for the same terminal created by different people. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 383 FILES Compiled terminal description database. /usr/lib/terminfo/?/* SEE ALSO captoinfo(1M), tic(1M), curses_intro(3X), terminfo(4). − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 384 Boot is invoked inside the HP-UX system as the last step in the boot procedure. Boot first init init performs any required machine-dependent initialization, such as setting the system context. Next, boot looks for the file to see if there is an entry of the type...
  • Page 385 The only processes running on the system will be kernel daemons started directly by the HP-UX kernel, daemon processes started from entries of type , the shell on the system console, and any processes started...
  • Page 386 FILES /dev/syscon /dev/systty /etc/default/security /etc/inittab /etc/ioctl.syscon /etc/utmp /var/adm/wtmp /var/adm/wtmps SEE ALSO csh(1), ksh(1), login(1), sh(1), who(1), getty(1M), rc(1M), utmpd(1M), ioctl(2), kill(2), setpgid(2), setsid(2), getutsent(3C), updatebwdb(3C), inittab(4), security(4), utmp(4). − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 387 STANDARDS CONFORMANCE : SVID2, SVID3 init − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 388 If this option is omitted, npty defaults to 60 for the drivers. ptym ptys − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 389 0 to 15. device A address unit within a device, for example, the unit in a HP-FL device or the LUN in a SCSI device. It is represented as a decimal number with a typical range of 0 to 15.
  • Page 390 No output, 16 bit linear format card audioNU_ rw-rw-rw- bin bin No output, Mu-law format autox0 schgr Special file names for autox0 schgr use the format: card target device surface − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 391 Character entry For disc3 instances, the following additional special files are installed: card target device floppy/c rw-r----- bin sys Block entry − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 392 The following special file is installed: inet_clts rw-rw-rw- root sys inet_cots The following special file is installed: − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 393 For each instance of an 16-channel card, the following special files are installed: card port rw--w--w- bin bin port: , direct connect − 6 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 394 The following special files are installed: ps2kbd rw-rw-rw- bin bin Autosearch for first ps2 keyboard ps2mouse rw-rw-rw- bin bin Autosearch for first ps2 mouse ps2_0 rw-rw-rw- bin bin ps2 port 0 − 7 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 395 For each card instance, the following special files are installed: card port rw--w--w- bin bin port: , direct connect schgr autox0 sdisk disc3 sflop pflop − 8 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 396 The following special file is installed: rw-rw-rw- root sys telm The following special file is installed: telnetm rw-rw-rw- root sys tels The following special files are installed: number pts/t rw-rw-rw- root sys − 9 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 397 Install special files for all new devices belonging to the device class: insf -C tty Install special files to the new device added at hardware path 2/4.0.0 insf -H 2/4.0.0 − 10 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 398 AUTHOR insf was developed by HP. FILES I/O system special file /dev/config /etc/ioconfig I/O system configuration database SEE ALSO kcmodule(1M), ioscan(1M), lsdev(1M), lssf(1M), mknod(1M), mksf(1M), rmsf(1M). − 11 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 399 If there is no entry for file in the file the default directory list is further scanned to determine where file is to be /etc/syslist located. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 400 /etc/syslist /etc/syslist used by local sites. WARNINGS cannot create alias links for a command (for example, vi(1) is an alias link for ex(1)). install SEE ALSO make(1), cpset(1M). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 401 CPUs become available. By default, HP-UX will distribute interrupts at boot time based on the round robin method. Each interrupt owned gets assigned to the available CPUs in a round robin fashion. However, CPU migrations, which may happen because of Work Load Manager (WLM) configuration, vPar administration activity, and Instant...
  • Page 402 , which assigns interrupts to the available CPUs in a round_robin 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.
  • Page 403 CPUs that should be handling interrupts. Balancing of interrupts will start only if the number of CPUs − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 404 The cell number of the cell to which the card is connected. card cell cpu ID An integer value representing the identity of the CPU to which the card’s interrupt is assigned. − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 405 From CPU ID (CPU H/W path) The CPU id and CPU hardware path to which the interrupt is currently bound and the interrupt will be migrated off this CPU. − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 406 MP-safe driver. Add the line ’hardware_path -1’ (hardware_path intr_id) to INTCTL_HW_IGNORE section of the configuration file /etc/intctl.conf to avoid getting this message." − 6 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 407 CPUs, it is desirable not to set this value to more than 75. The option -o trig :balance_on_cpu:distribute_to_cpu can be used to override this setting tem- porarily. Example: INTCTL_BALANCE_TRIGGER 60 80 − 7 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 408 If care is not taken to redistribute the interrupts properly, it could lead to a decrease in the overall system performance by overloading some pro- cessors and by not optimally utilizing the remaining processors. − 8 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 409 FILES configuration file. See the Interrupt Configuration File section above. /etc/intctl.conf intctl SEE ALSO intrbald(1M), ioscan(1M), limits(5). − 9 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 410 The daemon will check if the system requires any interrupt balancing after this interval. Inter- val is specified in seconds; valid range is 5 seconds to seconds (see limits(5)). The INT_MAX default is 60 seconds. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 411 file. See the intrbald rc Configuration File section above. /sbin/init.d/intrbald_init intrbald rc script. /sbin/rc2.d/S900intrbald_init start symbolic link. kill symbolic link. /sbin/rc1.d/K100intrbald_init daemon log file. /var/adm/intrbald.log SEE ALSO intctl(1M), ioscan(1M), rc(1M), limits(5). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 412 DIAGNOSTICS Most of the diagnostic messages from are self-explanatory. Listed below are some messages ioinit deserving further clarification. Errors cause to halt immediately. ioinit − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 413 AUTHOR ioinit was developed by HP. FILES /stand/ioconfig /etc/ioconfig SEE ALSO init(1M), insf(1M), ioscan(1M), rmsf(1M), inittab(4), ioconfig(4). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 414 . This option does not require superuser privileges. driver Specify the software driver to bind at the hardware path given by the option. Must be used with the option. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 415 Hardware component is bus converter or bus adapter BUS_NEXUS Hardware component is an interface card INTERFACE Hardware component is a device DEVICE bus type Bus type associated with the node. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 416 Forcibly bind driver tape2 at the hardware path 8.4.1 ioscan -M tape2 -H 8.4.1 AUTHOR was developed by HP. ioscan FILES /dev/config /dev/* SEE ALSO kcmodule(1M), lsdev(1M), olrad(1M), ioconfig(4). − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 417 For the display codes, are informative only. indicate errors, some of which are fatal CE0x CE1x CE2x and cause the system to halt. Other errors merely cause to display a message. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 418 Internal inconsistency: iodc_entry_init - console - CE24 FATAL CE25 Internal inconsistency: iodc_entry_init - boot device - FATAL Utility file header inconsistent: Bad aux_id. CE26 Bad utility file type. CE27 SEE ALSO boot(1M), pdc(1M). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 419 To explicitly load the mapping for an keyboard: ITF_French HP-HIL itemap -h -l ITF_French To explicitly load the mapping for a keyboard: PS2_DIN_French PS2 DIN itemap -p -l PS2_DIN_French − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 420 To generate a list of the available keyboard mappings: /usr/contrib/bin/X11/keymap_ed -l FILES /usr/contrib/bin/X11/keymap_ed Keymap database editor System keymap database /etc/X11/XHPKeymaps /etc/kbdlang Contains mapping name configured for PS2 DIN keyboards SEE ALSO ps2(7), termio(7), keymap_ed(1X111). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 421 DESCRIPTION kclog is the administrative command for the HP-UX kernel configuration log file. The log file is automat- ically 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...
  • Page 422 SEE ALSO kconfig(5), kcmodule(1M), kconfig(1M), kctune(1M). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 423 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. This command can work with any saved kernel configuration, or with the currently running kernel configuration, depending on the use of the...
  • Page 424 HP makes to the "best" best state for a module, in a patch or a future release of HP-UX. uninstall The module will be put into the state. In addition, all of the module’s unused tunable settings and other associated configuration data will be purged from the...
  • Page 425 The module supports the state auto The layout and content of the default output may change in future releases or patches of HP-UX. Scripts or applications which need to parse the output of kcmodule must use the option for parsable output.
  • Page 426 To stop using a module when the system reboots: $ kcmodule -h module=unused To bind a module into the static kernel: $ kcmodule module=static SEE ALSO kclog(1M), kconfig(5), Managing Kernel Configurations White Paper available http://www.hp.com/products1/unix/operating/infolibrary − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 427 (Note: if additional configuration data are available in future releases of HP-UX, they will be included as well.) Forces a backup of the currently running configuration before making the requested change.
  • Page 428 The exported file can be later imported using on this kconfig -i system or any other system with compatible HP-UX software. See kconfig(5) and system (4) for more information about system files. Tells kconfig to proceed with the requested operation despite its potentially dangerous nature.
  • Page 429 $ kconfig -l nighttime To use the "approved" configuration at next boot: $ kconfig -n approved To discard changes being held pending for next boot: $ kconfig -H − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 430 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). − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 431 Print the directory containing the kernel for "str1013": $ kcpath -d str1013 /stand/str1013 Print the pathname of the kernel executable for "str1013": $ kcpath -x str1013 /stand/str1013/vmunix SEE ALSO kconfig(5). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 432 DESCRIPTION kctune is the administrative command for HP-UX kernel tunable parameters. It gives information about tunable parameters and their values, and makes changes to tunable values. This command can work with any saved kernel configuration, or with the currently running kernel configuration, depending on the use of the...
  • Page 433 Default State for Tunables The default value for a tunable is not necessarily fixed. Default values can change between HP-UX releases, or in patches. Some tunables have default values that are re-computed at boot time, or when there is a change to the hardware configuration of the system.
  • Page 434 This field contains a ’y’ if the tunable is set to its default value, or an ’n’ otherwise. If all three of , and are ’y’, the tunable is being default auto_default canauto automatically tuned. − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 435 The tunables which have nothing in the changes column can only be changed with a reboot. The layout and content of the default output may change in future releases or patches of HP-UX. Scripts or applications which need to parse the output of...
  • Page 436 $ 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 − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 437 This program cannot be run interactively. AUTHOR keyenvoy was developed by Sun Microsystems, Inc. SEE ALSO keyserv(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 438 This option is useful if the /etc/.rootkey file ever gets out of date or corrupted. AUTHOR was developed by Sun Microsystems, Inc. keyserv FILES /etc/.rootkey SEE ALSO keylogin(1), keylogout(1), publickey(4). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 439 . The use of shutdown is recommended over using by itself (see shutdown(1M)). killall FILES /usr/sbin/shutdown SEE ALSO kill(1), ps(1), fuser(1M), shutdown(1M), signal(5). STANDARDS CONFORMANCE killall : SVID2, SVID3 − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 440 . Advanced system administrators can put into sendmail /usr/sbin their search path and just reference ‘‘ ’’ to start , and to stop sendmail -bd -q30m sendmail killsm SEE ALSO sendmail(1M). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 441 Kernel Logging facility. Kernel Logging is a high- availability feature that gives system administrators the ability to collect the information necessary to diag- nose problems with the HP-UX kernel while the system is running. is used to specify the levels of events to be logged and the kernel subsystems that will write messages to memory or disk.
  • Page 442 • picture (snapshot) tool is on or off. • current size of the Kernel Logging queue. • number of messages currently held in the queue. • name of the log file used by write-to-disk. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 443 Display the information about the Kernel Logging facility. kl -i Change level to log disaster, error and warning messages for all subsystems. kl -l w all Request a picture (snapshot) of the collected log messages. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 444 /etc/nettlgen.conf unchanged. Take a picture (snapshot) and start write-to-disk logging with a maximum file size of 128K. kl -p -w on 128K AUTHOR was developed by HP in partnership with NEC. FILES Kernel log pseudo-device file. /dev/kernlog /etc/nettlgen.conf NetTL and KL subsystem configuration file.
  • Page 445 DESCRIPTION command is obsolete and superseded by the kcpath(1M) command. Users are encouraged to kmpath migrate to kcpath(1M). The command will be removed in a future release of HP-UX. The kmpath behavior of some of kmpath ’s options have changed and they are noted in the appropriate sections below.
  • Page 446 DESCRIPTION kmtune is an obsolete command that is replaced by kctune(1M). Users are encouraged to migrate to kctune(1M). will be removed in a future release of HP-UX. The behavior of some of ’s kmtune kmtune options have changed and they are noted in the appropriate sections below.
  • Page 447 Results of query requests are sent to stdout. Error and warning messages are sent to stderr. FILES Log of all kernel configuration changes /var/adm/kc.log SEE ALSO kclog(1M), kconfig(5), kctune(1M), settune(2), tuneinfo2(2), and the individual tunable parameter manual pages in section 5. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 448 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 was developed by Hewlett-Packard Company. krs_flush SEE ALSO krsd(1M), krs(5). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 449 Set the delay time to seconds seconds. This is the time interval between attempted saves of persistent data. The default interval is 300 seconds. AUTHOR was developed by Hewlett-Packard Company. krsd SEE ALSO krs_flush(1M), krs(5). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 450 Turn the 802.5 source routing option for the interface corresponding to -B on PPA. The default value for HP devices is . You must have superuser privileges. Clear the LAN interface network statistics registers to zero for the interface corresponding to PPA. You must have superuser privileges.
  • Page 451 Test Selection Mode Menu This menu is entered when Menu Mode is first selected. The available Test Selection Mode commands are: Select the LAN Interface Test Mode menu. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 452 files or through the interface. AUTHOR lanadmin was developed by HP. SEE ALSO netstat(1), lanscan(1M), linkloop(1M), ping(1M), lan(7), vlan(7). IETF Requests for Comments: RFC 1213, RFC 1398, RFC 2863. − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 453 • Network Management ID. • MAC Type. • HP DLPI Supported. Indicates whether or not the lan device driver will work with HP’s Common Data Link Provider Interface. • DLPI Major Number. • Extended Station Address for those interfaces which require more than 48 bits. This is displayed only when the option is selected.
  • Page 454 SEE ALSO ifconfig(1M), ioscan(1M), lanadmin(1M), linkloop(1M), lan(7), vlan(7). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 455 Displays the distinguished name of the LDAP-UX configuration profile and LDAP server which hosts that profile. Format will be: disginguishedName host hostname port If SSL or TLS is required to download the profile, host will be replaced with hostssl − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 456 Displays the recommended list of attributes that an interactive management tool should consider making available for modification for the specified entry. Note that specification of the option is required in order for this operation to function properly. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 457 Messages will follow the below format: code ERROR: message − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 458 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). − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 459 2. Automatic profile downloading. Updates the LDAP client configuration profile by downloading a newer copy from the directory server as the current one’s profileTTL (Time To Live) expires. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 460 Invoke help. Kill the LDAP client daemon. This option sends a signal to the currently running ldapclientd daemon, causing it to exit gracefully. This option is equivalent to: − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 461 WARNINGS Whenever the system is rebooted, launches if [ ] has in the ldapclientd StartOnBoot enable=yes configuration file, ldapclientd /etc/opt/ldapux/ldapclientd.conf − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 462 The LDAP client configuration profile translated from , in binary format. ldapux_profile.ldif /opt/ldapux/config/setup LDAP-UX client setup tool to configure LDAP-UX client services. SEE ALSO rc(1M), syslog(3C), ldapclientd.conf(4), rc.config(4), ldapux(5). − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 463 DESCRIPTION ldapugadd allows HP-UX administrators to add new POSIX accounts or groups to an LDAP directory server (see first and second syntaxes in SYNOPSIS above). Furthermore, can be used to ldapugadd modify the file to set defaults for creation of new users or groups /etc/opt/ldapux/ldapug.conf...
  • Page 464 Sets new default minimum and maximum ranges that will use when provi- ldapugadd sioning a group ID number for newly created group entries. The gid range is inclusive of − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 465 − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 466 Required Argument. Contains the POSIX-style textual login name for the new user entry. This user name should conform to HP-UX login name requirements. Please refer to passwd(4) for login name requirements. uid_name is a required parameter, and it must follow all command-line options and must precede the attr value parameters (if provided).
  • Page 467 LDAP-UX. Use of is not recommended, and will not succeed if the directory server does not support the memberUid attribute. − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 468 Required Argument. Contains the POSIX-style textual group name for the new group entry. This name should conform to HP-UX group name requirements. Please refer to group(4) for group name requirements. gid_name is a required parameter, must follow all command-line options and must precede the attr value parameters (if provided).
  • Page 469 DN is unique, the first component of the DN (the Relative Distinguished Name or RDN) must be able to construct a unique value for each new entry. Thus the RDN should be constructed using a name − 7 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 470 A short name is defined as the distinguishing portion of the template file name. For example, for the passwd service, if the short name "operator" is specified, the resulting template file would be /etc/opt/ldapux/ug_templates/ug_passwd_operator.tmpl − 8 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 471 • As with any POSIX-type identity, the HP-UX operating system uses the specified user and group ID number to determine rights and capabilities in the OS as well as in the file system.
  • Page 472 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. − 10 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 473 To resolve this, the pwgrd caches must be flushed. ldapclientd SEE ALSO ldapcfinfo(1M), ldapugdel(1M), ldapuglist(1M), ldapugmod(1M), ldapux(5). − 11 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 474 If the optional port is unspecified, the port number is assumed to be 389 or 636 for SSL connections ( ). Refer to Binding to the Directory Server below for additional − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 475 • Since Active Directory schema and RFC2307 schema conflict in the shared definition of the homeDirectory attribute, ldapugdel will never remove the homeDirectory attri- bute if determines the entry being modified is stored on an Active ldapugdel − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 476 The rights to delete or modify existing LDAP directory entries under the requested subtree, along with removal of the required attributes in that entry must be granted to the − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 477 Specified the DN of a user with sufficient directory server privilege to delete users LDAP_BINDDN and/or groups in the LDAP directory server. While this variable is optional, if is specified, must also be specified. LDAP_BINDDN LDAP_BINDCRED − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 478 UTF-8 ldapugdel character set. • Refer to limitations described under above in reference to interoperability with Microsoft Services for Unix. SEE ALSO ldapcfinfo(1M), ldapugadd(1M), ldapuglist(1M), ldapugmod(1M), ldapux(5). − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 479 Note that when a field has been mapped to multiple attributes, those attributes will appear in the order as defined in the LDAP-UX configuration. option does not apply if the option is specified. Display the password or group output in the following formats: − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 480 Provides a simplified method for discovering a single account or group. Use of is the same as name for accounts and cname for groups. -f"(uid= )" -f"(cn= )" − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 481 • Attributes that are not part of the LDAP-UX configuration profile mapping will not be modified. Refer to RFC2307: An Approach for Using LDAP as a Network Information Service for the list of attributes that may be mapped. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 482 LDAP-UX proxy user. This limitation prevents regular HP-UX users from discovering LDAP data that was previously not displayed by LDAP-UX. Use of the attr parameter requires either that the user has permission to use the LDAP-UX Administrator Credential ( ) or that the user specifies an...
  • Page 483 -t passwd following fields will be returned: userPassword uidNumber gidNumber homeDirectory loginShell gecos When the option is specified, the following fields will be returned: -t group userPassword − 5 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 484 • The passwords are not used to authenticate users (such as when X.500 certificates). • The password is not stored in the LDAP directory server. The password might be stored in a third-party repository such as a Kerberos KDC. − 6 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 485 • The password is stored in a format un-parsable by HP-UX (such as SSHA, the Salted Secure Hash Algo- rithm). If the password is not available to ldapuglist , the userPassword field will not be displayed. If the option is specified, the password field will contain the "x"...
  • Page 486 Note that will map DN-style membership to account names. ldapuglist # ldapuglist -t group -f "(cn=mygroup1)" dn: cn=mygroup1,ou=groups,ou=IT,dc=FutureWidges,dc=com cn: mygroup1 gidNumber: 542 memberUid: mdiaz memberUid: apierce memberUid: bjones − 8 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 487 • will not perform conversion of the locale character set to/from the UTF-8 character set. ldapuglist − 9 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 488 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). − 10 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 489 [...]] attrval][...]] DN | group_name} [[attr value][...]] DESCRIPTION allows HP-UX administrators to modify existing POSIX accounts or groups in an LDAP direc- ldapugmod tory server. When using extended options, ldapugmod can also be used to modify arbitrary attributes for user or group entries.
  • Page 490 Note: to be consistent with the Name Service Switch (see switch(4)), the term passwd (instead of user) is used to represent LDAP user entries which contain POSIX account- related information. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 491 If a numeric group name can not be found that matches the argument specified, checks to see if the value is numeric and then checks to see if the ldapugmod − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 492 If there are more values that mapped attributes, extra values will be combined in the last mapped − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 493 Contains the POSIX-style textual login name of the user entry to modify. This user name should conform to HP-UX login name requirements. Please refer to passwd(4) for login name requirements. The uid_name is a required parameter unless the option is specified.
  • Page 494 • Note that as with any POSIX-type identity, the user and group ID number specified is used by the HP- UX operating system to determine rights and capabilities in the OS as well as in the file system.
  • Page 495 This mode of operation applies to all command argument specified values, including , and − 7 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 496 UTF-8, and assumed to be part of the ISO-10646 ldapugmod character set. ldapugmod will not perform conversion of the locale character set to/from the UTF-8 char- acter set. − 8 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 497 SEE ALSO ldapcfinfo(1M), ldapugadd(1M), ldapugdel(1M), ldapuglist(1M), ldapux(5). − 9 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 498 Executing this command on a PA-RISC1.1 machine will result in an error message indicating the PA- RISC1.1 library is already installed. RETURN VALUES Upon successful completion, libcadmin returns zero (0). Otherwise a one (1) is returned. AUTHOR was developed by HP. libcadmin − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 499 Not all file systems permit linking to directories. SEE ALSO ln(1), rm(1), link(2), unlink(2). STANDARDS CONFORMANCE : SVID2, SVID3 link : SVID2, SVID3 unlink − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 500 Total number of frames received without errors. frames with length error Received frame length does not match transmitted frame length. If the verbose option is set, the length received is printed. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 501 The number of bytes in rif in the option is odd. The number of bytes must be even. AUTHOR was developed by HP. linkloop SEE ALSO lanadmin(1M), lanscan(1M), lan(7). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 502 Information in this category affects behavior of regular-expressions and NLS LC_COLLATE string-collation functions. LC_CTYPE Information in this category affects behavior of character classification and conversion functions. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 503 Warnings occurred and the locale was successfully created. The locale specification exceeded implementation limits or the coded character set used is not supported. >3 Warnings or errors occurred, and no output was generated. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 504 In addition to the PA-RISC files, the following files are present on Itanium-based systems. /usr/lib/nls/loc/hpux32/src /usr/lib/nls/loc/hpux64/src /usr/lib/nls/loc/hpux32/charmaps /usr/lib/nls/loc/hpux64/charmaps /usr/lib/nls/loc/hpux32/methods /usr/lib/nls/loc/hpux64/methods /usr/lib/nls/loc/hpux32/locales/language[_territory ][.codeset ] /usr/lib/nls/loc/hpux64/locales/language[_territory ][.codeset ] SEE ALSO locale(1), setlocale(3C), charmap(4), localedef(4), environ(5). STANDARDS CONFORMANCE localedef : XPG4, POSIX.2 − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 505 WARNINGS variable will be obsoleted in HP-UX 11i V3, and will use 4045 as a hard coded LOCKD_PORT lockd fixed port. For this reason, HP recommends using 4045 for LOCKD_PORT AUTHOR was developed by Sun Microsystems, Inc., and HP. lockd SEE ALSO statd(1M), fcntl(2), lockf(2), signal(2).
  • Page 506 List all system logins in the alternate format. FILES HP-UX password file. /etc/passwd /etc/group HP-UX group file. SEE ALSO listusers(1), passwd(1), group(4), passwd(4), prpwd(4), shadow(4). STANDARDS CONFORMANCE : SVID3 logins − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 507 LP administrator lp. Note that there is nothing to stop an administrator from associating the same device with more than one printer. If only the options are supplied, lpadmin can be used while the scheduler is running. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 508 Email notification is enabled by default. To modify or query the email notification status, use lpadmin with the following options: /usr/sbin/lpadmin -s enable disable Following is a description of each of these options: Print the email notification status. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 509 , it will use the model laserjet interface through /dev/lp after the command: /usr/sbin/lpadmin -plp1 -mlaserjet -v/dev/lp Assuming a printer on a remote system , the command: system2 − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 510 HP-UX systems do not have the ability to distribute print jobs in this way. Printing to a class of printers on a remote system (...
  • Page 511 WARNINGS performs its operation on the local system only. lpana AUTHOR lpana was developed by HP. FILES /var/adm/lp/lpana.log SEE ALSO lp(1), lpstat(1), lpadmin(1M), lpsched(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 512 FILES /var/spool/lp/* /var/adm/lp/* /etc/lp/* /usr/lib/lp/* SEE ALSO accept(1M), cancel(1), enable(1), lp(1), lpadmin(1M), lpana(1M), lpstat(1), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 513 For a complete list of lsdev available drivers, please run (see sam(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 514 AUTHOR was developed by HP. lsdev SEE ALSO sam(1M). Section 7 entries related to specific device drivers. Managing Systems and Workgroups manual. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 515 2 bpi 1600 att address 8.6.1 rmt/c2t6d0m AUTHOR was developed by HP. lssf FILES /dev/config I/O system special file /etc/ioconfig I/O system configuration database SEE ALSO insf(1M), kcmodule(1M), mksf(1M), rmsf(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 516 ( If the name is longer (in bytes) than the current display width, replace the last print- able character of the name with a plus sign ( − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 517 If this file is present, the system is enabled for long user and group names; /etc/default/lugname otherwise, it is not. This file contains the default display width, as set with option. SEE ALSO getconf(1), sysconf(2). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 518 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. cannot be performed if the volume group is activated in shared mode. lvchange...
  • Page 519 To override this failure, use the -D f option. If a logical volume with the distributed allocation policy has at least two consecutive logical extents same physical volume, then − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 520 flag selected. However, regardless of the selection, no new relocations will be done. If the volume group is activated on an different HP-UX release that provides the bad block relocation feature, bad blocks may be relocated depending upon the value of this flag.
  • Page 521 • data that an application itself will automatically reconstruct; for example, a raw logical volume for which a database keeps a log of incomplete transactions. SEE ALSO lvcreate(1M), lvdisplay(1M), lvextend(1M). − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 522 [ 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 operating system. cannot be performed if the volume group is activated in shared mode. lvcreate...
  • Page 523 Set the number of disks to stripe across. stripes must be in the range the number of disks in the current volume group. If is provided and − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 524 flag selected. However, regardless of the selection, no new relocations will be done. If the volume group is activated on a different HP-UX release that provides the bad block relocation feature, bad blocks may be relocated depending upon the value of this flag.
  • Page 525 Assume that each physical volume group has 2 physical volumes. Assume that the first physical volume in each pvg has 3 extents free and the second physical volume in each pvg has 2 extents free. − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 526 The creation of striped and mirrored logical volume(s) may prevent the import and activation of the volume group on an earlier HP-UX release. See lvcreate (1M) on the earlier release to see if it explicitly states that striping and mirroring is supported. If the striped and mirrored logical volumes of the volume group are removed or un-mirrored, the volume group becomes again compatible with the older HP-UX releases.
  • Page 527 SYNOPSIS /usr/sbin/lvdisplay ] 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 command displays the characteristics and status of each logical volume specified by lvdisplay lv_path.
  • Page 528 Number of physical extents allocated on the physical volume. PE on PV --- Logical extents --- The mapping of logical extents onto physical extents, displayed in the following columns: − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 529 Display all the available information about a logical volume, but display instead of in the pvkey PV Name status and distribution map. lvdisplay -v -k /dev/vg01/lvol3 SEE ALSO lvchange(1M), lvcreate(1M), lvextend(1M), lvreduce(1M), pvdisplay(1M), vgdisplay(1M). − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 530 [ 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.
  • Page 531 First, increase the size of the logical volume. lvextend -L 400 /dev/vg06/lvol3 Unmount the file system. umount /dev/vg06/lvol3 Extend the file system to occupy the entire (larger) logical volume. extendfs /dev/vg06/rlvol3 Remount the file system. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 532 The creation of striped and mirrored logical volume(s) may prevent the import and activation of the volume group on an earlier HP-UX release. See lvcreate (1M) on the earlier release to see if it explicitly states that striping and mirroring is supported. If the striped and mirrored logical volumes of the volume group are removed or un-mirrored, the volume group becomes again compatible with the older HP-UX releases.
  • Page 533 , or vgreduce (see lvextend(1M), lvmerge (1M), lvreduce(1M), lvsplit(1M), pvmove (1M), lvremove (1M), vgextend(1M), and vgreduce(1M)). Starting with HP-UX Release 10.0, this is done automatically. The boot information stored on disks assumes a certain ordering of disks listed in . The...
  • Page 534 "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 535 -n root -L 64 -C y -r n /dev/vglvmroot Create a logical volume that will be used as primary swap. This volume should be contiguous. lvcreate -n swap -L 64 -C y /dev/vglvmroot − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 536 -d /dev/vg00/dump2 lvlnboot -d /dev/vg00/dump3 WARNINGS Dump Volume Warnings At the HP-UX 11.00 release and forward, the lvlnboot command will support any size dump device depending upon the IODC firmware addressability of the system. If the configured dump logical volume is out of the range of what the firmware can address, the...
  • Page 537 NAME lvmchk - check if disk volume is under HP Logical Volume Manager (LVM) control SYNOPSIS /usr/sbin/lvmchk pv_path DESCRIPTION command returns information about the disk volume specified by the pv_path parameter. lvmchk Options lvmchk recognizes the following option: pv_path The device path name of a disk volume.
  • Page 538 [ ] 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. cannot be performed if the volume group is activated in shared mode. lvmerge DESCRIPTION command merges two logical volumes of the same size.
  • Page 539 -s /dev/vg01/lvol1b /dev/vg01/lvol1 WARNINGS does not check to guarantee that the allocation policy of master_lv_path is preserved after the lvmerge merge. SEE ALSO lvcreate(1M), lvextend(1M), lvsplit(1M), lvsync(1M), vgsync(1M). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 540 Create files /tmp/LVMMIGRATE /tmp/LVMMIGRATE.CFG lvmmigrate -v Display a detailed list of the disks, file systems, and possible raw data sections present in the current sys- tem. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 541 Caution: All data on disks being used for reinstallation must be backed up to a separate device because the install process overwrites data on all disks used in the new root volume group. SEE ALSO lifinit(1). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 542 /usr/sbin/lvreduce -k -m 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. lvreduce cannot be performed if the volume group is activated in shared mode.
  • Page 543 To reduce a logical volume being used for swap, that swap area must not be currently in use. SEE ALSO lvcreate(1M), lvdisplay(1M), lvextend(1M), pvchange(1M), pvdisplay(1M). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 544 "C" (see environ(5)). EXAMPLES Remove a logical volume without requiring user confirmation: lvremove -f /dev/vg01/lvol5 WARNINGS This command destroys all data in the specified logical volumes. SEE ALSO lvchange(1M), umount(1M). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 545 -v -d lvol3 /dev/vg00 Specify that volume group should no longer be a root volume group. Primary swap and dump /dev/vg00 are also removed. lvrmboot -r /dev/vg00 SEE ALSO lvlnboot(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 546 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. cannot be performed if the volume group is activated in shared mode.
  • Page 547 After a two-way mirrored logical volume has been split once, it cannot be split again without merging the logical volumes using the lvmerge command (see lvmerge (1M)). SEE ALSO lvcreate(1M), lvextend(1M), lvmerge(1M). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 548 /usr/sbin/lvsync ] 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 command synchronizes the physical extents of each logical volume specified by lv_path. Syn- lvsync chronization occurs only on physical extents that are stale mirrors of the original logical extent.
  • Page 549 file or binding a socket to a privileged port (typically any port less than 1024). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 550 Notes is a daemon for lightweight resolvers, not a lightweight daemon for resolvers. lwresd FILES /etc/lwresd.conf Default configuration file Default process-id file /var/run/lwresd.pid SEE ALSO named(1M). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 551 Create a special dbm record with the key and the value nis_domain_name. YP_DOMAIN_NAME Replace the value of the special dbm record whose key is with YP_MASTER_NAME nis_master_name. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 552 . The keys in the database are netgroup(4) names, and the values are the remainders of the lines in group file. /etc/netgroup AUTHOR was developed by Sun Microsystems, Inc. makedbm SEE ALSO domainname(1), ypinit(1M), ypmake(1M), yppoll(1M), gethostname(2), netgroup(4), ypfiles(4). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 553 Dump (unmap) the content of the database to standard output. Verbosely print what it is doing. SEE ALSO sendmail(1M). HISTORY makemap command appeared in 4.4BSD. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 554 The neighbor is reached via tunnel. The neighbor is on the same network/subnet. The interface is down. Please see mrouted(1M) for metrics thresh EXAMPLES Querying camden.cup.hp.com for the multicast router connection information. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 555 -g option: hpntcbs.cup.hp.com map-mbone -g hpntcbs.cup.hp.com GRAPH "Multicast Router Connectivity: Wed Feb 1 17:34:59 1995"=UNDIRECTED 252537488 {$ NP 1440 1060 $} "hpntc1t.cup.hp.com*" 252538974 {$ NP 940 1120 $} "hpntcbs.cup.hp.com" 252537488 "10/1E" 252539807 "1/1P" 252539807 {$ NP 1590 1150 $} "hpntc1h.cup.hp.com*"...
  • Page 556 For example, -sS1 specifies a Storage element in slot number 1. This option cannot be specified more than − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 557 Note for some autoloaders or libraries: The media must be unloaded using the command mt offline prior to using the command. DEPENDENCIES command supports all HP-supported devices that comply with the SCSI-2 Medium Changer com- mand specification. − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 558 For devices connected to SCSI interface cards (PCI), the sctl pass-through driver must be configured. See scsi_ctl(7). AUTHOR was developed by Hewlett-Packard. FILES Default pass-through device file. /dev/scsi/3 SEE ALSO mt(1), scsi(7), scsi_ctl(7). − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 559 . The changes will not take effect at next boot unless that kernel configuration was already marked for use at next boot. system_file Specify the HP-UX system description file. If this option is not specified, the system file /stand/system is used. For details see system (4).
  • Page 560 WARNINGS Do not manually modify the contents of the kernel configuration directories. FILES Default HP-UX system description file /stand/system SEE ALSO kconfig(1M), system(4), kconfig(5). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 561 For a device to be bootable, the LIF volume on that device must contain at least the (the ini- tial system loader) and (the HP-UX bootstrap utility) LIF files. If, in addition, the device is an LVM HPUX physical volume, the LABEL file must be present (see lvlnboot(1M) ).
  • Page 562 This option will also fail on a disk having large-file enabled HFS filesystem. device Install the boot programs on the given device special file. The specified dev- ice can identify either a character-special or block-special device. However, − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 563 (see hpux(1M)) AUTO used by LVM LABEL diagnostics tool diagnostics tool IOMAP SEE ALSO boot(1M), hpux(1M), hpux.efi(1M), isl(1M), lvlnboot(1M), mkfs(1M), newfs(1M), vxvmboot(1M), efi(4), lif(4). − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 564 file system on /dev/dsk/c1t2d0 mkfs -F hfs -m /dev/dsk/c1t2d0 AUTHOR mkfs was developed by HP and the University of California, Berkeley. FILES Specifies the default file system type. /etc/default/fs /etc/fstab Static information about the file systems.
  • Page 565 file system is not limited to 2 gigabytes (see mount_hfs(1M) and fsadm_hfs(1M)). Arguments mkfs recognizes the following arguments: special The file name of a special file. One of the following arguments can be included after special: − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 566 A mode token is a 6-character string. The first character specifies the type of the file. It can be one of the following characters: Regular file Block special file − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 567 /etc/group d--755 bin d--755 bin ---555 bin /usr/bin/sh L--555 bin /usr/bin/sh -u-555 root bin /usr/bin/su mailq l--777 bin /usr/sbin/sendmail sbin d--755 bin sendmail -ug555 root mail /usr/sbin/sendmail − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 568 -o largefile when confronted with large files. AUTHOR was developed by HP and the University of California, Berkeley. mkfs FILES /var/adm/sbtab List of locations of the superblocks for the created file system. The...
  • Page 569 file system perfor- mance. largefiles nolargefiles Controls the largefiles flag for the file system. If is specified, the bit is largefiles − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 570 512, the maximum number of inodes on the file system is approximately 4,190,000. Note: Large files are supported on HP-UX 10.20 systems and above. Be careful when implementing large file system capability. System administration utilities such as backup may not operate correctly if they are not large-file aware.
  • Page 571 -o largefiles when confronted with large files. SEE ALSO df_vxfs(1M), fsadm_vxfs(1M), fsck_vxfs(1M), mkfs(1M), mount_vxfs(1M), newfs_vxfs(1M), swapinfo(1M), dir(4), fs_vxfs(4). Veritas Volume Manager Administrator’s Guide STANDARDS CONFORMANCE : SVID3 mkfs − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 572 file system is created (see mkfs(1M)). lost+found AUTHOR mklost+found was developed by the University of California, Berkeley. SEE ALSO fsck(1M), mkfs(1M). − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 573 The major and minor values can each be specified in hexadecimal, octal, or decimal, using C language con- ventions (decimal: no leading zero; octal: leading zero; hexadecimal: leading The assignment of major and minor device numbers is specific to each HP-UX system. Refer to the System Administrator manuals supplied with your system for details.
  • Page 574 Create a character (raw) special file instead of a block special file. Verbose option. In addition to the normal processing message, display the name of each special file as it is created. See the option. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 575 0 to 15. device A address unit within a device, for example, the unit in a HP-FL device or the LUN in a SCSI device. It is represented as a decimal number with a typical range of 0 to 15.
  • Page 576 A-side device and a appended to the end for the B-side device. The default spe- cial file name depends on whether the option is used. − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 577 Special File Name ttycardp0 disc3 Floppy. Raw; create character, not block, special file. section The section number. special-file The default special file name depends on whether the options are used: − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 578 Old paper-out behavior (abort job). Raw. Transparent mode (normally used by diagnostics). No wait. Don’t retry errors on open. special-file The default special file name depends on whether the option is used: − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 579 The default special file name depends on the , and options: Option Special File Name -a 0 ps2mouse -a 1 ps2kbd ps2_port Note the underscore ( ) before port. SAS console ports asio0 SCentIf CentIf − 6 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 580 [block-size] Fixed block size mode. If a numeric block-size is given, it is used for a fixed block size. If the option is used alone, a device-specific default fixed block size is used. This − 7 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 581 Errors Ambiguous device specification Matched more than one device in the system. Use some combination of the , and options to specify a unique device. − 8 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 582 HP. FILES I/O system special file /dev/config /etc/mtconfig Tape driver property table database SEE ALSO mkdir(1), insf(1M), ioscan(1M), kcmodule(1M), lsdev(1M), mknod(1M), rmsf(1M), mknod(2), ioconfig(4), mknod(5), mt(7). − 9 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 583 Time values are specified in days, although the database keeps them in seconds. No aging is present if the following 4 database parameters are all zero: u_minchg u_exp u_life u_pw_expire_warning − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 584 Set whether system generates pronounceable passwords, value database rstrpw= u_restrict Set if generated password is restricted, . If , password will be checked for triviality. value database nullpw= u_nullpw − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 585 Delete the user’s password and return a random password that the user must later supply to the login process to login and pick a new password. Not valid for root. Also resets locks. − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 586 Very little, if any checking is done to see if values are valid. It is the user’s responsibility to range check values. FILES System Password file /etc/passwd Protected Password Database /tcb/files/auth/ /tcb/files/auth/system/default System Defaults Database AUTHOR modprpw was developed by HP. SEE ALSO getprpw(1M), prpwd(4), nsswitch.conf(4). − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 587 Unmount only those file systems listed in that are remote-mounted /etc/mnttab from host. Report the regular output with file system type and flags; however, the directory and special fields are reversed. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 588 /dev/dsk/c1t2d0 /home mount -F hfs /dev/dsk/c1t2d0 /home Unmount the same file system: umount /dev/dsk/c1t2d0 AUTHOR was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems. mount FILES /etc/fstab Static information about the systems Mounted file system table...
  • Page 589 file system verify access permissions. Do not use this argument with secure NFS . purge Purge any cached information for the specified file system. Read-write (default) or read-only. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 590 The lines similar to the following appear in the /etc/mnttab file after the mount command is executed: server1:/user2 /usr/abc /usr/abc /cache1/xyz cachefs backfstype=nfs AUTHOR was developed by Sun Microsystems, Inc. mount_cachefs SEE ALSO cfsadmin(1M), fsck_cachefs(1M), mount(1M). − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 591 Do not allow set-user-ID execution. Report the list of mounted file systems in the format. /etc/fstab Prevent the display of error messages resulting from an attempt to mount already mounted file systems. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 592 NOTES Additional CD-ROM formats are supported using PFS (Portable File System) utilities. See pfs(4) for more details. AUTHOR was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems. mount FILES Static information about the file systems /etc/fstab /etc/mnttab Mounted file system table...
  • Page 593 Mount read-only. Allow set-user-ID execution (default). suid nosuid Do not allow set-user-ID execution. Enable, where possible, asynchronous writes to disk. This is the behind default on 700 systems. − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 594 file is not mounted or if it is busy. The file system is busy if it contains an open file or some logged-in user’s working directory. EXAMPLES Mount a local HFS disk: mount -F hfs /dev/dsk/c0t0d4 /usr − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 595 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 was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems. mount FILES Static information about the file systems...
  • Page 596 Report the output in a new style. The new style has the file system type and flags displayed in addition to the old output. The directory and special_directory fields are reversed. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 597 LOFS will succeed. Thus LOFS should not be relied upon to provide a strictly write-only alternative image of a read-write file system. AUTHOR was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems. mount FILES /etc/fstab Static information about the file systems...
  • Page 598 MemFS, as specified by the memfs_bufcache_swappct tunable. The size of MemFS file systems is limited by UFS_MAXDEVBLK defined in , which is 256 GB - 1, or 268,435,455 blocks. <sys/fs.h> − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 599 /mnt mount -F memfs -o size=100MB /mnt Unmount a local MemFS disk: umount /mnt AUTHOR was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems. mount FILES /etc/fstab Static information about the file systems Mounted file system table...
  • Page 600 STANDARDS CONFORMANCE : SVID3 mount umount : SVID3 − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 601 By default, the GID associated with a newly created file will obey the System V semantics; that is, the GID is set to the effective GID of the calling process. This − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 602 Overlay mount. Allow the file system to be mounted over an existing mount point, making the under- lying file system inaccessible. If a mount is attempted on a pre-existing mount point without setting this flag, the mount will fail, producing the error device busy − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 603 To unmount all file systems imported from a given host, enter the following command as root: umount -h mysystem.home.work.com -a The hostname must match what is in exactly (as shown by the command). For exam- /etc/mnttab ple, if shows: − 3 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 604 file systems. list of default parameters for each file system. /etc/fstab SEE ALSO fsclean(1M), mount(1M), quotaon(1M), mount(2), fstab(4), mnttab(4), fs_wrapper(5), quota(5). STANDARDS CONFORMANCE : SVID3 mount : SVID3 umount − 4 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 605 file system special. Large files (over two gigabytes) are supported on HP-UX 10.20 systems and above. Unlike some file system commands, you cannot specify multiple options to mount ;...
  • Page 606 Manager (CVM) environment. Other nodes in the cluster can also mount special in shared mode. A local mount cannot be remounted in shared mode and shared mount cannot be remounted in local mode. − 2 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 607 O_SYNC O_DSYNC Note: The option is available only with the HP OnLineJFS product. convosync The cluster read-write option allows asymmetric mounts, that is, you can mount a specified cluster file system in read-only or read-write mode independently of the other shared file sys- tem nodes.
  • Page 608 file and updates the inode synchronously before returning to the user. Note: The option is available only with the HP OnLineJFS product. datainlog ioerror=disable|nodisable |wdisable |mwdisable Sets the policy for handling I/O errors on a mounted file system. Multiple error policies were implemented in VxFS to handle evolving storage technologies for which a single approach is no longer adequate.
  • Page 609 flag as specified by mkfs_vxfs fsadm_vxfs Note: Large files are supported on HP-UX 10.20 systems and above. Be careful when ena- bling large file system capability. System administration utilities such as backup may experi- ence problems if they are not large-file aware.
  • Page 610 VxFS file system is mounted, or is the block special file containing a mounted VxFS file system. An explicit option is required to mount a snapshot file system. -F vxfs Note: filesystem is available only with the HP OnLineJFS product. snapof= snapsize= size Used in conjunction with .
  • Page 611 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...
  • Page 612 LOFS file systems. − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 613 FILES Static information about the file systems /etc/fstab Mounted file system table /etc/mnttab SEE ALSO fsck(1M), fuser(1M), mount(1M), signal(2), fstab(4), mnttab(4). − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 614 MOUNTD_PORT variable will still be supported in HP-UX 11i V3, but the 11i V3 configuration file will and not /etc/default/nfs /etc/rc.config.d/nfsconf AUTHOR mountd was developed by Sun Microsystems, Inc.
  • Page 615 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] Note mrinfo must be run as root. AUTHOR was developed by Van Jacobson. mrinfo SEE ALSO mrouted(1M), map-mbone(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 616 To override the default configuration or to add tunnel links to other mrouted s, configuration commands may be placed in /etc/mrouted.conf (or an alternative file, specified by the option). There are four types of configuration commands: − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 617 It will log a warning if all of its vifs are tunnels; such an configuration would be better replaced by more direct tunnels. mrouted − 2 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 618 (only if was invoked with a non-zero stderr mrouted debug level). For convenience in sending signals, writes its pid to upon startup. mrouted /var/tmp/mrouted.pid − 3 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 619 Entries are created and deleted by mrouted − 4 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 620 DVMRP is described, along with other multicast routing algorithms, in the paper "Multicast Routing in Internetworks and Extended LANs" by S. Deering, in the Proceedings of the ACM SIGCOMM ’88 Confer- ence. − 5 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...
  • Page 621 . By default, it mtail /var/adm/syslog/mail.log displays the last 20 lines of this log. Options Display last n lines of instead of just 20. /var/adm/syslog/mail.log SEE ALSO sendmail(1M). − 1 − HP-UX 11i Version 2: December 2007 Update Hewlett-Packard Company...
  • Page 622 International Code Set Support Single- and multi-byte character code sets are supported. AUTHOR mvdir was developed by OSF and HP. SEE ALSO cp(1), mkdir(1), mv(1). STANDARDS CONFORMANCE : SVID2, SVID3 mvdir − 1 − Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update...

This manual is also suitable for:

Hp-ux 11i

Table of Contents