Hi

Dne Thu, 31 Dec 2009 10:51:14 +0100
Michael Prokop <m...@debian.org> napsal(a):

> * Michal Čihař <ni...@debian.org> [20091231 08:31]:
> > Dne Wed, 30 Dec 2009 23:33:43 +0100
> > Michael Prokop <m...@debian.org> napsal(a):
> 
> > > % smem --pie=name
> > > Traceback (most recent call last):
> > >   File "/usr/bin/smem", line 636, in <module>
> > >     showpids()
> > >   File "/usr/bin/smem", line 246, in showpids
> > >     showtable(pt.keys(), fields, columns.split(), options.sort or 'pss')
> > >   File "/usr/bin/smem", line 455, in showtable
> > >     showpie(l, sort)
> > >   File "/usr/bin/smem", line 498, in showpie
> > >     while values and (t + values[-1 - c] < (tm * .02) or
> > > IndexError: list index out of range
> 
> > It works for me. Can you please create snapshot of proc data smem uses
> > by using /usr/share/doc/smem/examples/capture script and send it to me?
> 
> Available at http://grml.org/tmp/smem_kvm.tgz
> sha1: cc708a3443aeb54a40781fe74d91cea0b40dd989
> (It's a kvm session with 512 MB of memory.)

Unfortunately I can't reproduce your problem with this snapshot.

> Please notice that /usr/share/doc/smem/examples/capture uses bashism
> (brace expansion) and doesn't work out of the box when /bin/sh
> doesn't point to /bin/bash:
> 
> | cp: failed to get attributes of `/proc/[0-9]*': No such file or directory
> 
> Using /bin/bash for shebang line fixes this issue.

Thanks, fixed in svn.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to