Quick Refence - AIX x HP-UX - command line comparison

sábado, 28 de abril de 2012

Bellow a little list showing the equivalent command in both SO, HP-UX and AIX.


HP-UX AIX


Commands

sam/smh (11iv3) smitty Administrative tool

swlist oslevel Check system level

swlist lslpp List installed packages

swinstall/swremove installp Install/remove packages

swapinfo lsps List swap

top topas Monitoring system

stm diag Check hw

usermod chuser Modify user parms

vgchange -a n varyoffvg Desactive a VG

vgchange -a y varyonvg Active a VG

vgdisplay lsvg List VG properties

lvdisplay lslv/lsfs List FS properties

lvremove rmlv Remove a LV

bdf df Check FS.

ioscan cfgmgr Add a device

rmsf rmdev Remove a device

glance nmon Monitoring system performance

setboot bootlist -o -m normal Check boot list

getconf MACHINE_SERIAL (pa-risc) machinfo | grep -i serial lsattr -El sys0 -a systemid Check machine serial

shutdown -y -h 0 shutdown -Fh now Shutdown server
Files



/etc/nsswitch.conf /etc/netsvc.conf Query order (passwd.. host)

/etc/fstab /etc/filesystems Filesystem list

/dev/rmt/0mn /etc/rmt0 Tape device

/var/adm/messages /var/adm/syslog/syslog.log System log