| Summary: | smem is not working properly and missing its man page | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Malo Deniélou <pmdenielou> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | martynvidler, sysadmin-bugs |
| Version: | 3 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | MGA3-32-ok MGA3-64-ok | ||
| Source RPM: | smem | CVE: | |
| Status comment: | |||
|
Description
Malo Deniélou
2013-06-28 18:14:23 CEST
Additionally, smem does not work properly:
Steps to Reproduce:
1. > smem
PID User Command Swap USS PSS RSS
2. See that no process information is actually displayed
And it fails for some options.
Steps to Reproduce:
1. > smem -u
Traceback (most recent call last):
File "/usr/bin/smem", line 676, in <module>
showusers()
File "/usr/bin/smem", line 392, in showusers
pt = usertotals(p)
File "/usr/bin/smem", line 369, in usertotals
maps = pidmaps(pid)
File "/usr/bin/smem", line 153, in pidmaps
start, end = f[0].split('-')
ValueError: need more than 1 value to unpackStatus:
NEW =>
ASSIGNED I have uploaded a patched and updated package for Mageia 3. You can test this by just running smem, smem -u, and other smem options and see that it now works. This is an easy one for QA trainees :-). Suggested advisory: ======================== Updated smem packages fix a parsing issue in user info which made smem report an empty list of processes and made smem -u crash. This update also adds the missing man page (patch by danf). ======================== Updated packages in core/updates_testing: ======================== smem-1.2-2.2.mga3.noarch.rpm Source RPMs: smem-1.2-2.2.mga3.src.rpm Assignee:
pierre-malo.denielou =>
qa-bugs MGA3 32 Tested Installed smem 1.2.2mga3 As reported comment 1 it failed same results rsync://www.mirrorservice.org/mageia.org/pub/mageia/distrib/3/i586/media/core/updates_testing/smem-1.2-2.2.mga3.noarch.rpm installing smem-1.2-2.2.mga3.noarch.rpm from /var/cache/urpmi/rpms Preparing... ##### 1/1: smem ##### 1/1: removing smem-1.2-2.mga3.noarch man smem works >smem Now produces output >smem -u User Count Swap USS PSS RSS spiky 45 0 341788 381666 620236 smem --pie option works smem --bar option works Used most of the options all worked Test complete MGA3 32 CC:
(none) =>
martynvidler Tested MGA3 64 ok Carried out same tests as comment 3 Eveything worked Validating smem-1.2-2.2.mga3.noarch.rpm Can sysadmin push from core_updates_testing to core_updates Thank you Keywords:
(none) =>
validated_update Advisory uploaded http://advisories.mageia.org/MGAA-2013-0042.html Status:
ASSIGNED =>
RESOLVED
Nicolas Vigier
2014-05-08 18:04:20 CEST
CC:
boklm =>
(none) |