• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

请问solaris8下怎样offline 一个cpu,然后又怎么online回去?

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 21次 | 进入软件测试论坛讨论

领测软件测试网
请问solaris8下怎样offline 一个cpu,然后又怎么online回去?
需要重启机器吗?

 woh 回复于:2003-09-30 13:46:06
psradm -f cpu-id

 williamw2000 回复于:2003-10-01 00:38:12
"psadm -f cpu-id"
What would happen if something is running on that CPU?

 guchengman 回复于:2003-10-02 08:59:59
[quote:386115cc00="woh"]psradm -f cpu-id[/quote:386115cc00]

具体也没有去试,
参考一下吧.

prsradm -f procid 将处理器procid设为离线.
-n 让指定处理器在线.
-a 作用于所有处理器.
-v 对每次操作尝试的结果显示一条信息.

只有超级用户和系统管理员才能执行这条命令,
如果有LWP被绑定在某处理器上,那么该处理器不能设为离线.

 mmmmn 回复于:2003-10-02 18:45:27
好象老外都使用psrset命令吧

 gang5415 回复于:2003-10-02 23:13:00
我感觉这些命令,大家根本用不上的,它好像是主机内含有多块系统板时,才会用到的。

 rocazj 回复于:2003-10-05 21:10:36
1、psradm - change processor operational status
     The  psradm utility changes the operational status  of  pro-
     cessors.  The  legal  states  for the processor are on-line,
     off-line, and no-intr.

     An on-line processor processes LWPs (lightweight  processes)
     and may be interrupted by I/O devices in the system.

     An off-line processor does not process any LWPs. Usually, an
     off-line  processor  is  not interruptible by I/O devices in
     the system.  On some processors or under certain conditions,
     it may not be possible to disable interrupts for an off-line
     processor. Thus, the actual effect  of  being  off-line  may
     vary from machine to machine.

     A no-intr processor processes LWPs but is not  interruptible
     by I/O devices.

     -i    Set the specified processors no-intr.

     -n    Bring the specified processors on-line.

     -v    Output a message giving the results of each  attempted
           operation.

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网