Ruby on Rails monitoring tool for monitoring system performance (cpu & memory usage)
1. Add this line to your application's Gemfile:
gem 'uzebba'
OR get it from git:
gem 'uzebba', git: 'git://github.com/ohiodn8/uzebba.git'
And then execute:
$ bundle install
2. Run Generator:
$ rails generate uzebba:install
Run Migration:
$ rails db:migrate
In routes.rb
mount Uzebba::Engine => "/uzebba"
Visit: http://localhost:3000/uzebba
This gem is a monitoring tool that monitors cpu and memory usage. The gem is based off of a tutorial that I decided to package as a gem. The gem heavily depends on the crono gem to handle background process, and chartkick gem for the monitoring charts. You don't have to install chartkick or crono as the uzebba gem will handle the installation.
For Windows: when you start the rails server, the gem will open a new cmd minimized on the taskbar. When you stop the rails server the application will also close the minimized cmd. This is the gem's way of imitating a Linux background process to handle the crono process.
For Linux: when you start the rails server, the crono process will run in background; and when you stop the rails server, the crono process should stop. [To stop the process via the terminal, you have to do ]ps aux | grep crono
to view the crono pid, and kill -s sigterm [pid]
to terminate the process.
Do not use in production.
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.