HP_UX and solaris commands

Document Sample
HP_UX and solaris commands Powered By Docstoc
					Transition Impacts
HP-UX Software Transition Kit
 » Dev Resource
   Central          HP-UX 11.00 non-critical impact:
 » HP STK home      sam - V-Class server tuned parameter sets (NcEn666)

                            enhancement description
  » Home
                            SAM (System Administration Manager) has new tuned parameter sets that are useful on HP V
  » Overview
                            Class servers. This was released in the HP-UX 11.00 Extension Pack, December 1998.
  » Tools
                            Configuring HP-UX with these parameter sets can improve your V-Class server's performance
  » Documentation
                            when using it for different purposes, such as scientific, data processing, or mixed interactive us
  » Transition impacts
    » Identifier types      Using the SAM utility /usr/sbin/sam, you can configure an HP-UX kernel for HP V-Class serve
    » Impact list           HP-UX kernel configurations are provided for the following types of V-Class server use:
  » Porting to HP-UX
  » FAQ
                                   Scientific and technical use--Servers running applications that have very large data se
  » Glossary
                                    and may have long processing times. Examples include NASTRAN, Abaqus, mechan
  » Help
                                    and electrical design applications, and fluid dynamics applications. The "V-Class Tech
                                    Server" tuned parameter set provides HP-UX kernel parameter settings for running su
                                    workloads on HP V-Class servers.
  » Send us feedback               Dedicated commercial data processing use--Servers whose use is restricted for online
                                    transaction processing (OLTP), running Oracle, and running other data processing
                                    workloads. These systems provide limited, if any, interactive user access. The
 Site maps                          "OLTP/Database Server System" tuned parameter set provides a good HP-UX
   » HP-UX STK                      configuration for using HP V-Class servers for dedicated commercial data processing
   » Dev Resource Central          Mixed interactive and data processing use--Servers used for interactive user log-ins, a
                                    for running OLTP/data processing workloads and miscellaneous other applications. Th
                                    "OLTP/Database Monolithic System" tuned parameter set is appropriate for mixed-us
                                    Class servers.

                            These tuned parameter sets are available from the SAM utility's Configurable Parameters suba
                          and are stored as files in the directory /usr/sam/lib/kc/tuned.
                          Refer to the SAM online help for examples and details on using kernel parameters.
                          Additional information is available in the HP V-Class Server HP-UX Configuration Notice (A480
                          90002). To order this document, call 1-800-227-8164.
                          To using SAM to configure an HP-UX kernel for HP V-Class servers:

                              1.   Run SAM by typing sam.
                              2.   Select Kernel Configuration.
                              3.   Select Configurable Parameters subarea.
                              4.   Apply the tuned parameter set for your type of server use via the Actions menu.

                          see also

                                  Background information on unclassified impacts
                                  sam(1M), HP-UX 10.20
                                  sam(1M), HP-UX 11.00
                                  Managing Systems and Workgroups: A Guide for HP-UX System Administrators

                          enhancement summary

                                    hp-ux systems management : kernel configuration (kcweb)                          prin

                                    kernel configuration (kcweb)
                                    overview & features

hp-ux system                          beta disclaimer

search                                This is a public Beta preview release for HP-
contact hp
                                      UX 11i v1 (B.11.11) only. The software is not
