System Administration & Network Administration
command-line-interface process top ps
Updated Fri, 20 May 2022 11:12:12 GMT

Show full process name in top

I'm running a Rails stack on Ubuntu.

When I call ps -AF, I get a descriptive process name set by the Apache module like

00:00:43 Rails: /var/www...

which is really helpful in diagnosing load issues.

But when I call top, the same process shows up simply as


Is there any way to get the ps -AF process name in top?


While top is running, you can press c to toggle between showing the process name and the command line. To remember the toggle state for next time, press W to save the current configuration to ~/.toprc.