Article Number: 000217358
$ dpkg -l sosreport Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-====================-============-========================================================= ii sosreport 4.4-1ubuntu1.22.04.1 amd64 Set of tools to gather troubleshooting data from a systemIf for some reason the 'sosreport' package is not installed, it can be installed using the below command:
$ sudo apt install sosreportTo generate a sos report in interactive mode, use either of the following commands:
$ sudo sosreport
Or
$ sudo sos report
$ sudo sos report -–batchThe log bundle (and its associated checksum file) is typically saved in /tmp/. Older versions of Linux may save to a different location, but it is specified in the command output.
$ ls /tmp/sosreport* /tmp/sosreport-ubuntu2204-809520-2023-05-09-nhhnjmk.tar.xz /tmp/sosreport-ubuntu2204-809520-2023-05-09-nhhnjmk.tar.xz.sha256Once generated, the user may require a copy of the log bundle on a local system. Usually, users use an SCP utility such as 'WinSCP' to copy and download the file. This only requires SSH access to the server.
Ubuntu Server LTS
14 Sep 2023
2
How To