unix home                             complete (some features are not yet
hp-ux system management
  kernel configuration                implemented) and has not been through the
                                      full Quality Assurance process. If you
                                      download this beta, you may be contacted by
                                      the kcweb development team. For HP-UX 11i
                                      v1.6 (B.11.22) and HP-UX 11i v2 (B.11.23),
                                      the full version of the product is available as
                                      part of the Operating Environment (OE)
                              kcweb provides numerous improvements over previous approache
                              kernel configuration:

                                      New Web based GUI - Faster than the current SAM interface and easier to use
                                       or from a PC.
                                      New Kernel Tunable Documentation - Available as a man page and in the GUI.
                                      Support for dynamic kernel tuning - Kernel tuning does not always require a re
                                      Tunable monitoring - Continual monitoring of the usage of kernel resources (th
                                       kcmond) can be turned on, allowing the kernel to be tuned proactively rather t
                                       waiting for an application to fail.
                                      Historical usage data - When tunable monitoring is enabled, graphs show the u
                                       kernel resources controlled by the kernel tunables. Having good data reduces t
                                       guesswork in kernel tuning.
                                      Threshold alarms - When tunable monitoring is enabled, the user can create al
                                       will trigger notification when a tunable value is exceeded.
                                      New simpler kernel module interface - Support for DLKMs.
                                      Improved command line interface - All functionality that is available in the GUI
                                       available to scripts.
                                      Improved separation between GUI and Kernel - Fewer patches are needed to s

                                      Change Log Viewer - The user will be able to view the log of kernel configurati

                                      Localization - kcweb is available in eight other languages.

HP-UX Solaris command mapping
» Workstations                    Version 2.0 September 2000

» Products                        The following guide contains commands and actions commonly                Related
                                  used by system administrators, grouped into related activities.             » HP-U
for business                      Solaris 8 commands are listed on the left; corresponding (or                  mapp
»                                 functionally equivalent) HP-UX 10.X/11.X commands are on the                » HP-U
Workstations                      right.                                                                        mapp
 »Leadership    Leadership                                                                                    » HP-U
  graphics      graphics                                                                                        admin
 »Workstation   Workstation                                                                                     guide
  software      software                                                                                      » HP-U
 »Customer                                                                                                      optimi
  stories                                                                                                     » Solari
 »News          News                                                                                            guide
Solutions                            quick reference guide
 »HP Business
  solutions                          system adminstration tools
Support                                         Solaris 8                      HP-UX 10.X11.x
 »Discontinued Discontinued          /opt/SUNWseam/3_0
  products     products              /bin/admapp
 »Workstations                       /usr/bin/admintool
                disk space and info
                           Solaris 8                     HP-UX 10.X11.x
                /usr/sbin/df                     /usr/sbin/df
»How to Buy     /usr/sbin/df -k                 /usr/sbin/bdf
»Register for                                    /usr/sbin/diskinfo
 information    /usr/sbin/devinfo
                /usr/bin/du                      /usr/bin/du

                process status
»Workstations               Solaris 8                    HP-UX 10.X11.x
 specials       /usr/bin/ps -ef                  /usr/bin/ps -ef
                /usr/bin/swap -l                 /usr/sbin/swapinfo
                /usr/bin/iostat                  /usr/bin/iostat
                /usr/ucb/users                   /usr/bin/users
                /usr/bin/who                     /usr/bin/who
                /usr/bin/prstat                  /usr/bin/top

                physical memory
                           Solaris 8                   HP-UX 10.X11.x
                /usr/sbin/dmesg | grep mem      /etc/dmesg | grep -i phys
                /usr/sbin/prtconf | grep Memory
                                                opt/perf/bin/glance (text)
                GlancePlus (If purchased)
                                                /opt/perf/bin/gpm (gui)

                hardware status/info
                          Solaris 8                      HP-UX 10.X11.x
                [no equivalent]                  /usr/sbin/xstm
                                                 /opt/perf/bin/glance (text)
                GlancePlus (If purchased)
                                                 /opt/perf/bin/gpm (gui)
                [no equivalent]                  /usr/sbin/ioscan
                /usr/bin/arch -k                 /usr/bin/model

                lanic address
                           Solaris 8                    HP-UX 10.X11.x
                [no equivalent]                  /usr/sbin/sam
                /usr/sbin/dmesg | grep Ether     /usr/sbin/lanscan
                                                 /usr/bin/uname -i
                                                 /opt/perf/bin/glance (text)
                GlancePlus (If purchased)
                                                 /opt/perf/bin/gpm (gui)
                [no equivalent]                  /usr/sbin/landiag, lanadmin

                           Solaris 8                    HP-UX 10.X11.x
                [no equivalent]                  /usr/sbin/sam
                /usr/sbin/swap                   /usr/sbin/swapon
                /usr/sbin/swapinfo -l            /usr/sbin/swapinfo
                                                 /opt/perf/bin/glance (text)
                GlancePlus (If purchased)
                                                 /opt/perf/bin/gpm (gui)

                driver information
                           Solaris 8                    HP-UX 10.X11.x
                [no equivalent]                  /usr/sbin/sam
                                                 /opt/perf/bin/glance (text)
                GlancePlus (If purchased)
                                                 /opt/perf/bin/gpm (gui)
