Skip to content

Latest commit

 

History

History

mdiag

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

MongoDB Support Tools

mdiag.sh

Description

mdiag.sh is a utility to gather a wide variety of system and hardware diagnostic information.

Usage

sudo bash mdiag.sh _casereference_
  • Running without sudo (ie. as a regular user) is possible, but less information will be collected.
  • It is not necessary to chmod the script.
  • Bash version 4.0 or later is required.
  • Replace _casereference_ with your support case reference, if relevant.
  • The program will generate an output file in /tmp/mdiag-$HOSTNAME.txt with the information.

License

Apache 2.0

DISCLAIMER

Please note: all tools/ scripts in this repo are released for use "AS IS" without any warranties of any kind, including, but not limited to their installation, use, or performance. We disclaim any and all warranties, either express or implied, including but not limited to any warranty of noninfringement, merchantability, and/ or fitness for a particular purpose. We do not warrant that the technology will meet your requirements, that the operation thereof will be uninterrupted or error-free, or that any errors will be corrected.

Any use of these scripts and tools is at your own risk. There is no guarantee that they have been through thorough testing in a comparable environment and we are not responsible for any damage or data loss incurred with their use.

You are responsible for reviewing and testing any scripts you run thoroughly before use in any non-testing environment.

Thanks,
The MongoDB Support Team