Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2009 17:20:00 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Omer Faruk Sen <omerfsen@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: system time on top output
Message-ID:  <20090205172000.130a8079@gluon>
In-Reply-To: <75a268720902041400p1db8057bn726907d102efe88c@mail.gmail.com>
References:  <75a268720902041400p1db8057bn726907d102efe88c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Feb 2009 00:00:35 +0200
Omer Faruk Sen <omerfsen@gmail.com> wrote:

> 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?

I've not used it, but I believe DTrace is probably the best tool to
find the cause of the problem.  It's in 7.1 and later.

-- 
Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090205172000.130a8079>