solaris管理员常用168条命令简明手册

System Information and Monitoring 
  coreadm -e log
/* Report global core */ 
  /bin/echo "0t${stamp}>Y/n<Y=Y" | adb
/* Convert UNIX timestamp to something human-readable */ 
  /usr/sbin/eeprom
/* Show eeprom parameters */ 
  grep "/-root" /var/adm/sulog | grep -v /+ | tail -25
/* List most recent attempts to switch to superuser account. */ 
  isainfo -bv
/* Quickly checkout if machine is in 32 or 64 bit mode */ 
  last
/* Tells who was or still is on the system */ 
  logger -i
/* Log the process ID */ 
  psradm -f [processor id]
/* Take processor offline */ 
  /usr/sbin/prtconf -vp
/* Show system configuration details */ 
  /usr/platform/`/bin/uname -i`/sbin/prtdiag -v
/* System Diagnostics */ 
  prtconf -pv | grep banner-name |awk -F/' ' { print $2 } ' | head -1
/* Show actual model name of machine */ 
  psrinfo | wc -l
/* Display number of processors */ 
  sar -A <time in sec>
/* Provides cumulative system report. */ 
  sar -a <time in sec>
/* Report use of file access system routines. */ 
  sar -u
/* Report CPU Utilization */ 
  telnet <remote machine> 13 | grep ':'
/* Get the time on remote Unix machine */ 
  uname -a
/* Displays system information */ 
  vmstat 10
/* Displays summary of what the system is doing every 10 seconds */ 
  who -b
/* Displays the date of the last system reboot. */ 
  ypcat hosts | sort -n -t. +0 -1 +1 -2 +2 -3 +3 -4
/* Take the input of "ypcat hosts" or "cat /etc/inet/hosts" and sort by IP. */ 
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值