Note that this blog post has been archived. Information may be out of date or incorrect.

ps showing user id insted of username

Today I had a weird problem with “ps”, which wouldn’t display the username of a certain process no matter what I did. The reason was, that ps doesn’t seem to display usernames longer than 8 characters. So you have to live with it, or just rename your user accordingly.

This is where I found the solution.