Bug#631355: dstat: provide mem info in default output

2011-06-24 Thread Dag Wieers

On Thu, 23 Jun 2011, Ritesh Raj Sarraf wrote:


Thank you for maintaining dstat.

It would be convenient if dstat included memory information in default
output. I've attached the patch.


It would be convenient if patched would be send through upstream's github 
interface, so that discussions can be held there as well :-)


That said, the memory output is wide and changes less often than the other 
default dstat plugins shown. So it was a deliberate decision to remove the 
memory output from the default dstat output in order to make it fit in 80 
columns width terminals.


It's very easy to add internal plugins, if you do dstat -am, you basically 
have the output you like. (The default, also -a, is the same as -cdnpy as 
documented in the man-page).


I hope that answers your question sufficiently.
--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#631355: dstat: provide mem info in default output

2011-06-23 Thread Ritesh Raj Sarraf
Package: dstat
Version: 0.7.2-2
Severity: wishlist
Tags: patch

Thank you for maintaining dstat.

It would be convenient if dstat included memory information in default
output. I've attached the patch.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dstat depends on:
ii  python2.6.6-14   interactive high-level object-orie

dstat recommends no packages.

dstat suggests no packages.

-- no debconf information
220,221c220,221
 print 'You did not select any stats, using -cdngy by default.'
 self.plugins = [ 'cpu', 'disk', 'net', 'page', 'sys' ]
---
 print 'You did not select any stats, using -cdngym by default.'
 self.plugins = [ 'cpu', 'disk', 'net', 'page', 'sys', 'mem' ]