I'm running a rails stack on ubuntu.
When I 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 top, the same process show up simply as
ruby
Is there any way to get the ps -AF process name in top?
From serverfault
Ben K.
-
While
topis running, you can presscto toggle between showing the process name and the command line. To remember the toggle state for next time, pressWto save the current configuration to~/.toprc.Ben K. : thanks, this makes my life so much easier!From Phil Ross -
When running top type c to toggle command line/process.
From Iain -
This is more of a general suggestion, than an answer:
Try out
htop. It shows the full process name by default and I think it's much easier to use.From Trey
0 comments:
Post a Comment