Hi, Am Freitag, 20. Apr 2007, 17:12:06 +0900 schrieb Bertram Scharpf: > Running Irb and having a look into the process table looks > like this: > > $ ruby -pe 'sub "\0", "\n"' /proc/30546/cmdline > irb > $ cat /proc/30546/stat > 30546 (irb) S ... > > Now, I'm running a daemon written in Ruby that I want to > appear under its own name rather than "ruby" in ps, pstree, > top and so forth. > [...] > I cannot find it: How does Irb manage to change the process > name in its higher sense? Just when I had dispatched the posting I found it: The shebang line must be the latter of: #!/usr/bin/env ruby #!/usr/bin/ruby Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de