[Slackbuilds-users] iotop longer not work

Карабанов Алексей lksj at yandex.ru
Sat Aug 25 07:57:56 UTC 2018


Hello.
After update to Slackware 14.2 i found crash iotop.
Function parse_proc_pid_status(pid) in module data.py read lines from /proc/*/status
and split them by ':\t' delimiter.
Status file can contain empty strings (EOL only).
Therefore, function can't split line.

I created very simple patch for iotop v0.6 to check exist delimiter in string.

However, in git repository http://repo.or.cz/iotop.git/shortlog
exist commits for fixed this problem.

I provide use my patch or use newer version for git repo.

Patch attached.

-- 
С уважением, А.Карабанов
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iotop.patch
Type: text/x-diff
Size: 635 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180825/bf5af7e5/attachment.bin>


More information about the SlackBuilds-users mailing list