Giter VIP home page Giter VIP logo

sos_analyze's Introduction

Script used to analyze the sosreport file (focus on Satellite info)

To use it.

  1. Extract the sosreport
# ll
-rw-------. 1 root root 21735576 Mar  7 15:57 sosreport-sat64test-123456-2019-03-07-obvjctv.tar.xz
#

# tar xf sosreport-sat64test-123456-2019-03-07-obvjctv.tar.xz 
# ll
drwx------. 14 root root     4096 Mar  7 15:56 sosreport-sat64test-123456-2019-03-07-obvjctv
-rw-------.  1 root root 21735576 Mar  7 15:57 sosreport-sat64test-123456-2019-03-07-obvjctv.tar.xz
# 
  1. Execute the command as below
<file path or $PATH>/sos_analyze.sh <sosreport_dir>

The output will be similar to below

$ ./sos_analyze.sh sosreport-sat64test-123456-2019-03-07-obvjctv
The sosreport is: sosreport-sat64test-123456-2019-03-07-obvjctv
### Welcome to Report ###
### CEE/SysMGMT ###
## Naming Resolution
## Network Information
## Selinux
## Installed Packages (satellite)
## Subscriptions
## Repos
## Upgrade
## Disk
## Memory
## CPU
## Messages
## Foreman Tasks
## Hammer Ping
## Katello service status
## MongoDB Storage
## PostgreSQL Storage
## Passenger
## Qpidd
## Foreman logs (error)
## Foreman cron
## Httpd
## RHSM
## Virt-who
## Hypervisors tasks
## Tomcat
## Candlepin
## Cron
## Files in etc/cron*
## Foreman Settings
## PostgreSQL

## Please check out the file /tmp/report-sosreport-sat64test-123456-2019-03-07-obvjctv.log
  1. Check the generated report file
$ less /tmp/report-sosreport-sat64test-123456-2019-03-07-obvjctv.log

Note. You will see the file as below. The content is all the commands executed by this script.

internals_help/executed_commands.txt

Hope you enjoy it.

sos_analyze's People

Contributors

aldreygalindo avatar jpasqualetto avatar pdudley avatar rbertol avatar rudneibertoljr avatar waldirio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.