ulimit values are retrieved from where

I would like to know where is the ulimit value stored in the shell. And how to get or modify it using the C program

[122 byte] By [Parasou79a] at [2007-11-27 10:46:34]
# 1

Its not stored in the shell, they're values the OS stores for each process.

The shell just provides a mechanism for querying/setting the OS values.

Try "man getrlimit".

robert.cohena at 2007-7-28 20:19:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

But, that sould have been stored in some files; where is that file and how can i modify the settings without using the ulimit command.

Parasou79a at 2007-7-28 20:19:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

No, it is not stored in a file.

It is stored in the kernel

You can change it in the same way the ulimit command changes it bu using the setrlimit system call.

That only changes it for the current process of course.

If your looking to change the default value, thats another issue.

robert.cohena at 2007-7-28 20:19:40 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...