kernel configuration
          Solaris 8                 HP-UX 10.X11.x
[no equivalent]             /usr/sbin/sam
/etc/system                 /stand/system
                            /opt/perf/bin/glance (text)
GlancePlus (If purchased)
                            /opt/perf/bin/gpm (gui)
/usr/bin/kstat              /usr/lib/netsvc/rstat/rpc.rstatd

system files
            Solaris 8               HP-UX 10.X11.x
/etc/rc#.d                  /sbin/rc#.d
/etc/rc#.d                  /sbin/init.d
/etc/vfstab                 /etc/fstab
/etc/inet/hosts             /etc/hosts
/etc/hosts.equiv            /etc/hosts.equiv
/etc/services               /etc/services
/etc/dfs/dfstab             /etc/exports
/etc/passwd                 /etc/passwd
/etc/shadow                 /etc/passwd
[no equivalent]             /usr/adm/inetd.sec
/etc/format.dat             /etc/disktab
/etc/hostname.hme0          /etc/rc.config.d/netconf
/etc/defaultdomain          /etc/rc.config.d/namesvrs
/etc/defaultrouter          /etc/rc.config.d/netconf
/etc/inet/netmasks          /etc/rc.config.d/netconf
/etc/rcS.d                  [no equivalent]
/etc/system                 /stand/system
/usr/sbin/in.routed         /usr/sbin/gated

            Solaris 8               HP-UX 10.X11.x
/usr/openwin/bin/cmdtool    /usr/dt/bin/hpterm
/usr/dt/bin/dtterm          /usr/dt/bin/dtterm
/usr/openwin/bin/xterm      /usr/bin/X11/xterm
[no equivalent]
                            (window security)
.dt/sessions/current        .dt/sessions/current
/dt.resources               /dt.resources
.dtprofile                  .dtprofile
/usr/openwin/bin/xhost      /usr/bin/X11/xhost
/usr/openwin/bin/cmdtool    /usr/dt/bin/hpterm
/usr/openwin/bin/mailtool   usr/bin/elm
/usr/openwin/bin/xhost      /usr/openwin/bin/xhost
/usr/openwin/bin/xterm      /usr/bin/X11/xterm

           Solaris 8                HP-UX 10.X11.x
/usr/bin/hostname           /usr/bin/hostname
/etc/inet/hosts             /etc/hosts
/etc/hostname.hme0          /etc/rc.config.d/netconf
                            (defines NIS domain name)
/usr/bin/uname -a           /usr/bin/uname -ae
/usr/bin/arch -k             /usr/bin/model
[no equivalent]              /usr/adm/inetd.sec

            Solaris 8                HP-UX 10.X11.x
/etc/printers.conf           /usr/lib/lp/model
/usr/bin/lpstat              /usr/bin/lpstat
/usr/bin/lp                  /usr/bin/lp
/usr/bin/cancel              /usr/bin/cancel
/usr/spool/lp/model          /usr/lib/lp/model

            Solaris 8                HP-UX 10.X11.x
