Scenario / Questions
In the past, all of our servers have automatically shown command arguments passed to rake when we view them in top. For example:
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):
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?
Find below all possible solutions or suggestions for the above questions..
top -c to make top show arguments. Alternatively, just press
c in a running
top to toogle this.
Does the output of
alias show an alias for top?
There is no environment variable that I know about that will change the default behavior of top, as VIRT and CPULOOP do not affect this.
What is the content of /etc/toprc? – that is a system wide configuration file
(there also is a personal config file, but I doubt that you would not know about it)
I would suggest creating/changing /etc/toprc to get the output you want. And get rid of an alias if one exists.
Kubernetes Free Online Tutorial, Kubernetes Beginner Tutorial
DevOps Free Online Tutorial, DevOps Beginner Tutorial
Ansible Free Online Tutorial, Ansible Beginner Tutorial
Docker Free Online Tutorial, Docker Beginner Tutorial
Openstack Free Online Tutorial, Openstack Beginner Tutorial
Disclaimer: This has been sourced from a third party syndicated feed through internet. We are not responsibility or liability for its dependability, trustworthiness, reliability and data of the text. We reserves the sole right to alter, delete or remove (without notice) the content in its absolute discretion for any reason whatsoever.