免费注册 查看新帖 |

Chinaunix

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

solrais如何修改ulimit的cpu time? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-02-25 22:27 |只看该作者 |倒序浏览
在solaris10中如何修改ulimit中的项?

今天想设置test1用户ulimit的cpu time项为unlimited,结果没弄明白,好像是在/etc/system中可以设置,但是没找到要设置什么参数! 求助各位达人这东西应该怎么搞,可不可以不重启的情况下设置这个参数

操作如下:

test1@sol10 $cat /etc/release
                      Solaris 10 10/08 s10s_u6wos_07b SPARC
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 27 October 2008

test1@sol10 $ulimit -a
core file size        (blocks, -c) unlimited
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
open files                    (-n) 65536
pipe size          (512 bytes, -p) 10
stack size            (kbytes, -s) 65536
cpu time             (seconds, -t) 81920
max user processes            (-u) 29995
virtual memory        (kbytes, -v) unlimited

test1@sol10 $ulimit -t unlimited
-bash: ulimit: cpu time: cannot modify limit: Not owner

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2011-02-26 15:11 |只看该作者
我记得现在应该用project了。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP