ulimit looks just easy to use but... "-c sets the maximum size of core files created" what is a core file? "-l sets the maximum size that may be locked into memory" What is it? "-m - the maximum resident set size" What is it? "-s the maximum stack size" Is this the maximum stack size of a single program, right? "-t maximum amount of cpu time in seconds" In seconds? Seconds in a minute, or what else? Thanks in advance, Tazio
----- Original Message ----- From: "Tazio Ceri" <praisetazio@tiscalinet.it> To: <suse-linux-e@suse.com> Sent: Thursday, August 30, 2001 7:09 PM Subject: [SLE] Very easy question on ulimit | ulimit looks just easy to use but... | | "-c sets the maximum size of core files created" | | what is a core file? When program crashes it is normal for the operating system to save a copy of the memory image (core file) to disk for the programmer to look at later (this is called post-mortem debugging). This sets a maximum size for any saved core files | "-l sets the maximum size that may be locked into memory" | | What is it? It is possible to prevent a program being swapped out to disk when it's not in use. The reason for this is usually that you get a faster response when you come back to it. If too many programs do this, you could end up with not enough real memory to run the programs that are locked in memory. (I don't know, but I suspect Linux will start ignoring the locks if that happens) | "-m - the maximum resident set size" | | What is it? This is pretty technical - if you needed it you would know what it meant :) | "-s the maximum stack size" | Is this the maximum stack size of a single program, right? Yes, that's right | "-t maximum amount of cpu time in seconds" | In seconds? Seconds in a minute, or what else? Yes - most programs only use a few tenths of a second over their entire running time :) | | Thanks in advance, | | Tazio | | | -- | To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com | For additional commands send e-mail to suse-linux-e-help@suse.com | Also check the FAQ at http://www.suse.com/support/faq and the | archives at http://lists.suse.com | |
On Friday 31 August 2001 20.07, Tazio Ceri wrote:
| "-m - the maximum resident set size" | | What is it?
This is pretty technical - if you needed it you would know what it meant :)
I trust you, but I am just curious :-) Where could I find info on this?
For a very brief explanation, this is from the manpage for top (rss = resident set size) RSS The total amount of physical memory used by the task, in kilobytes, is shown here. For ELF processes used library pages are counted here, for a.out processes not. Anders
participants (3)
-
Alan Lenton
-
Anders Johansson
-
Tazio Ceri