/usr/sbin/automount          /usr/sbin/automount
/usr/sbin/automount          /usr/sbin/automount
/usr/sbin/mount,             /sbin/mount,
umount                       umount
/usr/sbin/showmount          /usr/sbin/showmount
/etc/inet/netmasks           /etc/rc.config.d/netconf
/etc/defaultdomain           /etc/rc.config.d/namesvrs
/etc/dfs/dfstab              /etc/exports
/usr/sbin/share              /usr/sbin/exportfss
/usr/sbin/shareall           /usr/sbin/exportfs -a
/etc/resolv.conf             /etc/resolv.conf
/usr/lib/netsvc/yp/ypbind    /usr/lib/netsvc/yp/ypbind
/usr/bin/ypwhich             /usr/bin/ypwhich
/usr/bin/ypcat               /usr/bin/ypcat
/usr/bin/ypmatch             /usr/bin/ypmatch
/usr/bin/yppasswd            /usr/bin/yppasswd
/usr/sbin/route              /usr/sbin/route
/usr/sbin/in.routed          /usr/sbin/gated
/usr/bin/netstat             usr/bin/netstat
/usr/bin/rsh                 /usr/bin/remsh
/etc/defaultrouter           /etc/rc.confi.d/netconf
[no equivalent]
/usr/sbin/unshare            /usr/sbin/exportfs -u
/usr/sbin/unshareall         /usr/sbin/exportfs -au

tape copies
           Solaris 8                 HP-UX 10.X11.x
/usr/bin/cpio                /usr/bin/cpio
[no equivalent]              /usr/bin/tcio
/usr/sbin/tar                /usr/bin/tar
tar cvf /dev/rmt/0m          tar cvf /dev/rmt/0m
tar cvf /dev/rmt/0m file     tar cvf /dev/rmt/0m file
tar xvf /dev/rmt/0m          tar xvf /dev/rmt/0m

tape devices
          Solaris 8                  HP-UX 10.X11.x
/vol/dev/dsk/cXtXdX (CD-ROM)
                             ("X" is address)
/dev/rmt/0m (tape)           /dev/rmt/0m
/usr/bin/eject               /usr/bin/tcio -r
           Solaris 8            HP-UX 10.X11.x
/usr/sbin/pkgadd         /usr/sbin/swinstall
/usr/sbin/pkginfo        /usr/sbin/swlist
/usr/sbin/pkgrm          /usr/sbin/swremove
/usr/bin/showrev -p      /usr/sbin/swlist | grep PH
/usr/sbin/patchadd       /usr/sbin/swinstall
/usr/sbin/patchrm        /usr/sbin/swremove
/usr/sbin/pkgchk         /usr/sbin/swverify
/usr/bin/pkgmk           /usr/sbin/swpackage

            Solaris 8           HP-UX 10.X11.x
/usr/bin/at              /usr/bin/at
/usr/bin/cron            /usr/bin/cron
/usr/bin/atq             /usr/bin/at -q
/usr/bin/atrm            /usr/bin/at -r

             Solaris 8          HP-UX 10.X11.x
/usr/sbin/ufsdump        dump,

             Solaris 8          HP-UX 10.X11.x
/usr/sbin/ufsrestore     restore,

core files
           Solaris 8             HP-UX 10.X11.x
/usr/bin/savecore        /sbin/savecrash
/usr/sbin/crash          /usr/sbin/crashutil
/usr/bin/coreadm         /etc/rc.config.d/savecrash

disk formatting
           Solaris 8            HP-UX 10.X11.x
/usr/sbin/format         /usr/bin/mediainit

disk partitioning
           Solaris 8            HP-UX 10.X11.x
/usr/sbin/format         vgcreate,

disk maintenance
         Solaris 8              HP-UX 10.X11.x
                         vgremove, lvremove,
                         vgreduce, lvreduce,
                         vgextend, lvextend,
                         pvdisplay, vgdisplay,
            Solaris 8                 HP-UX 10.X11.x
                               (requires Mirror-UX)
                                (requires Mirror-UX)
                               (requires Mirror-UX)

            Solaris 8                  HP-UX 10.X11.x
