How do I run a Ruby script on Linux and have the name of the script show up in TOP COMMAND instead of Ruby?
I have a bunch of scripts that run periodically as part of Gitorious, they all show up in top
under command
as Ruby
ho开发者_如何学JAVAw do I get them to show the actual script name that is running?
Hit the letter 'c' while top is running, it toggles display between command name and line
精彩评论