Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 23:02:07 +0100 (CET)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: login classes info
Message-ID:  <200001062202.XAA33020@dorifer.heim3.tu-clausthal.de>
In-Reply-To: <8522ol$2vpm$1@atlantis.rz.tu-clausthal.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Sue Blake <sue@ahimsa.welearn.com.au> wrote in list.freebsd-questions:
 > Is there anything I can read to expand on what I've already read
 > in the man pages? Perhaps a more verbose How-To or explanation of
 > some terms? For example, terms like "datasize" don't have a lot
 > of meaning right now and I might be missing out on some useful ways
 > to tweak the login.conf file.

"Datasize" is the size of the data segment of a process (i.e.
its variable data).  Basically, the amount of memory it can
malloc (simply speaking).  This is opposed to the "textsize" of
a process, which is its actual program code, and the "stack-
size" which is used for storing local variables and return
addresses of functions.

To be honest, I don't know where these terms are explained.
I think I've read about them in a book about UNIX programming.

The getrlimit(2) manpage says about "datasize":  ``The maximum
size of the data segment for a process; this defines how far a
program may extend its break with the sbrk(2) system call.''
Admittedly, this explanation is not very useful by itself.

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001062202.XAA33020>