Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt tag

ORDOG

Oracle solaris Dependency for Online services Grapher

Information

Ruby script to graph service dependencies for online/enabled services

Version

Current version: 0.1.6

See CHANGELOG.md for the release history.

License

This software is licensed as CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International)

http://creativecommons.org/licenses/by-nc-sa/4.0/legalcode

Usage

$ ordog.rb -[h|V] -i INPUT -o OUTPUT

-h: Print usage information
-V: Print version information
-i: INPUT (input file, default is stdin)
-o: OUTPUT (output file - png, default is ordog.png)

Examples

Process piped input:

$ svcs -l | ordog

Process input from file:

$ ordog -i svcs-l.out

Process from input file and redirect to a named file:

$ ordog -i svcs-l.out -o example.png

Example output:

example.png

Requirements

Graphviz (the dot binary, e.g. apt install graphviz) and the Ruby gems listed in the Gemfile:

  • ruby-graphviz
  • getopt

The script installs missing gems itself on first run. To install them beforehand:

$ bundle install

Run with bundle exec ruby ordog.rb ... if the gems are not installed system-wide.

Help Support Development

If you find this software useful and would like to support its development, please consider buying me a coffee:

https://ko-fi.com/richardatlateralblast

About

A Ruby script to graph Solaris Service dependencies using Graphviz

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages