Package: smem
Version: 1.4-2
Severity: important


hi,

there is no problem when you run it as normal user. But when you run it as root 
and there are users logged on which have more then the usual 8 characters as 
username then the coulums of the table will float around which is not nice to 
read and impossible to import in Spreadsheet application. Please fix that by 
also chop away the end of long usernames like it is still done on to long 
commands so that the table is viewed correct.

Example:


$ sudo smem
  PID User     Command                         Swap      USS      PSS      RSS 
 1979 xxxx     XXXXXXXXXXXXXXXXXXXXXXXXXXX      388        0        2      120 
 2401 xxxx     XXXXXXXXXXXXXXXXXXXXXXXXXXX      388        0        2      120 
 3191 xxxx     xxxxxxxxxxxxxxxxxxxxxxxxxxx      396        0        2       72 
 4833 xxxx     XXXXXXXXXXXXXXXX                 156        0        2      116 
 4834 xxxx     XXXXXXXXXXXXXXXX                 164        0        2      116 
[...]
25659 yyyyyy   YYYYYYYYYYYYY                 174840    23664    23806    27348 
23726 yyyyyy   YYYYYYYYYY                     93732    25392    25783    31276 
15939 yyyyyy   YYYYYYYYYYYYYYYYYYYYYYY        29056    30640    30855    32704 
30283 zzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzz     5344    30764    30961    
32852 
 5139 yyyyyy   YYYYYYYYYYYYYYYYYYYYYYYYYYY    48884    31760    33491    35716 
[...]

So you see as given on the zzzz line there is an user which has some more then 
8 chars in his name (10) which is braking the whole formatting and makes it 
unable to import data in spreadsheet software.

Thanks for a fix and keep up the good work.

treaki


-- System Information:
Debian Release: 8.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages smem depends on:
pn  python:any  <none>

Versions of packages smem recommends:
ii  python-matplotlib  1.4.2-3.1

smem suggests no packages.

-- debconf-show failed

Reply via email to