Chinaunix首页 | 论坛 | 博客
  • 博客访问: 417356
  • 博文数量: 72
  • 博客积分: 2541
  • 博客等级: 少校
  • 技术积分: 756
  • 用 户 组: 普通用户
  • 注册时间: 2006-09-20 16:08
文章分类

全部博文(72)

文章存档

2013年(13)

2009年(1)

2008年(7)

2007年(45)

2006年(6)

我的朋友

分类:

2008-06-02 16:13:25


quick reference guide


system adminstration tools
Solaris 8
HP-UX 10.X11.x
 /opt/SUNWseam/3_0
  /bin/admapp
/usr/sbin/sam
/usr/bin/admintool

disk space and info
Solaris 8
HP-UX 10.X11.x
/usr/sbin/df
/usr/sbin/df
/usr/sbin/df -k
/usr/sbin/bdf
/usr/sbin/devinfo
/usr/sbin/diskinfo
/dev/rdsk/device_file
/usr/bin/du
/usr/bin/du

process status
Solaris 8
HP-UX 10.X11.x
/usr/bin/ps -ef
/usr/bin/ps -ef
/usr/bin/swap -l
/usr/sbin/swapinfo
/usr/bin/iostat
/usr/bin/iostat
/usr/ucb/users
/usr/bin/users
/usr/bin/who
/usr/bin/who
/usr/bin/prstat
/usr/bin/top

physical memory
Solaris 8
HP-UX 10.X11.x
/usr/sbin/dmesg | grep mem
/etc/dmesg | grep -i phys
/usr/sbin/prtconf | grep Memory
GlancePlus (If purchased)
opt/perf/bin/glance (text)
/opt/perf/bin/gpm (gui)

hardware status/info
Solaris 8
HP-UX 10.X11.x
[no equivalent]
/usr/sbin/xstm
GlancePlus (If purchased)
/opt/perf/bin/glance (text)
/opt/perf/bin/gpm (gui)
[no equivalent]
/usr/sbin/ioscan
/usr/bin/arch -k
/usr/bin/model

lanic address
Solaris 8
HP-UX 10.X11.x
[no equivalent]
/usr/sbin/sam
/usr/sbin/dmesg | grep Ether
/usr/sbin/lanscan
/usr/bin/hostid
/usr/sbin/lanscan,
/usr/bin/uname -i
GlancePlus (If purchased)
/opt/perf/bin/glance (text)
/opt/perf/bin/gpm (gui)
[no equivalent]
/usr/sbin/landiag, lanadmin

swap
Solaris 8
HP-UX 10.X11.x
[no equivalent]
/usr/sbin/sam
/usr/sbin/swap
/usr/sbin/swapon
/usr/sbin/swapinfo -l
/usr/sbin/swapinfo
GlancePlus (If purchased)
/opt/perf/bin/glance (text)
/opt/perf/bin/gpm (gui)

driver information
Solaris 8
HP-UX 10.X11.x
[no equivalent]
/usr/sbin/sam
GlancePlus (If purchased)
/opt/perf/bin/glance (text)
/opt/perf/bin/gpm (gui)

kernel configuration
Solaris 8
HP-UX 10.X11.x
[no equivalent]
/usr/sbin/sam
/etc/system
/stand/system
GlancePlus (If purchased)
/opt/perf/bin/glance (text)
/opt/perf/bin/gpm (gui)
/usr/bin/kstat
/usr/lib/netsvc/rstat/rpc.rstatd

