Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Toby Haynes <thaynes@ca.ibm.com>
To: gdb@sourceware.org
Subject: Re: GDB using a lot of CPU time and writing a lot to disk on startup
Date: Wed, 22 Apr 2009 19:18:00 -0000	[thread overview]
Message-ID: <OFACA06328.7750268E-ON852575A0.005FD7CB-852575A0.00629D06@ca.ibm.com> (raw)
In-Reply-To: <588223.49333.qm@web52003.mail.re2.yahoo.com>

Nick Savoiu <savoiu@yahoo.com> wrote on 22/04/2009 01:21:24 PM:
> There are some reads from time to time but the writes are a constant.
> Is there a way to determine the process that actually does the writing?

pidstat (part of the sysstat package) can report on which processes are 
producing disk I/O on Linux kernels 2.6.20 and later. For example, to 
monitor which processes are doing I/O over the next sixty seconds with 
reports every 10 seconds.

pidstat -d -t 10 6

Cheers,
Toby Haynes


      parent reply	other threads:[~2009-04-22 17:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-20 23:40 Nick Savoiu
2009-04-20 23:48 ` Paul Pluzhnikov
2009-04-20 23:55   ` Daniel Jacobowitz
2009-04-21  0:17     ` Paul Pluzhnikov
2009-04-21  5:22       ` Nick Savoiu
2009-04-21 15:52         ` Mark Kettenis
2009-04-21 19:04           ` Nick Savoiu
2009-04-21 19:52             ` Eli Zaretskii
2009-04-22  6:42               ` Jonas Maebe
2009-04-22 17:23                 ` Nick Savoiu
2009-04-22 17:35                   ` Nick Savoiu
2009-04-22 17:39                     ` Michael Snyder
2009-04-22 17:57                   ` Jonas Maebe
2009-04-22 19:18                   ` Toby Haynes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFACA06328.7750268E-ON852575A0.005FD7CB-852575A0.00629D06@ca.ibm.com \
    --to=thaynes@ca.ibm.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox