Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #276418

Re: Monitoring a single process

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Monitoring a single process
Date 2025-01-08 04:40 +0100
Message-ID <K2v5f-6yo3-5@gated-at.bofh.it> (permalink)
References <K2irn-6qCu-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Stefan Monnier wrote: 
> Is there a tool somewhere that lets me monitor a single process?
> 
> Something I'd run, passing it a PID and which would display a regularly
> refreshed status of what the process is doing: MB/s read from the
> filesystem, MB/s written to the filesystem, maybe even with more detail
> (actual file name(s) accessed maybe summarized as directories if there
> are too many), same thing for the network, amount of CPU being used,
> ideally even some indication of "where" that CPU time is spent
> (e.g. among the mmaped files containing code, which one contains the
> code where we're spending most of the time?).
> Also, percentage of time spent waiting (and if so, waiting for what
> kind of resource, ...)?

htop is in Stable and can be narrowed down to one user or one
process ID via command line flags.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Monitoring a single process Stefan Monnier <monnier@iro.umontreal.ca> - 2025-01-07 15:10 +0100
  Re: Monitoring a single process Frank Guthausen <fg.debian@shimps.de> - 2025-01-07 16:20 +0100
  Re: Monitoring a single process Michael Stone <mstone@debian.org> - 2025-01-07 16:30 +0100
    Re: Monitoring a single process Michael Stone <mstone@debian.org> - 2025-01-07 16:40 +0100
  Re: Monitoring a single process Max Nikulin <manikulin@gmail.com> - 2025-01-08 03:30 +0100
  Re: Monitoring a single process Nicholas Geovanis <nickgeovanis@gmail.com> - 2025-01-08 04:00 +0100
  Re: Monitoring a single process Dan Ritter <dsr@randomstring.org> - 2025-01-08 04:40 +0100
  Re: Monitoring a single process Stefan Monnier <monnier@iro.umontreal.ca> - 2025-01-17 06:00 +0100
    Re: Monitoring a single process Michel Verdier <mv524@free.fr> - 2025-01-17 10:00 +0100
    Re: Monitoring a single process Max Nikulin <manikulin@gmail.com> - 2025-01-17 16:00 +0100

csiph-web