From owner-freebsd-hackers Mon Mar 11 02:16:44 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA27628 for hackers-outgoing; Mon, 11 Mar 1996 02:16:44 -0800 (PST) Received: from snake.hut.fi (root@snake.hut.fi [193.167.6.99]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id CAA27623 for ; Mon, 11 Mar 1996 02:16:41 -0800 (PST) Received: from alpha.hut.fi (alpha.hut.fi [130.233.224.50]) by snake.hut.fi (8.7.3/8.7.3) with ESMTP id MAA02512 for ; Mon, 11 Mar 1996 12:16:31 +0200 (EET) Received: (vode@localhost) by alpha.hut.fi (8.6.11/8.6.7) id MAA22778; Mon, 11 Mar 1996 12:16:31 +0200 Date: Mon, 11 Mar 1996 12:16:31 +0200 Message-Id: <199603111016.MAA22778@alpha.hut.fi> From: Kai Vorma To: hackers@freebsd.org Subject: Re: SUP and statistics. How? In-Reply-To: <199603102037.WAA16090@grumble.grondar.za> References: <199603102037.WAA16090@grumble.grondar.za> Reply-To: Kai.Vorma@hut.fi Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ok. You can grab my sup patches from ftp://ftp.funet.fi/pub/mirrors/sup.freebsd.org/adm/alpha.diffs They assume that yoy have sup.tar.gz from freefall and freebsd patches from ports-collection applied. The patch file is quite big because it has patches for Digital Unix (OSF/1), too. If it breaks anything you can extract accounting changes for files scmio.c supfilesrv.c and apply only those. Note that every outgoing byte is counted for so the results are sup protocol overhead + transferred files. I think this is good thing because in many cases the sup protocol causes much more traffic than the actual data.. If you don't like this then move the accounting from writedata() to writefile(). ..vode