/usr/openwin/bin/mailtool      /usr/bin/elm
/usr/bin/mailx                 /usr/bin/mailx
/usr/dt/bin/dtmail             /usr/dt/bin/dtmail

            Solaris 8                 HP-UX 10.X11.x
/usr/ucb/whoami                /usr/bin/whoami
/usr/bin/id                    /usr/bin/id
/usr/bin/dos2unix              /usr/bin/dos2ux
/usr/bin/eject                 /usr/bin/tcio -r
/usr/bin/fdformat              /usr/bin/mediainit -f
/usr/bin/makedev               /usr/sbin/mknod
/usr/bin/setfacl               /usr/bin/chacl
/usr/bin/settime               /usr/bin/touch
/usr/bin/showrev               /usr/bin/uname -a
/usr/bin/tip                   /usr/bin/cu
/usr/bin/unix2dos              /usr/bin/ux2dos
/usr/sbin/add_drv              /usr/sbin/insf,
/usr/sbin/audit                /usr/sbin/audsys
/usr/sbin/auditconfig          /usr/sbin/audsys
/usr/sbin/auditd               /usr/sbin/audomon
/usr/sbin/auditreduce          /usr/sbin/audsyse
/usr/sbin/autopush             /usr/bin/autopush
/usr/sbin/bootpd               /usr/bin/bootpd
/usr/sbin/cfgadm               /usr/sbin/ioscan
/usr/sbin/demsg | grep mem     /etc/dmesg | grep -i phys
/usr/sbin/devfsadm             /usr/sbin/insf,
/usr/sbin/df -k                /usr/bin/bdf
/usr/sbin/dhcpconfig           /sbin/auto_parms
/usr/sbin/dhtadm               /usr/sbin/dhcptools
/usr/sbin/disks                /usr/sbin/insf,
/usr/sbin/dmesg | grep Ether   /usr/sbin/lanscan
 /usr/sbin/growfs              /usr/sbin/fsadm,
 /usr/sbin/installboot         /usr/sbin/lvlnboot
 /usr/sbin/metastat            /usr/sbin/pvdisplay,
 /usr/sbin/nslookup            /usr/bin/nslookup
 /usr/sbin/poweroff            /usr/sbin/shutdown
 /usr/sbin/pppd                /usr/bin/pppd
 /usr/sbin/prtconf             /usr/bin/getconf
 /usr/sbin/prtconf | grep -i
 /usr/sbin/quota               /usr/bin/quota
 /usr/sbin/rem_drv             /usr/sbin/rmsf
 /usr/sbin/strace              /usr/bin/strace
 /usr/sbin/strclean            /usr/bin/strclean
 /usr/sbin/strerr              /usr/bin/strerr
 /usr/sbin/tapes               /usr/sbin/insf,
 /usr/spool/lp/model           /usr/lib/lp/model
                               /usr/sbin/reboot -q,
 /usr/ucb/users                /usr/bin/users
 [no equivalent]
 [no equivalent]               /usr/sbin/ioscan
 [no equivalent]               /usr/bin/tcio
 [no equivalent]
 GlancePlus (if purchased)

 user path might include

