system time on top output

Bruce Cran bruce at cran.org.uk
Thu Feb 5 09:20:10 PST 2009


On Thu, 5 Feb 2009 00:00:35 +0200
Omer Faruk Sen <omerfsen at 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


More information about the freebsd-questions mailing list