*BSD News Article 36692


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!ddsw1!not-for-mail
From: mikebo@MCS.COM (Michael Borowiec)
Newsgroups: comp.unix.bsd
Subject: fork/vfork accounting in the kernel
Date: 7 Oct 1994 17:45:37 -0500
Organization: MCSnet, Chicago Area Public Internet Access
Lines: 14
Message-ID: <374j2h$gev@Mercury.mcs.com>
NNTP-Posting-Host: mercury.mcs.com

SunOS does fork/vfork accounting using a structure called "forkstat",
containing ints cntfork, cntvfork, sizfork, sizvfork. I don't find
any mechanism like this in FreeBSD. It's like six lines and could have 
been put just about anywhere in fork1() or vm_fork() where isvfork is
tested. Do other BSDs have this structure? Am I missing something, or
doesn't anyone (but me) care about this information? 8v)
- Mike

-- 
--------------------------------------------------------------------------
Michael Borowiec			All tied to their things,
mikebo@MCS.COM				they are netted by the strings...
					Free to flutter, in memory of
					their wasted wings...  P.Gabriel