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

Solution Verified - Updated -


  • 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?


  • Red Hat Enterprise Linux 5
  • sosreport

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content