All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] i/o stats in /proc/net/tcp
@ 2007-04-17 18:43 Robert Hogan
  0 siblings, 0 replies; only message in thread
From: Robert Hogan @ 2007-04-17 18:43 UTC (permalink / raw)
  To: kernel-janitors

This may be a more appropriate question for lkml, but:

Why does /proc/net/tcp not give i/o stats per inode? Briefly looking at 
tcp_ipv4.c and co., it seems none of the sock structures associated with a 
tcp sock contain i/o counters so it may be reasons of non-triviality. That 
said, it does seem as if tcp_input.c and tcp_output.c could implement 
counting if there was a counter available in tcp_sock or the like.

Is there another /proc file that can be used in conjuction with /proc/net/tcp 
to gather per inode i/o stats? 

It just seems like such a natural thing to offer - as a user I'm always 
wondering where that little trickle of i/o on my bw monitor is coming from.

Can someone enlighten me? Where is the best place for this question?


Thanks,
Robert

-- 

KlamAV - An Anti-Virus Manager for KDE - http://www.klamav.net
TorK   - A Tor Controller For KDE      - http://tork.sf.net
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-17 18:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-17 18:43 [KJ] i/o stats in /proc/net/tcp Robert Hogan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.