From owner-freebsd-hackers Fri Jul 24 05:50:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA01049 for freebsd-hackers-outgoing; Fri, 24 Jul 1998 05:50:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from IAEhv.nl (root@iaehv.IAEhv.nl [194.151.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA01031 for ; Fri, 24 Jul 1998 05:50:13 -0700 (PDT) (envelope-from graaf@surf.IAE.nl) Received: from surf.IAE.nl (root@surf.IAEhv.nl [194.151.66.2]) by IAEhv.nl (8.8.7/8.8.7) with ESMTP id OAA04315 for ; Fri, 24 Jul 1998 14:49:40 +0200 (CEST) Received: (from graaf@localhost) by surf.IAE.nl (8.8.7/8.8.7) id OAA04892 for freebsd-hackers@freebsd.org; Fri, 24 Jul 1998 14:49:40 +0200 (MET DST) From: Edwin de Graaf Message-Id: <199807241249.OAA04892@surf.IAE.nl> Subject: How do I measure swap activity? To: freebsd-hackers@FreeBSD.ORG Date: Fri, 24 Jul 1998 14:49:40 +0200 (MET DST) X-NCC-RegID: nl.iae X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello hackers, I am looking for a good way to measure how much disk activity is caused by pages being swapped in and out from disk. In the systat -vmstat display there are two kinds of pagers, the VN pager and the SWAP pager. Do both of these cause a disk access? What is the difference between the two? On the other hand I have vmstat which shows the number of page faults, is this the sum of the VN and SWAP pagers? Does each page fault cause a fixed block (4096 bytes?) to be read from disk? Pointers to documents describing these would also be most welcome. Thanks a lot. Best regards, Edwin de Graaf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message