GB | BIG5
|
| 首頁 > 系統管理 > 其它 > 正文 |
 |
| 主流服務器UNIX操作系統比較(之三)常用命令 |
| 本文出自:http://www.yesky.com 作者: stone (2002-04-10 06:02:00) |
|
General Commands |
AIX |
FreeBSD |
HP-UX |
| Unique host ID |
hostid |
|
uname -i |
| Administrator |
smit |
|
sam |
| Performance monitor |
top monitor |
top |
top glance |
| System activity reporter |
sar |
sa |
sar |
| Virtual Memory statistics |
vmstat |
vmstat |
vmstat |
| I/O statistics |
iostat |
iostat |
iostat |
| Error logs |
alog -o -t boot errpt |
dmesg |
dmesg |
| Physical RAM |
1M TB |
|
4TB |
| Shared Memory |
64K TB |
|
8TB |
| Process Data Space |
384K TB |
|
4TB |
| Swap device |
/dev/hd6 |
/dev/ad0s1b |
/dev/vg00/lvol2 |
| Swap file type |
/etc/swapspaces |
swap |
swap |
| Display swap size |
lsps -a |
swapinfo |
swapinfo -a |
| Activate Swap |
swapon -a |
swapon -a |
swapon -a |
|
General Commands |
LINUX(RedHat) |
Solaris |
Tru64 |
| Unique host ID |
hostid |
hostid |
hostid |
| Administrator |
linuxconf |
admintool |
|
| Performance monitor |
top |
top |
top |
| System activity reporter |
|
sar |
|
| Virtual Memory statistics |
vmstat |
vmstat |
vmstat |
| I/O statistics |
|
iostat |
iostat |
| Error logs |
dmesg |
dmesg |
uerf -R -o full |
| Physical RAM |
64 GB {>2.3.24} |
16TB |
4TB |
| Shared Memory |
sysctl kernel.shmmax |
|
|
| Process Data Space |
900 MB |
|
|
| Swap device |
/dev/sda2 |
/dev/vx/dsk/swapvol |
/dev/rz0b |
| Swap file type |
partition type 82 |
swap |
raw |
| Display swap size |
free |
swap -l |
swapon -s |
| Activate Swap |
swapon -a |
swap -a |
swapon -a |
(http://www.fanqiang.com)
進入【UNIX論壇】
|
|
| 相關文章 |
主流服務器UNIX操作系統比較(之二)用戶帳號的設置 (2002-04-09 08:02:00) 主流服務器UNIX操作系統比較(之一)目錄結構對比 (2002-04-09 06:02:00)
|
|
|
|
 |
★ 樊強制作 歡迎分享 ★ |