Hello Dag,
thanks for your quick reply!

On Fri, Jul 07, 2006 at 02:03:42PM +0200, Dag Wieers wrote:
> > please tell me if you need further informations.
> > as a side note it might be worth adding a reportbug hook to
> > automatically list additional informations about the target system.
> 
> Could you try the latest version 0.6.3 ? I might already have fixed it.

with 0.6.3 the problem remains:

~/tmp/dstat-0.6.3$ ./dstat
--cputotal- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl|_read _writ|_recv _send|__in_ _out_|_int_ _csw_
Traceback (most recent call last):
  File "./dstat", line 1906, in ?
    main()
  File "./dstat", line 1853, in main
    o.extract()
  File "./dstat", line 737, in extract
    if not re.match('(md[0-9]+)', name):
  File "/usr/lib/python2.3/sre.py", line 132, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer

> 
> Also add --debug if you still have problems, and send the output from 
> dstat --version. (So that I know what kernel version you're using).

~/tmp/dstat-0.6.3$ ./dstat --debug
Module dstat_cpu24 requires /proc/stat
Module dstat_disk24old requires /proc/stat
Module dstat_net requires /proc/net/dev
Module dstat_page24 requires /proc/stat
Module dstat_sys requires /proc/stat
--cputotal- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl|_read _writ|_recv _send|__in_ _out_|_int_ _csw_
Traceback (most recent call last):
  File "./dstat", line 1906, in ?
    main()
  File "./dstat", line 1853, in main
    o.extract()
  File "./dstat", line 737, in extract
    if not re.match('(md[0-9]+)', name):
  File "/usr/lib/python2.3/sre.py", line 132, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer

and

~/tmp/dstat-0.6.3$ ./dstat --version
Dstat 0.6.3
Written by Dag Wieers <[EMAIL PROTECTED]>
Homepage at http://dag.wieers.com/home-made/dstat/

Platform posix/linux2
Kernel 2.4.26-bytemark-uml-20040706-1
Python 2.3.5 (#2, Jun 13 2006, 23:12:55)
[GCC 4.1.2 20060613 (prerelease) (Debian 4.1.1-4)]

Terminal size: 32 lines, 121 columns

Processors: 1
Pagesize: 4096

/home/godog/tmp/dstat-0.6.3/plugins:
        app, battery, clock, cpufreq, dbus, freespace, gpfs, gpfsop, nfs3, 
nfs3op, nfsd3, nfsd3op, postfix, rpc, rpcd,
        sendmail, thermal, utmp, wifi,
/usr/share/dstat:
        battery, clock, cpufreq, dbus, freespace, gpfs, gpfsop, nfs3, nfs3op, 
nfsd3, nfsd3op, postfix, rpc, rpcd,
        sendmail, thermal, utmp, wifi,

> 
> I probably also require the content from /proc/partitions and/or 
> /proc/diskstat from your system.

here it goes: (/proc/diskstat is not present)

$ cat /proc/partitions
major minor  #blocks  name

  98     0         52 ubd/disc0/disc
  98    16     262144 ubd/disc1/disc
  98    32    3145728 ubd/disc2/disc


thanks,
filippo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to