views:

2001

answers:

2

Hello,

I am a little concern with the amount of resources that I can use in a shared machine. Is there any way to test if the administrator has a limt in the amount of resources that I can use?. And if does, to make a more complete question, how can I set up such limit?.

Thank you.

+2  A: 

For process related limits, you can have a look in /etc/security/limits.conf (read the comments in the file, use google or use man limits.conf for more information). And as jpalecek points out, you may use ulimit -a to see (and possibly modify) all such limits currently in effect.

You can use the command quota to see if a disk quota is in effect.

matli
All the inputs are commented,does that mean that there is no limit?.
Eduardo
Most probably, at least regarding CPU and memory usage. For disk usage I think you will need to check with the quota command
matli
+2  A: 

You can try running

ulimit -a

to see what resource limits are in effect. Also, if you are allowed to change such limits, you can change them by the ulimit command, eg.

ulimit -c unlimited

lifts any limit for a size of a core file a process can make.

jpalecek