from http://bhami.com/rosetta.html
TASK \ OS | HP-UX | OS / TASK |
OS notes | Hewlett-Packard | OS notes |
administrative GUI | sam smh (11.31+) | administrative GUI |
managing users | useradd userdel usermod getprpw modprpw pwget | managing users |
TASK \ OS | HP-UX | OS / TASK |
list hardware configuration | ioscan dmesg (if you're lucky) adb model stm (from the SupportPlus CDROM) bdf (like most vendors' df)getconf machinfo (11.23+) print_manifest | list hardware configuration |
unique id useful for licensing | uname -i | unique id useful for licensing |
show/set EEPROM/NVRAM values | setboot stm | show/set EEPROM/NVRAM values |
add device without reboot | inf -e ioscan -fnC devtype; insf -C devtype | add device without reboot |
remove device | rmsf | remove device |
tape device | /dev/rmt/0m | tape device |
stdin/ stdout/ stderr | ? | stdin/ stdout/ stderr |
X kvm config | itemap | X kvm config |
TASK \ OS | HP-UX | OS / TASK |
read a disk label | scsimgr (11.31+)diskinfo pvdisplay | read a disk label |
whole disk in partition | ? | whole disk in partition |
label a disk | pvcreate | label a disk |
partition a disk | smh (11.31+)lvcreate sam | partition a disk |
TASK \ OS | HP-UX | OS / TASK |
kernel | /hpux (9)/stand/vmunix (10+) | kernel |
show/set kernel parameters | smh (11.31+) sam sysdef kmtune (11+)kctune (11.23+)getconf | show/set kernel parameters |
limit physical memory | ? | limit physical memory |
loaded kernel modules | kmadmin -s kcmodule -a (11.23+) | loaded kernel modules |
load module | kmadmin -L kcmodule module=loaded (11.23+) | load module |
unload module | kmadmin -U kcmodule module=unused (11.23+) | unload module |
make disk bootable | mkboot | make disk bootable |
startup scripts | /etc/rc* (9) /etc/rc.config.d (preferred) /sbin/rc* (10+) /sbin/init.d/ | startup scripts |
start/ stop/ config services | ? | start/ stop/ config services |
shutdown (& power off if possible) | shutdown -yh 0 | shutdown (& power off if possible) |
run levels 1 *=normal states for more detail see www.phildev.net/runlevels.html | 0: shut down s,S: single-user 1: sys admin 2: multiuser 3*: share NFS 4*: start GUI 5: user-defined 6: user-defined | run levels 1 *=normal statesfor more detail see www.phildev.net/runlevels.html |
show runlevel 1 | who -r | show runlevel 1 |
time zone info | /usr/lib/tztab | time zone info |
check swap space | swapinfo | check swap space |
core dump management | coreadm | core dump management |
bind process to CPU | psrset -b mpsched -c intctl | bind process to CPU |
TASK \ OS | HP-UX | OS / TASK |
"normal" filesystem | hfs vxfs (11.0+) | "normal" filesystem |
volume-based filesystem | jfs (vxfs) LVM VxVM ($) | volume-based filesystem |
file system description | /etc/checklist (9) /etc/fstab (10+) | file system description |
volume manipulation | vg*; lv*; pv* extendfs fsadm | volume manipulation |
create filesystem | mkfs newfs | create filesystem |
file system debugging and recovery | fsck fsdb | file system debugging and recovery |
create non-0-length empty file | prealloc | create non-0-length empty file |
convert DOS-format text to Unix format | dos2ux | convert DOS-format text to Unix format |
mount CDROM | pfs_mountd pfsd pfs_mount mount /dev/dsk/cxtydz4 /SD_CDROM mount -orr /dev/cdrom /mnt/cdrom (requires "Rock Ridge extension" patches, 11+) | mount CDROM |
eject CDROM | ? | eject CDROM |
create/mount ISO image | nohup pfs_mountd&; nohup pfsd&; pfs_mount -t iso9660 -x unix pathToIso mountPoint | create/mount ISO image |
ACL management | lsacl chacl getacl setacl | ACL management |
Fibre Channel / SAN | scsimgr (11.31+) fcmsutil fcdlist tdutil tdlist tddiag | Fibre Channel / SAN |
TASK \ OS | HP-UX | OS / TASK |
NFS share definitions | /etc/exports /etc/dfs/dfstab (11.31+) | NFS share definitions |
NFS share command | exportfs -a share (11.31+)shareall (11.31+) share_nfs (11.31+) | NFS share command |
NFS information | nfsstat | NFS information |
name resolution order | /etc/nsswitch.conf | name resolution order |
show network interface info | nwmgr (11.31+) lanadmin landiag lanscan netstat -in ifconfig lanx | show network interface info |
change IP | /sbin/set_parms initial ifconfig | change IP |
start DHCP client | ? | start DHCP client |
ping one packet | ping hostname 10 1 (9) ping hostname -n 1 (10+) | ping one packet |
sniff network | nettl netfmt | sniff network |
route definitions | /etc/rc.config.d/netconf netstat -r | route definitions |
telnetd, ftpd banner | /etc/inetd.conf (telnet) | telnetd, ftpd banner |
set date/time(from net: ntp or other) | ntpdate | set date/time(from net: ntp or other) |
TASK \ OS | HP-UX | OS / TASK |
auditing | audisp audevent audomon audsys | auditing |
encrypted passwords in | /etc/passwd (not Trusted)/.secure/etc/passwd (Trusted 9)/tcb/files/auth/ (10+) /etc/shadow (11.22+) | encrypted passwords in |
min password length | /etc/default/security | min password length |
allow/deny root logins | /etc/securetty | allow/deny root logins |
firewall config | /etc/opt/ipf/ipf.conf | firewall config |
TASK \ OS | HP-UX | OS / TASK |
show installed software | rmfn, what (HP-UX 9) swlist (HP-UX 10+) swm list (11.31+) | show installed software |
file is in which package | swlist -l file | grep file | file is in which package |
add software | swm install (11.31+) swinstall | add software |
precompiled binaries of GPLware and freeware | hpux.cs.utah.edu hpux.connect.org.uk | precompiled binaries of GPLware and freeware |
C compiler | /opt/softbench/bin/cc ($) /bin/cc (9) /usr/bin/cc (10+; not necessarily ANSI; kernel builder only) | C compiler |
show patch level and/or patches | swm list (11.31+) swlist -l product | grep PHsomeString | show patch level and/or patches |
patch tool | update (9) swinstall (10+) | patch tool |
configure/show runtime linking fortran-2000.com/ ArnaudRecipes/ sharedlib.html | chatr ldd (11+)kmadmin | configure/show runtime linking fortran-2000.com/ ArnaudRecipes/ sharedlib.html |
link library path | $LD_LIBRARY_PATH (64-bit) $SHLIB_PATH (32- or 64-bit) | link library path |
tracing utility | caliper fprof caliper ktrace trace (freeware)tusc (11+, freeware) | tracing utility |
define user defaults | /etc/default /etc/PATH /etc/MANPATH /etc/default/* | define user defaults |
csh global .login | /etc/csh.login | csh global .login |
default syslog and messages | /var/adm/syslog/syslog.log /var/adm/sulog /var/spool/mqueue/syslog | default syslog and messages |
system error reporting tool | evmshow (11.31+) smh (11.31+) dmesg sysdiag (9 and early10) stm/cstm/mstm/xstm (10.20+)EMS (from support CD) | system error reporting tool |
performance monitoring | glance gpm caliper top; sar; vmstat; iostat; nfsstat; netstat; uustat; Glance($)ptree (11.31+) | performance monitoring |
match process to file or port | lsof fuser | match process to file or port |
manage various logs | ? | manage various logs |
X pop-up | /usr/dt/bin/dterror.ds | X pop-up |
Wikipedia | HP-UX | Wikipedia |
FAQs (see also faqs.org) | www.faqs.org/faqs/ hp/hpux-faq/preamble.html | FAQs (see also faqs.org) |
blogs | ? | blogs |
mailing list | hpux-admin@ dutchworks.nl (majordomo) hp-ux-l | mailing list |
mailing list archives | www.dutch works.nl/ htbin/hpsysadmin | mailing list archives |
man pages www.freebsd.org/ cgi/man.cgi | docs.hp.com/en/hpuxman_pages.html hpuxman_pages.html | man pages www.freebsd.org/ cgi/man.cgi |
newsgroup(s) and forums groups.google | comp.sys.hp.hpux | newsgroup(s) and forums groups.google |
user groups | connect-community.org hp-interex.com encompassus.org hptechnologyforum.com forums.itrc.hp.com HP DSPP | user groups |
magazines | www.hpchronicle.com www.interex.org/hpuxusr www.hppro.com | magazines |
vendor home page | hp.com/go/hpux | vendor home page |
vendor docs and patches (see alsoman pages) | software.hp.comdocs.hp.com itrc.hp.com | vendor docs and patches (see alsoman pages) |
vendor phone (US) | 800-633-3600 | vendor phone (US) |
wikis | ? | wikis |
TASK / OS | HP-UX | OS \ TASK |