Diagnostic and Support Tools for the HP 9000, Integrity Servers, and Intel ®
Itanium ® 2 Workstations
Ensure the Reliability of Your Computer System
This package provides a complete set of Diagnostic and Support Tools for verifying, troubleshooting, and
monitoring your system hardware, including CPUs, memory, interface cards, mass storage devices, etc.
Features and Benefits
The Diagnostic and Support Tools include:

          The Support Tool Manager (STM). Upon startup, STM provides a representation of all of the
           hardware devices on your system. Using this view, you select devices, receive information, or
           execute online tools. STM tools include Verifiers, Exercisers, Information Modules, and Utilities.
           Some STM tools are for HP use only and are password-protected.
          EMS Hardware Monitors (HP-UX 11i and 11.00 only). The hardware monitors are an important
           tool for maintaining system availability. The EMS monitors allow you to monitor the operation of
           a wide variety of hardware products and be alerted immediately if any failure or other unusual
           event occurs.
          Offline Tools: The offline tools enable you to troubleshoot a system which cannot be tested via
           the online tools, for example when the system cannot boot. A subset of the most commonly
           used offline tools (e.g., MAPPER) is loaded when you load the Support Tools from HP Software
           Depot. The complete set of offline tools is available on the Support Plus CD-ROM for HP 9000
           systems, and on a separate CD for Integrity Servers and Intel ® Itanium ® 2 workstations that is
           shipped with the systems.

With the Diagnostic and Support Tools, you can:

          Test the system online or offline for proper operation.
          Obtain hardware-related information (MAPPER in offline or the Information modules in STM).
          Review and analyze log file information for CPU-, Memory- or I/O-related events (logtool in

Install Diagnostic and Support Tools BEFORE Trouble Arises
To ensure the reliability of your computer system, install Diagnostic and Support Tools before trouble

          It's faster and easier to solve problems if you have Diagnostic and Support Tools already loaded
           on your system.
          Hardware monitors notify you proactively of suspicious hardware events that might lead to
          Some error logs are saved only if STM is installed. Without these logs it may be impossible to
           identify the cause of some problems.
          Memory Page Deallocation (which reduces the possibility of system failures due to memory
           problems) is only available if STM is installed.

The Diagnostic and Support Tools are distributed on the Support Plus Media for HP 9000 systems, and
on the OE media for Integrity Servers and Intel ® Itanium ® 2 workstations. This Web site provides an
alternate method for downloading the most current version of the Support Tools, even if you don't have
the appropriate media.
Each new version incorporates improvements to the interface, tools, or functionality (for example, more
hardware is supported). If you have new hardware to support, you must update to a version that supports
the new hardware. Or you may wish to load a new version to get a new feature (for example, "logtool" in
STM). If in doubt, update to the most current version of STM.
 Supports Different Versions of HP-UX
 There is a different downloadable version of the Diagnostic and Support Tools for each of the following
 versions of HP-UX:

        HP-UX 11i v2 (11.23) (Mar 04 release).
         ID: B.11.23.02.xx, STM vers.: B.44.00
        HP-UX 11i (11.11) (Jun 04 release).
         ID: B.11.11.14.xx, STM vers.: A.45.00
        HP-UX 11.00 (Mar 04 release).
         ID: B.11.00.27.xx, STM vers.: A.44.00

 NOTE: Under "additional product information", below, the downloadable software version is listed as
 "Jun 04 (HWE0406)". This applies to the 11i (11.11) OS ONLY; for the 11i v2 (11.23) and 11.00 OSs, the
 version that will be downloaded is "Mar 04 (HWE0403)".
 In the above list:
 The "ID" number (for example, B.11.11.13.xx) is the Software Depot ID number which can be displayed
 with the "swlist command". The "xx" in the string is used by HP only.
 The "STM version" number (for example, A.44.00) appears when the xstm, mstm, or cstm program is
 first executed.
 There are generally new 11i versions of the Diagnostic and Support Tools at each release.
 Terms and Conditions
 The Diagnostic and Support Tools are fully supported as part of your operating system contract.
 Documentation for Diagnostic and Support Tools is available over the Web. You can also consult your
 HP Service Representative.
 Patches for the Diagnostic and Support Tools may occasionally be produced at the discretion of HP.
 Return and Refund Policy
 Not applicable.
 Wed May 12 01:06:07 PST 2004

additional product information

product #:          B6191AAE
version:            Jun 04 (HWE0406)
software            HP-UX 11.11 for Workstations and Servers
specification:      HP-UX 11.0 for Workstations and Servers
                    HP-UX 11.23 IA

Shared By: