I would like to change the name of the ruby process that gets displayed in the linux/unix top command. I have tried the
$0=\'miname\'
approach
Ruby 2.1 introduced a Process.setproctitle method for this purpose:
Process.setproctitle("My new title")