From owner-freebsd-questions@FreeBSD.ORG Wed Feb 4 22:00:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCD9A1065670 for ; Wed, 4 Feb 2009 22:00:36 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-fx0-f17.google.com (mail-fx0-f17.google.com [209.85.220.17]) by mx1.freebsd.org (Postfix) with ESMTP id 452B38FC2B for ; Wed, 4 Feb 2009 22:00:36 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: by fxm10 with SMTP id 10so982788fxm.19 for ; Wed, 04 Feb 2009 14:00:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=IBcF642V2tsSMZ5BrDcgxZZGheGzr+duaMB7/blVdvk=; b=bLyj58JcaBWPvUHEMc7JI4JJlyr8IBu6dOrzEq3aMaOVAJNVq9U/Xu7reWnfgT/ZLI z8rNDd5TPIJznYQdjOwoEyFm/oFP92l2fSzHcN1YObx+OfQotbdWr7ACr++A+614v/Wz YPG8gu8PF+xDV0R2+3FVlmE6VT5D2rMcujfM0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=VbWSuPOV+3S8gdayUBKxk+NAU8ncOu4ztTG3rGwNmlkbEICL2S3d1kvTxgKdWe7NvA C5VOE/Mns57a2KI5eKQDSJU1LUE1XaZbzAeDALLb4A6btD139tactpn0Uh+h5sBW4aa9 cfg7322VoDd4H+6dz0Xlyr3/vCIXtbvtz4HQs= MIME-Version: 1.0 Received: by 10.181.206.7 with SMTP id i7mr821637bkq.126.1233784835215; Wed, 04 Feb 2009 14:00:35 -0800 (PST) Date: Thu, 5 Feb 2009 00:00:35 +0200 Message-ID: <75a268720902041400p1db8057bn726907d102efe88c@mail.gmail.com> From: Omer Faruk Sen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: system time on top output 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: Wed, 04 Feb 2009 22:00:37 -0000 Hi, I have a running pgsql server but on heavy loads it consumes lots of time in system (more than %50). I can see that CPU states: 15.4% user, 0.0% nice, 81.9% system, 1.5% interrupt, 1.2% idle But how can I debug that kind of system. vmstat and other tools only show most cpu is used by system. But how can I go deeper and debug that kind of a problem? Any tools that you can suggest me?