Tuesday, March 8, 2011

HP-UX Overview and Command Summary - page 5

Printing Command Description cancel deletes print jobs from queue hppi jet admin ls -d -o file prints a file lpadmin lpsched -v lpstat lists jobs in queue. -s  -t pr .profile | lp -n3 prints pr -o10 -l64 -F -h | lp prints using margins of 10, page length of 64, header on each page /etc/lp /usr/lib/lp /var/adm/lp /var/spool/lp /etc/lp/interface...

HP-UX Overview and Command Summary - page 4

Login Environment/etc/profile - main profile for all users /etc/profile.env export TMPDIR=/tmpsort export TEMPDIR=/tmpsort source a profile:    ". ./profile" Changing prompt: export PS1=$(hostname):'$PWD # ' This gives a prompt that has the hostname followed by the current directory, ending in the # (useful for root logins).Networkingnetstat -a   <--ports netstat...

HP-UX Overview and Command Summary - page 3

7400 Disk Array armdsp -a va7400   <-- real time display of the disk array armmgr -D va7400 HPA6189A00SG218H0024 armdiscover  /opt/sanmgr/commandview/client/sbin    -->  Tells us the serial number armhost -d armhost -d 50060b000014e313 00SG218J0024 ioscan -fnc disk | more cvui - creates lunsChoose storage array Create LUN Find last LUN Create...

HP-UX Overview and Command Summary - Page 2

Page 1 Continuation.......!!! CIFS (Samba)/opt/etc/samba/smb.confDevice ManagementHP-UX is a hardware path based operating system.  When it boots up it does a hardware detection.  It then compares the hardware that it detects with the hardware that is listed in /etc/ioconfig.  If new hardware is detected, it is assigned the next available configuration information...

HP-UX Overview and Command Summary - Page1

Bootup/Shutdownshutdown -r 0 --> reboot shutdown -h now  --> shutdown and halt shutdown 0 --> shutdown to single user mode reboot 0 --> reboot init 1 - single user mode hpux -is  boots single user mode Interupting the boot process:Configuration Menu Information Menu Service Menu GSP ModeFrom the console hit Hit at the GSP console login (default is ...