Solaris 常见问题(14)


kr/s每秒的千字节数
kw/s每秒写的千字节数
wait在设备队列中等待命令的平均数目
actv在处理中的命令的平均数目
svc_t服务时间(* 是指为一条命令服务的平均时间,这里包括为等待在处理队列中前面的命令所耗费的时间)
%w在队列等待时间的百分比
%b设备忙的时间的百分比

11.3.5 sdtperfmeter, sdtprocess
sdtperfmeter是一个图形工具, 它将vmstat的数据作为柱形或条形图. 该工具的最小化版本显示在CDE面板. Sdtprocess显示用某种方式排序的所有进程. 可用于深入察看进程特性, 中断进程等.
11.3.6 32或64位?
Isainfo –kv 显示系统内核是32还是64位. UltraSPACR-II系统自动启动64位内核 ; 在ok状态下, 用boot kernel/unix而不是boot kernel/sparcv9/unix可以明确地装入32位内核 . 而UltraSPARC III只有64位内核.
11.4 调试
11.4.1 Truss,
命令truss 列表应用程序执行过程中所有的系统调用,由于列表中还包含系统调用的参数和返回,因而我们可看到应用程序调用的共享库和配置文件以及它们的文件位置 。
11.4.2 pstack,pmap
"p*-command" 输出属于该进程的详细信息
pstack显示进程的最后一个子程序名
pldd显示共享连接库列表
pmap -x 【Solaris 常见问题】 显示该进程与它的装载模块的内存使用情况
11.4.3 snoop
snoop 输出通过网卡所有的包

11.5 常见问题

1. 启动进程过长
OBP 设置:ls diag-swith?=true ??
2. 不能用FTP登陆,但telnet、ssh可以
在/ect/ftpuser中设置不允许用户FTP登陆
3. VI 不能正确的显示
查看变量term 是否定义,如果没有,设置term=vt100


12 相关参考书籍和站点
12.1 参考书
A valuable collection of Hints&Tricks for UNIX:
Jerry Peek, Tim O"Reilly, Mike Loukides "UNIX Power Tools"
ISBN 1565922603
A detailed view on all UNIX-variants incl. Solaris software and Linux
Evi Nemeth, Garth Snyder, Scott Seebass, Trent R. Hein "UNIX System
Administration Handbook"
ISBN 0130206016
12.2 站点
http://www.sun.comHomepage of Sun Microsystems
http://www.sun.com/bigadminEverything a sys admin needs
http://www.sun.com/blueprintsBlueprints on various topics, monthly additions
http://docs.sun.comAll documentation for Sun products online
http://sunsolve.sun.comTechnical faq"s, infodocs, symptom/resulution database,
patch download etc.
http://www.sunfreeware.comAll Freeware-Tools for Solaris, precompiled
http://www.sunhelp.orgFAQ portal, other information
http://bhami.com/rosetta.htmlA Sysadmin"s Unixersal Translator (ROSETTA STONE)
OR What do they call that (command) in this world (Unix)?

推荐阅读