system files
Solaris 8
HP-UX 10.X11.x
/etc/rc#.d
/sbin/rc#.d
/etc/rc#.d
/sbin/init.d
/etc/vfstab
/etc/fstab
/etc/inet/hosts
/etc/hosts
/etc/hosts.equiv
/etc/hosts.equiv
/etc/services
/etc/services
/etc/dfs/dfstab
/etc/exports
/etc/passwd
/etc/passwd
/etc/shadow
/etc/passwd
/etc/group
/etc/group,
/etc/logingroup
[no equivalent]
/usr/adm/inetd.sec
/etc/format.dat
/etc/disktab
/etc/hostname.hme0
/etc/rc.config.d/netconf
/etc/defaultdomain
/etc/rc.config.d/namesvrs
/etc/defaultrouter
/etc/rc.config.d/netconf
/etc/inet/netmasks
/etc/rc.config.d/netconf
/etc/rcS.d
[no equivalent]
/etc/system
/stand/system
/usr/sbin/in.routed
/usr/sbin/gated

windows
Solaris 8
HP-UX 10.X11.x
/usr/openwin/bin/cmdtool
/usr/dt/bin/hpterm
/usr/dt/bin/dtterm
/usr/dt/bin/dtterm
/usr/openwin/bin/xterm
/usr/bin/X11/xterm
[no equivalent]
/usr/adm/inetd.sec
(window security)
.dt/sessions/current
 /dt.resources
.dt/sessions/current
 /dt.resources
.dtprofile
.dtprofile
/usr/openwin/bin/xhost
/usr/bin/X11/xhost
/usr/openwin/bin/cmdtool
/usr/dt/bin/hpterm
/usr/openwin/bin/mailtool
usr/bin/elm
/usr/openwin/bin/xhost
/usr/openwin/bin/xhost
/usr/openwin/bin/xterm
/usr/bin/X11/xterm

hostname
Solaris 8
HP-UX 10.X11.x
/usr/bin/hostname
/usr/bin/hostname
/etc/inet/hosts
/etc/hosts
/etc/hostname.hme0
/etc/rc.config.d/netconf
/etc/defaultdomain
etc/rc.config.d/namesvrs
(defines NIS domain name)
/usr/bin/uname -a
/usr/bin/uname -ae
/usr/bin/arch -k
/usr/bin/model
[no equivalent]
/usr/adm/inetd.sec

printer/plotter
Solaris 8
HP-UX 10.X11.x
/etc/printers.conf
/usr/lib/lp/model
/usr/bin/lpstat
/usr/bin/lpstat
/usr/bin/lp
/usr/bin/lp
/usr/bin/cancel
/usr/bin/cancel
/usr/spool/lp/model
/usr/lib/lp/model

networking
Solaris 8
HP-UX 10.X11.x
/usr/sbin/automount
/usr/sbin/automount
/usr/sbin/automount
/usr/sbin/automount
/usr/sbin/mount,
umount
/sbin/mount,
umount
/usr/sbin/showmount
/usr/sbin/showmount
/etc/inet/netmasks
/etc/rc.config.d/netconf
/etc/defaultdomain
/etc/rc.config.d/namesvrs
/etc/dfs/dfstab
/etc/exports
/usr/sbin/share
/usr/sbin/exportfss
/usr/sbin/shareall
/usr/sbin/exportfs -a
/etc/resolv.conf
/etc/resolv.conf
/usr/lib/netsvc/yp/ypbind
/usr/lib/netsvc/yp/ypbind
/usr/bin/ypwhich
/usr/bin/ypwhich
/usr/bin/ypcat
/usr/bin/ypcat
/usr/bin/ypmatch
/usr/bin/ypmatch
/usr/bin/yppasswd
/usr/bin/yppasswd
/usr/sbin/route
/usr/sbin/route
/usr/sbin/in.routed
/usr/sbin/gated
/usr/bin/netstat
usr/bin/netstat
/usr/bin/rsh
/usr/bin/remsh
/etc/defaultrouter
/etc/rc.confi.d/netconf
[no equivalent]
/usr/sbin/landiag,
lanadmin
/usr/sbin/unshare
/usr/sbin/exportfs -u
/usr/sbin/unshareall
/usr/sbin/exportfs -au

