How to get top command output to show rake arguments?

Posted by wbharding on Server Fault See other posts from Server Fault or by wbharding
Published on 2012-11-30T01:27:36Z Indexed on 2012/11/30 5:08 UTC
Read the original article Hit count: 503

Filed under:
|
|

In the past, all of our servers have automatically shown command arguments passed to rake when we view them in top. For example:

enter image description here

But on this particular server, we get this instead (picture is top running, showing the rake command, but not showing any of the arguments that had been passed to rake):

enter image description here

Both servers are running Ubuntu (though the server without rake commands is a newer flavor of ubuntu). Both run rake through ruby enterprise edition (as powered by rvm). Can't seem to find any documentation on how top chooses what to show in the "command" column, other than the obvious "more data/less data" toggle (all screenshots are shown with the extra data enabled.

Anyone encountered anything similar to this?

© Server Fault or respective owner

Related posts about linux

Related posts about ubuntu