*********************************************************

john's notes

*********************************************************

john's home page. -- HTML tags page. -- cool awk tricks -- lvm info -- find commands -- nfs example --
System Administration Humor (?):
SysAdmin field guide -- SysAdmin song -- never say... -- email: john@wagoneers.com
note: most of these commands are for HP-UX
    

to reboot
an HP-UX box

    /etc/shutdown -r now
    

to refresh inetd

     /usr/bin/kill -1 inetd     

misc admin commands

  • swlist
           lists info on software
  • last -r UID
  • who -u        lists users and how they are connected
  • w
  • whence xxxxx
           lists whether xxxxx is in the command path or is a shell function
  • which xxxxxx
           lists path xxxxxx found in .cshrc
  • what /usr/bin/xxxx
           displays rev level and patch info of xxxx

ADMIN TOOLS

  • top
  • gpm
  • vmstat
  • iostat
  • sar

system backup to tape commands

fbackup -f /dev/rmt/0m -i -v
/opt/ignite/bin/make_recovery -ACv

lp commands

lpstat -t
    displays all printers
lpstat
    displays current queue
lp -d_____ -onb -o2+
    d=printer name -o=option nb=no banner 2+=2pgs on one
    

*********************************************************

EMAIL TO: john@wagoneers.com Copyright © 1997 John Meister All rights reserved.