# \[Newbie\] System Profiler

**URL:** <https://www.ruby-forum.com/t/newbie-system-profiler/175359>\
**Category:** Rails\
**Created:** [September 11, 2009, 7:35pm UTC](https://www.ruby-forum.com/t/newbie-system-profiler/175359 "2009-09-11T19:35:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBKC85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@JBKC85](https://www.ruby-forum.com/u/JBKC85)\
**Post date:** [September 11, 2009, 7:35pm UTC](https://www.ruby-forum.com/t/newbie-system-profiler/175359/1 "2009-09-11T19:35:13Z")

</div>

Hi;

I am fairly new to Rails, and I have been wanting to make a System  
Profiler, one in which is used in a containerized server. (Not  
Virtualization, but one that uses Jails; FreeBSD). However, I am  
getting stumped at where to start, or even some of the simplest  
commands to do this.

This is where I am starting:

I want this to be able to grab the systems PHP Version, MySQL Version,  
Rails, yada yada. Are these going to be simple system calls, or are  
there more advanced approaches (like the mysql.get\_server\_info()) that  
ruby offers?

Secondly, I am going to be introducing a system of authentication  
methods.

1. Administrator of the Server (All Jails, and Backend)
2. Administrator of the ‘Client’ Server (Specific Jail)  
2a. Users of the ‘Client’ Server (Specific Jail)  
In Addition, I will also be keeping track of the following:
3. ‘Client’ Servers ip, name, created/updated, and ‘users’ (Which I  
cant decide whether or not to put this in a table itself, or have  
users point to other tables), and what is ‘turned on’ for the jail  
(php, mysql, etc)
4. 'Client Servers FK to their respective Backend Server, which will  
keep track of what versions are in use (php, mysql)

Pretty much I am add the stage where I know what I want, yet its hard  
to portray and explain…so any help on how to approach such a  
solution would be great.

Please email me back, or reply and I will hopefully start a great  
discussion!

Thanks in Advance,  
Jason C.

---

<div class="post-metadata">

**Author:** ![JBKC85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@JBKC85](https://www.ruby-forum.com/u/JBKC85)\
**Post date:** [September 14, 2009, 3:49pm UTC](https://www.ruby-forum.com/t/newbie-system-profiler/175359/2 "2009-09-14T15:49:27Z")

</div>

Does Anyone have any suggestions? I am completely stumped as I am  
looking…

Jason C.
