From owner-freebsd-ports Sun Feb 28 13:54:43 1999 Delivered-To: freebsd-ports@freebsd.org Received: from apriori.net (paz.static.shore.net [209.192.153.107]) by hub.freebsd.org (Postfix) with ESMTP id E33E4152F1 for ; Sun, 28 Feb 1999 13:54:40 -0800 (PST) (envelope-from paz@apriori.net) Received: from localhost (paz@localhost) by apriori.net (8.8.8/8.8.8) with SMTP id QAA12056; Sun, 28 Feb 1999 16:55:14 -0500 (EST) (envelope-from paz@apriori.net) Date: Sun, 28 Feb 1999 16:55:14 -0500 (EST) From: paz Reply-To: paz To: Bill Fumerola Cc: freebsd-ports@FreeBSD.ORG Subject: Re: asload & ascpu In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 28 Feb 1999, Bill Fumerola wrote: : On Sun, 28 Feb 1999, paz wrote: : : > The documentation for ascpu says: : > : > "Notes: Avatar Liang : > points out: The FreeBSD version uses the kvm_XXX functions. : > Using these functions requires 'kmem' group privilege. Therefore : > the ascpu binary must setgid to kmem." : > : > Not being well-versed in compiling stuff, this has me stumped. : : This is (sorta) my fault, I tested this from a root xterm before I : imported this port. : : I will fix the install flags appropriatly. Another friend gave me the following advice, and it worked instantly: (as root:) chgrp kmem /usr/local/bin/ascpu chmod 2711 /usr/local/bin/ascpu I'm not sure how else I would have found out, but in this case, just a smidgen more info would have done the trick. Thanks for the nice code, though! What a jazzy desktop... cheers - -- Philip. philip zimmermann paz@apriori.net www.apriori.net ayer, ma usa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message