/* Set the system to perform diagnostics on the next reboot. */
/usr/sbin/eeprom local-mac-address?=true
/* Multiple Port Network Card Setting */
/usr/sbin/grpck
/* Check /etc/group file syntax */
/usr/sbin/pwck
/* Check /etc/passwd file syntax */
/usr/sbin/sys-unconfig
/* Clear host specific network configuration information */
System Information and Monitoring
coreadm -e log
/* Report global core */
/bin/echo "0t${stamp}>Yn
/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
/* Provides cumulative system report. */
sar -a
/* Report use of file access system routines. */
sar -u
/* Report CPU Utilization */
telnet
/* 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 -11 -22 -33 -4
/* Take the input of "ypcat hosts" or "cat /etc/inet/hosts" and sort by IP. */
推荐阅读
- Solaris 硬盘挂在Linux上
- Solaris 使用技巧
- 添加了ssh软件安装 Solaris 系统安全实施总结
- Solaris 一次挂盘经历
- 防止 Solaris 溢出的方法
- Solaris 中类似 Windows 的DLL有关的函数
- Solaris DNS安装和配置
- 安装 Solaris 操作系统
- Solaris 8 for Intel 操作系统的安装
- Solaris 8 停止登录服务器