sosreport -version (return code: 0)
sosreport (version 3.2.0a1)
plugin acpid requires root permissionsto execute, skipping
plugin activemq requires root permissionsto execute, skipping
plugin anacron requires root permissionsto execute, skipping
plugin apache requires root permissionsto execute, skipping
plugin apparmor requires root permissionsto execute, skipping
plugin apport requires root permissionsto execute, skipping
plugin apt requires root permissionsto execute, skipping
plugin ata requires root permissionsto execute, skipping
plugin auditd requires root permissionsto execute, skipping
plugin autofs requires root permissionsto execute, skipping
plugin azure requires root permissionsto execute, skipping
plugin block requires root permissionsto execute, skipping
plugin boot requires root permissionsto execute, skipping
plugin ceph requires root permissionsto execute, skipping
plugin cgroups requires root permissionsto execute, skipping
plugin cobbler requires root permissionsto execute, skipping
plugin corosync requires root permissionsto execute, skipping
plugin cron requires root permissionsto execute, skipping
plugin ctdb requires root permissionsto execute, skipping
plugin cups requires root permissionsto execute, skipping
plugin dbus requires root permissionsto execute, skipping
plugin devicemapper requires root permissionsto execute, skipping
plugin devices requires root permissionsto execute, skipping
plugin dhcp requires root permissionsto execute, skipping
plugin dmraid requires root permissionsto execute, skipping
plugin docker requires root permissionsto execute, skipping
plugin dovecot requires root permissionsto execute, skipping
plugin dpkg requires root permissionsto execute, skipping
plugin filesys requires root permissionsto execute, skipping
plugin gdm requires root permissionsto execute, skipping
plugin general requires root permissionsto execute, skipping
plugin grub requires root permissionsto execute, skipping
plugin grub2 requires root permissionsto execute, skipping
plugin haproxy requires root permissionsto execute, skipping
plugin hardware requires root permissionsto execute, skipping
plugin hpasm requires root permissionsto execute, skipping
plugin i18n requires root permissionsto execute, skipping
plugin infiniband requires root permissionsto execute, skipping
plugin iprconfig requires root permissionsto execute, skipping
plugin ipsec requires root permissionsto execute, skipping
plugin ipvs requires root permissionsto execute, skipping
plugin iscsitarget requires root permissionsto execute, skipping
plugin java requires root permissionsto execute, skipping
plugin juju requires root permissionsto execute, skipping
plugin kdump requires root permissionsto execute, skipping
plugin kernel requires root permissionsto execute, skipping
plugin kimchi requires root permissionsto execute, skipping
plugin krb5 requires root permissionsto execute, skipping
plugin kvm requires root permissionsto execute, skipping
plugin landscape requires root permissionsto execute, skipping
plugin last requires root permissionsto execute, skipping
plugin ldap requires root permissionsto execute, skipping
plugin libraries requires root permissionsto execute, skipping
plugin libvirt requires root permissionsto execute, skipping
plugin lightdm requires root permissionsto execute, skipping
plugin lilo requires root permissionsto execute, skipping
plugin logrotate requires root permissionsto execute, skipping
plugin logs requires root permissionsto execute, skipping
plugin lsbrelease requires root permissionsto execute, skipping
plugin lvm2 requires root permissionsto execute, skipping
plugin maas requires root permissionsto execute, skipping
plugin md requires root permissionsto execute, skipping
plugin memory requires root permissionsto execute, skipping
plugin mongodb requires root permissionsto execute, skipping
plugin mpt requires root permissionsto execute, skipping
plugin multipath requires root permissionsto execute, skipping
plugin mysql requires root permissionsto execute, skipping
plugin named requires root permissionsto execute, skipping
plugin networking requires root permissionsto execute, skipping
plugin nfs requires root permissionsto execute, skipping
plugin nis requires root permissionsto execute, skipping
plugin nscd requires root permissionsto execute, skipping
plugin ntp requires root permissionsto execute, skipping
plugin numa requires root permissionsto execute, skipping
plugin openssl requires root permissionsto execute, skipping
plugin openstack_ceilometer requires root permissionsto execute, skipping
plugin openstack_cinder requires root permissionsto execute, skipping
plugin openstack_glance requires root permissionsto execute, skipping
plugin openstack_heat requires root permissionsto execute, skipping
plugin openstack_horizon requires root permissionsto execute, skipping
plugin openstack_ironic requires root permissionsto execute, skipping
plugin openstack_keystone requires root permissionsto execute, skipping
plugin openstack_neutron requires root permissionsto execute, skipping
plugin openstack_nova requires root permissionsto execute, skipping
plugin openstack_sahara requires root permissionsto execute, skipping
plugin openstack_swift requires root permissionsto execute, skipping
plugin openstack_trove requires root permissionsto execute, skipping
plugin openswan requires root permissionsto execute, skipping
plugin openvswitch requires root permissionsto execute, skipping
plugin pacemaker requires root permissionsto execute, skipping
plugin pam requires root permissionsto execute, skipping
plugin pci requires root permissionsto execute, skipping
plugin pcp requires root permissionsto execute, skipping
plugin postfix requires root permissionsto execute, skipping
plugin postgresql requires root permissionsto execute, skipping
plugin powerpc requires root permissionsto execute, skipping
plugin ppp requires root permissionsto execute, skipping
plugin procenv requires root permissionsto execute, skipping
plugin process requires root permissionsto execute, skipping
plugin processor requires root permissionsto execute, skipping
plugin psacct requires root permissionsto execute, skipping
plugin ptp requires root permissionsto execute, skipping
plugin puppet requires root permissionsto execute, skipping
plugin pxe requires root permissionsto execute, skipping
plugin python requires root permissionsto execute, skipping
plugin rabbitmq requires root permissionsto execute, skipping
plugin radius requires root permissionsto execute, skipping
plugin s390 requires root permissionsto execute, skipping
plugin samba requires root permissionsto execute, skipping
plugin sar requires root permissionsto execute, skipping
plugin scsi requires root permissionsto execute, skipping
plugin sendmail requires root permissionsto execute, skipping
plugin services requires root permissionsto execute, skipping
plugin snmp requires root permissionsto execute, skipping
plugin soundcard requires root permissionsto execute, skipping
plugin squid requires root permissionsto execute, skipping
plugin ssh requires root permissionsto execute, skipping
plugin sssd requires root permissionsto execute, skipping
plugin system requires root permissionsto execute, skipping
plugin systemd requires root permissionsto execute, skipping
plugin systemtap requires root permissionsto execute, skipping
plugin sysvipc requires root permissionsto execute, skipping
plugin targetcli requires root permissionsto execute, skipping
plugin teamd requires root permissionsto execute, skipping
plugin ubuntu requires root permissionsto execute, skipping
plugin udev requires root permissionsto execute, skipping
plugin unity requires root permissionsto execute, skipping
plugin upstart requires root permissionsto execute, skipping
plugin usb requires root permissionsto execute, skipping
plugin virsh requires root permissionsto execute, skipping
plugin x11 requires root permissionsto execute, skipping
plugin xfs requires root permissionsto execute, skipping
plugin xinetd requires root permissionsto execute, skipping
a non-existing plugin (rsion) was specified in the command line
sosreport --help (return code: 0)
Usage: sosreport [options]
Options:
-h, --help show this help message and exit
-l, --list-plugins list plugins and available plugin options
-n NOPLUGINS, --skip-plugins=NOPLUGINS
disable these plugins
--experimental enable experimental plugins
-e ENABLEPLUGINS, --enable-plugins=ENABLEPLUGINS
enable these plugins
-o ONLYPLUGINS, --only-plugins=ONLYPLUGINS
enable these plugins only
-k PLUGOPTS, --plugin-option=PLUGOPTS
plugin options in plugname.option=value format (see
-l)
--log-size=LOG_SIZE set a limit on the size of collected logs
-a, --alloptions enable all options for loaded plugins
--all-logs collect all available logs regardless of size
--batch batch mode - do not prompt interactively
--build preserve the temporary directory and do not package
results
-v, --verbose increase verbosity
--verify perform data verification during collection
--quiet only print fatal errors
--debug enable interactive debugging using the python debugger
--ticket-number=CASE_ID
specify ticket number
--case-id=CASE_ID specify case identifier
-p PROFILES, --profile=PROFILES
enable plugins selected by the given profiles
--list-profiles
--name=CUSTOMER_NAME specify report name
--config-file=CONFIG_FILE
specify alternate configuration file
--tmp-dir=TMP_DIR specify alternate temporary directory
--no-report Disable HTML/XML reporting
-s SYSROOT, --sysroot=SYSROOT
system root directory path (default='/')
-c CHROOT, --chroot=CHROOT
chroot executed commands to SYSROOT [auto, always,
never] (default=auto)
-z COMPRESSION_TYPE, --compression-type=COMPRESSION_TYPE
compression technology to use [auto, gzip, bzip2, xz]
(default=auto)
Some examples:
enable cluster plugin only and collect dlm lockdumps:
# sosreport -o cluster -k cluster.lockdump
disable memory and samba plugins, turn off rpm -Va collection:
# sosreport -n memory,samba -k rpm.rpmva=off