My Oracle Support Banner

Oracle Linux: How To Set Persistent Alternate Directory For sosreport(1) In OL 5 & 6? (Doc ID 2163650.1)

Last updated on MAY 26, 2021

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.


By default, the sosreport(1) tool places its output into the /tmp directory.  This can be changed each time the command is run.  If a persistent change is desired, this document provides several techniques .


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Use A Shell Alias
 Use a Shell Wrapper Command

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.