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

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@virtual-cafe.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

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@virtual-cafe.com Copyright © 1997 John Meister All rights reserved.