solrais如何修改ulimit的cpu time?
时间:2011-02-25
来源:互联网
在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
今天想设置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
作者: tgl9 发布时间: 2011-02-25
我记得现在应该用project了。。。
作者: 非凡公子 发布时间: 2011-02-26
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28