filetop: Fix TypeError by not mixing bytes and str.
When executing the filetop command tool, the following message was generated: Traceback (most recent call last): File "/usr/share/bcc/tools/filetop", line 190, in <module> name = name[:-3] + "..." TypeError: can't concat bytes to str Also, by decoding the bytes we print the strings without a leading "b'" making the output more readable.
Showing
Please register or sign in to comment