How to automate creating sosreport in Red Hat Enterprise Linux 5 without user interaction?

Solution Verified - Updated -

Issue

  • In Red Hat Enterprise Linux 6 shipped version of sosreport, there is an option --batch which run the command sosreport without any user interaction, is there any way to make the same possible in Red Hat Enterprise Linux 5?
  • Need to set up a crontab to capture sosreport automatically, but in Red Hat Enterprise Linux 5, no --batch mode available, how can that be done?

Environment

  • Red Hat Enterprise Linux 5
  • sosreport

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.