This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| require 'zlib' | |
| require 'stringio' | |
| require 'oj' | |
| puts ARGV.inspect | |
| Dir.chdir(ARGV[0]) | |
| def idling_unicorn?(line) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'ostruct' | |
| class LinuxProcess < OpenStruct | |
| def initialize(args) | |
| super | |
| read_status! | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| # rubocop:disable Style/GlobalVars | |
| $CPU = 4 | |
| $chruby_version = '0.3.9' | |
| $ruby_install_version = '0.7.0' | |
| $default_ruby_version = '2.7.1' | |
| $ruby_versions = %w[ |
OlderNewer