From owner-freebsd-questions@FreeBSD.ORG Fri Feb 2 06:39:51 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C40ED16A400 for ; Fri, 2 Feb 2007 06:39:51 +0000 (UTC) (envelope-from markjayson.alvarez@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 56B6313C467 for ; Fri, 2 Feb 2007 06:39:51 +0000 (UTC) (envelope-from markjayson.alvarez@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so670078uge for ; Thu, 01 Feb 2007 22:39:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=QESz9TZhYH9KD0h/HHJqWFzM78n8vXOD89dRfHCXyRTCRI+uTwWU+ULDrhWw1XqsQhcyzHN1p2ceafFvHMG1A7RaB0uEQnfot98bB8sDNNuqhOgvBf8z7E/tjYpAp9rk5Kwb9HQQAQm3sYuoqN4EJW6j8pP04iNbAYNCDH74ATQ= Received: by 10.78.172.20 with SMTP id u20mr749525hue.1170396817025; Thu, 01 Feb 2007 22:13:37 -0800 (PST) Received: by 10.78.197.7 with HTTP; Thu, 1 Feb 2007 22:13:36 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 14:13:36 +0800 From: "Mark Jayson Alvarez" To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: interpreting "top" output (computing n% cpu usage in actual megahertz) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 06:39:51 -0000 Hi, My goal is to find out how much CPU a program consumes when I execute it. In the manual, it says I can toggle from "raw cpu" mode to "weighted cpu". However, I can't still understand the difference between the two and how it has something to do with my goal. Suppose my computer has a 1.6Ghz pentium 4 processor. I want to know how much is already in use or what percent. I also want to know how much it has increased when I run a particular program so that I can decide if this I can install this program without affecting other existing critical programs. The same goes with memory usage.. "Free doesn't mean that that are all my memory left that is useable right? The "Description of Memory" section just says: Active: number of pages active Inactive: number of pages inactive and so on and so forth without telling what the heck does it mean when a page is inactive and just what does pages means.. Buf, Free, Wired, Cache... don't know what are these either.. Perhaps I should consult wiki or google for this. That's all for now. Thanks.