tape copies
Solaris 8
HP-UX 10.X11.x
/usr/bin/cpio
/usr/bin/cpio
[no equivalent]
/usr/bin/tcio
/usr/sbin/tar
/usr/bin/tar
tar cvf /dev/rmt/0m
tar cvf /dev/rmt/0m
tar cvf /dev/rmt/0m file
tar cvf /dev/rmt/0m file
tar xvf /dev/rmt/0m
tar xvf /dev/rmt/0m

tape devices
Solaris 8
HP-UX 10.X11.x
/vol/dev/dsk/cXtXdX (CD-ROM)
/dev/dsk/c0tXd0
("X" is address)
/dev/rmt/0m (tape)
/dev/rmt/0m
/usr/bin/eject
/usr/bin/tcio -r

software
Solaris 8
HP-UX 10.X11.x
/usr/sbin/pkgadd
/usr/sbin/swinstall
/usr/sbin/pkginfo
/usr/sbin/swlist
/usr/sbin/pkgrm
/usr/sbin/swremove
/usr/bin/showrev -p
/usr/sbin/swlist | grep PH
/usr/sbin/patchadd
/usr/sbin/swinstall
/usr/sbin/patchrm
/usr/sbin/swremove
/usr/sbin/pkgchk
/usr/sbin/swverify
usr/sbin/swmtool
/usr/sbin/swinstall,
/usr/sbin/swremove
/usr/bin/pkgmk
/usr/sbin/swpackage

daemons
Solaris 8
HP-UX 10.X11.x
/usr/bin/at
/usr/bin/at
/usr/bin/cron
/usr/bin/cron
/usr/bin/atq
/usr/bin/at -q
/usr/bin/atrm
/usr/bin/at -r

backup
Solaris 8
HP-UX 10.X11.x
/usr/sbin/ufsdump
/usr/sbin/fbackup,
dump,
rdump

restore
Solaris 8
HP-UX 10.X11.x
/usr/sbin/ufsrestore
/usr/sbin/frecover,
restore,
rrestore

 core files
Solaris 8
HP-UX 10.X11.x
/usr/bin/savecore
/sbin/savecrash
/usr/sbin/crash
/usr/sbin/crashutil
/usr/bin/coreadm
/etc/rc.config.d/savecrash

disk formatting
Solaris 8
HP-UX 10.X11.x
/usr/sbin/format
/usr/bin/mediainit

disk partitioning
Solaris 8
HP-UX 10.X11.x
/usr/sbin/format
/usr/sbin/pvcreate,
vgcreate,
lvcreate

disk maintenance
Solaris 8
HP-UX 10.X11.x
/usr/sbin/format
/usr/sbin/pvremove,
vgremove, lvremove,
vgreduce, lvreduce,
vgextend, lvextend,
pvdisplay, vgdisplay,
lvdisplay

mirroring
Solaris 8
HP-UX 10.X11.x
/usr/sbin/metadetach
/usr/sbin/lvextend
(requires Mirror-UX)
/usr/sbin/metaoffline
/usr/sbin/lvreduce
(requires Mirror-UX)

/usr/sbin/metaonline

/usr/sbin/lvextend
(requires Mirror-UX)

mail
Solaris 8
HP-UX 10.X11.x
/usr/openwin/bin/mailtool
/usr/bin/elm
/usr/bin/mailx
/usr/bin/mailx
/usr/dt/bin/dtmail
/usr/dt/bin/dtmail

misc.
Solaris 8
HP-UX 10.X11.x
/usr/ucb/whoami
/usr/bin/whoami
/usr/bin/id
/usr/bin/id
/usr/bin/dos2unix
/usr/bin/dos2ux
/usr/bin/eject
/usr/bin/tcio -r
/usr/bin/fdformat
/usr/bin/mediainit -f
/usr/bin/makedev
/usr/sbin/mknod
/usr/bin/mpstat
/opt/perf/bin/glance,
/opt/perf/bin/gpm
/usr/bin/pagesize
/opt/perf/bin/glance,
/opt/perf/bin/gpm
/usr/bin/sag
/opt/perf/bin/glance,
/opt/perf/bin/gpm
/usr/bin/setfacl
/usr/bin/chacl
/usr/bin/settime
/usr/bin/touch
/usr/bin/showrev
/usr/bin/uname -a
/usr/bin/tip
/usr/bin/cu
/usr/bin/unix2dos
/usr/bin/ux2dos
/usr/sbin/add_drv
/usr/sbin/mknod,
/usr/sbin/insf,
/usr/sbin/mksf
/usr/sbin/audit
/usr/sbin/audsys
/usr/sbin/auditconfig
/usr/sbin/audsys
/usr/sbin/auditd
/usr/sbin/audomon
/usr/sbin/auditreduce
/usr/sbin/audsyse
/usr/sbin/autopush
/usr/bin/autopush
/usr/sbin/bootpd
/usr/bin/bootpd
/usr/sbin/cfgadm
/usr/sbin/ioscan
/usr/sbin/demsg | grep mem
/etc/dmesg | grep -i phys
/usr/sbin/devfsadm
/usr/sbin/mknod,
/usr/sbin/insf,
/usr/sbin/mksf
/usr/sbin/df -k
/usr/bin/bdf
/usr/sbin/dhcpconfig
/sbin/auto_parms
/usr/sbin/dhtadm
/usr/sbin/dhcptools
/usr/sbin/disks
/usr/sbin/mknod,
/usr/sbin/insf,
/usr/sbin/mksf
/usr/sbin/dmesg | grep Ether
/usr/sbin/lanscan
/usr/sbin/fdisk
/usr/sbin/lvlnboot,
/usr/sbin/lvcreate
/usr/sbin/growfs
/usr/sbin/extendfs,
/usr/sbin/fsadm,
/usr/sbin/lvextend
/usr/sbin/installboot
/usr/sbin/lvlnboot
/usr/sbin/metaparam
/usr/sbin/lvchange,
/usr/sbin/vgchange
/usr/sbin/metastat
/usr/sbin/lvdisplay,
/usr/sbin/pvdisplay,
/usr/sbin/vgdisplay
/usr/sbin/metasync
/usr/sbin/lvsync,
/usr/sbin/vgsyncr
/usr/sbin/nslookup
/usr/bin/nslookup
/usr/sbin/poweroff
/usr/sbin/shutdown
/usr/sbin/pppd
/usr/bin/pppd
/usr/sbin/prtconf
/usr/bin/getconf
/usr/sbin/prtconf | grep -i memory
/usr/sbin/swapinfo
/usr/sbin/quota
/usr/bin/quota
/usr/sbin/rem_drv
/usr/sbin/rmsf
/usr/sbin/sag
/opt/perf/bin/glance,
/opt/perf/bin/gpm
/usr/sbin/strace
/usr/bin/strace
/usr/sbin/strclean
/usr/bin/strclean
/usr/sbin/strerr
/usr/bin/strerr
/usr/sbin/sysdef
/usr/sbin/ioscan,
/usr/sbin/sydef
/usr/sbin/tapes
/usr/sbin/mknod,
/usr/sbin/insf,
/usr/sbin/mksf
/usr/spool/lp/model
/usr/lib/lp/model
/usr/ucb/fasthalt
/usr/sbin/reboot -q,
/usr/sbin/shutdown
/usr/ucb/users
/usr/bin/users
[no equivalent]
/usr/sbin/landiag,
  /usr/sbin/lanadmin
[no equivalent]
/usr/sbin/ioscan
[no equivalent]
/usr/bin/tcio
[no equivalent]
/usr/sbin/xstm,
/usr/sbin/cstm
GlancePlus (if purchased)
/opt/perf/bin/glance,
/opt/perf/bin/gpm

user path might include
./bin
/bin
/usr/ccs/bin
/usr/sbin
/usr/bin
/usr/bin/X11
/usr/local/bin
/usr/local/bin/X11
/usr/contrib/bin
/usr/contrib/bin/X11

阅读(2464) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~