Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text is garbled if the user name is long #28

Closed
laszlokertesz opened this issue Feb 11, 2016 · 0 comments · Fixed by #36
Closed

Text is garbled if the user name is long #28

laszlokertesz opened this issue Feb 11, 2016 · 0 comments · Fixed by #36

Comments

@laszlokertesz
Copy link

I compiled nethogs from source. It works but the output is messed up if the user name is long. Here i have a user name in the form of abcdef.abcdefg@abcdefg.abcd (Active Directory user).
Here is the line with a process called iceweasel:

2957 abcdef.abiceweaseldefg.abcd br0 2.913 13.272 KB/sec

Notice that the first 9 letters are followed by the program name then followed by some other letters from the user name.

@raboof raboof closed this as completed in #36 Mar 2, 2016
raboof added a commit that referenced this issue Mar 2, 2016
Truncate user names when necessary (fixes #28) and fix alignment of sent/received fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant