免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3625 | 回复: 3
打印 上一主题 下一主题

请教:如何用命令察看solaris的系统是32位或者64位? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-22 09:19 |只看该作者 |倒序浏览
如何用命令察看solaris的系统是32位或者64位?我只知道用dmesg,还有别的命令吗?

论坛徽章:
0
2 [报告]
发表于 2005-07-22 09:22 |只看该作者

请教:如何用命令察看solaris的系统是32位或者64位?

isainfo -b

论坛徽章:
0
3 [报告]
发表于 2005-07-22 09:30 |只看该作者

请教:如何用命令察看solaris的系统是32位或者64位?

isalist –v

论坛徽章:
0
4 [报告]
发表于 2005-07-22 09:31 |只看该作者

请教:如何用命令察看solaris的系统是32位或者64位?

6.显示cpu使用率最高的进程  
# ps –eo pid,pcpu,args | sort +1n  
该命令输出当前系统进程的pid, CPU占用率及命令描述,并以pcpu来排序  
7.显示内存占用率最高的进程  
# ps –eo pid,vsz,args | sort +1n  
该命令输出当前系统进程的pid,内存占用率及命令描述,并以vsz来排序  
8.查看及启动系统的32位或64位内核模式  
64位模式  
# isalist –v  
sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc  
# isainfo –v  
64-bit sparcv9 applications  
32-bit sparc applications  
# isainfo –b  
64  
启动64位内核模式  
ok. boot kernel/sparcv9/unix  
32位模式  
# isalist –v  
sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc  
# isainfo –v  
32-bit sparc applications  
# isainfo –b  
32  
启动32位模式  
ok. boot kernel/unix  
9.查看当前的OpenWindows版本  
# showrev –w  
OpenWindows version:  
X11 Version 6.4.1 5 November 2001  
10.查看当前CDE的版本  
# /usr/ccs/bin/what /usr/dt/bin/dtmail  
/usr/dt/bin/dtmail:  
CDE Version 1.4.6_06  
CDEVersion1.4.6_06  
11.测定当前的显示器刷新频率  
/usr/sbin/fbconfig –rev \?  
Valid values for -res option are:  
1024x768x60 [1]  
1024x768x70 [1]  
1024x768x75 [1] [2]  
1024x768x77  
1024x800x84  
1152x900x66  
1152x900x76  
1280x800x76 [1] [2]  
1280x1024x60 [1] [2]  
1280x1024x67  
1280x1024x76  
1280x1024x85 [1] [2]  
960x680x112s  
960x680x108s  
640x480x60 [1] [2]  
640x480x60i [1]  
768x575x50i [1]  
1440x900x76 [1] [2]  
1600x1000x66 [1] [2]  
1600x1000x76 [1] [2]  
1600x1280x76 [1] [2]  
1920x1080x72 [1] [2]  
1920x1080x76 [1] [2]  
1920x1200x70 [1] [2]  
1920x1200x75 [1] [2]  
svga [1]  
1152  
1280  
stereo  
vga [1] [2]  
ntsc [1]  
pal [1]  
none  
Notes:  
[1] monitor does not support this resolution.  
[2] this version of FFB (FFB1) does not support this resolution  
12.查看系统配置  
# /usr/platform/sun4u/sbin/prtdiag –v  
System Configuration: Sun Microsystems sun4u Sun Enterprise 450 (2 X UltraSPAR  
C-II 432MHz)  
System clock frequency: 86 MHz  
Memory size: 1024 Megabytes  
Run Ecache CPU CPU  
Brd CPU Module MHz MB Impl. Mask  
--More--  
--- --- ------- ----- ------ ------ ----  
SYS 1 1 432 4.0 US-II 10.0  
SYS 3 3 432 4.0 US-II 10.0  
Interlv. Socket Size  
Bank Group Name (MB) Status  ---- ----- ------ ---- ------  
0 none 1901 256 OK  
0 none 1902 256 OK  
0 none 1903 256 OK  
0 none 1904 256 OK  
0 none 1701 256 OK  
0 none 1702 256 OK  ========================= IO Cards =========================
No failures found in System  ===========================  
========================= Environmental Status =========================  
System Temperatures (Celsius):  ------------------------------  
AMBIENT 20  
CPU 1 40  
CPU 3 40  =================================  
Front Status Panel:  -------------------  
Keyswitch position is in On mode.  
System LED Status: POWER GENERAL ERROR ACTIVITY  
[ ON] [OFF] [ ON]  
DISK ERROR THERMAL ERROR POWER SUPPLY ERROR  
[OFF] [OFF] [OFF]  
Disk LED Status: OK = GREEN ERROR = YELLOW  
DISK 2: [OK] DISK 3: [OK]  
DISK 0: [OK] DISK 1: [EMPTY]  =================================  
Fans:  -----  
Fan Bank Speed Status  -------- ----- ------  
CPU 49 OK  
PWR 31 OK  
Power Supplies:  ---------------  
Supply Rating Temp Status  ------ ------ ---- ------  
0 550 W 33 OK  
1 550 W 33 OK  ========================= HW Revisions ========================  
ASIC Revisions:  ---------------  
STP2223BGA: Rev 4  
STP2223BGA: Rev 4  
STP2223BGA: Rev 4  
STP2003QFP: Rev 1  
STP2205BGA: Rev 1  
System PROM revisions:  ----------------------  
OBP 3.20.0 2000/10/24 10:47 POST 6.1.0 2000/10/24 10:49  
# sysdef  *  
* Hostid  *  
80fee99b  *  
* sun4u Configuration  
* Devices  *  
packages (driver not attached)  
terminal-emulator (driver not attached)  
deblocker (driver not attached)  
obp-tftp (driver not attached)  
disk-label (driver not attached)  
SUNW,builtin-drivers (driver not attached)  
sun-keyboard (driver not attached)  
ufs-file-system (driver not attached)  
chosen (driver not attached)  
openprom (driver not attached)  
client-services (driver not attached)  
options, instance #0  
aliases (driver not attached)  
memory (driver not attached)  
virtual-memory (driver not attached)  
associations (driver not attached)  
slot2disk (driver not attached)  
slot2led (driver not attached)  
slot2dev (driver not attached)  
pci, instance #0  
ebus, instance #0  
auxio (driver not attached)  
……
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP