Thursday, June 4, 2015

Centos Linux Status Reporting with xsos

Centos linux status can be read from so many ways. Ryan Sawhill provides a nice layout of so many reporting formats in xsos. The source and documentation is fairly well prepared at https://github.com/ryran/xsos

Requirements: one of it is BASH 4

Step 1: Download xsos and make it executable. Use root access.

wget -O /usr/local/bin/xsos bit.ly/xsos-direct
chmod +x /usr/local/bin/xsosa

Step 2: Run xsos

Example of some of the reports;

1. Display the help commands
$ xsos -h

2. Display OS and memory information
$ xsos -om



3. Display CPU, LSPCI and Network devices
$ xsos -cln


4. Display sysctls info
$ xsos -sysctl

It is a really handy tool to prepare documentation and analyse status for troubleshooting.


No comments: