From owner-freebsd-hackers Fri Mar 29 5:35:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from p2.cs.ohiou.edu (p2.cs.ohiou.edu [132.235.1.12]) by hub.freebsd.org (Postfix) with ESMTP id 687B437B400 for ; Fri, 29 Mar 2002 05:35:25 -0800 (PST) Received: from localhost (frussell@localhost) by p2.cs.ohiou.edu (8.9.3/8.9.3) with SMTP id IAA25411 for ; Fri, 29 Mar 2002 08:35:22 -0500 (EST) X-Authentication-Warning: p2.cs.ohiou.edu: frussell owned process doing -bs Date: Fri, 29 Mar 2002 08:35:22 -0500 (EST) From: Russell Francis X-Sender: frussell@p2 To: freebsd-hackers@FreeBSD.org Subject: determining context switching? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I was wondering if there is a way to determine the context switching rate? In /usr/include/sys/vmmeter.h the structure struct vmmeter { u_int v_swtch; /* context switches */ . . . } looks like what I want but I can't find a function which returns this data to a user land application. Is this possible? If so how? Thank you much, Russell Francis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message