免费注册 查看新帖 |

Chinaunix

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

请问solaris8下怎样offline 一个cpu,然后又怎么online回去? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-30 11:22 |只看该作者 |倒序浏览
请问solaris8下怎样offline 一个cpu,然后又怎么online回去?
需要重启机器吗?

论坛徽章:
0
2 [报告]
发表于 2003-09-30 13:46 |只看该作者

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

psradm -f cpu-id

论坛徽章:
0
3 [报告]
发表于 2003-10-01 00:38 |只看该作者

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

"psadm -f cpu-id"
What would happen if something is running on that CPU?

论坛徽章:
0
4 [报告]
发表于 2003-10-02 08:59 |只看该作者

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

[quote]原帖由 "woh"]psradm -f cpu-id[/quote 发表:


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

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

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

论坛徽章:
0
5 [报告]
发表于 2003-10-02 18:45 |只看该作者

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

好象老外都使用psrset命令吧
gang5415 该用户已被删除
6 [报告]
发表于 2003-10-02 23:13 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
7 [报告]
发表于 2003-10-05 21:10 |只看该作者

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

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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP