rush, the Ruby shell and Unix integration library

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    6 Favorites

    rush, the Ruby shell and Unix integration library - Presentation Transcript

    1. Cluster management with the Ruby shell and Unix integration library Adam Wiggins http://rush.heroku.com/ April 18, 2008
    2. bash+ssh are the cornerstone of unix systems administration
    3. but...
    4. Ruby is its own universe
    5. unix = awesome ruby = awesome So put them together and you should get awesome x awesome...
    6. unix = awesome ruby = awesome So put them together and you should get awesome x awesome... ...right?
    7. def start_mongrel # kill any existing mongrels pids = `ssh #{host} \"ps -u #{user} | grep mongrel_rails | grep -v grep | sed -r 's/ *([0-9]+).*$/\\\\1/'\"` `ssh #{host} \"kill #{pids}; sleep 1; kill -9 #{pids}\"` # don't try to restart i

    Adam WigginsAdam Wiggins, 2 years ago

    custom

    3442 views, 6 favs, 2 embeds more stats

    Adam Wiggins\' presentation from the 2008 Silicon V more

    More Info

    © All Rights Reserved

    Go to text version
    • Total Views 3442
      • 3439 on SlideShare
      • 3 from embeds
    • Comments 0
    • Favorites 6
    • Downloads 69
    Most viewed embeds
    • 2 views on http://ww2.press-service.com.pl
    • 1 views on http://surf.googlemashups.com

    more

    All embeds
    • 2 views on http://ww2.press-service.com.pl
    • 1 views on http://surf.googlemashups.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as innappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel

    Categories