Ruby for system administration

Phil Tomson wrote:

In article <a0611044ebd6643589e7b@[192.168.0.100]>,

Easily solved - change the name of your executable to perl and no one bats an eyelid if it hogs the cpu :slight_smile:

I suspect that this is a tongue-in-cheek suggestion since renaming the ruby executable to perl would break some things that might actually need perl.

Then rename it to Perl6. :wink:

Hal

ยทยทยท

Keith P Hodges <keith_hodges@yahoo.co.uk> wrote:

sort of like sudo, but something like:
> runas perl ruby foo.rb ?

  runas <name of program you want to show in process table> command

....not that I'm trying to promote subversiveness; just curious.

#! /usr/bin/ruby

$0 = 'perl'

loop do
   do stuff
end

Then rename it to Perl6. :wink:
Hal

or... perl++ ?
(though this is obviously an unfair understatement to ruby !!)

ยทยทยท

--
--- vruz