Command-line mode

The command-line mode of the Service Manager Doctor tool allows you to run the tool more flexibly. You can run specific commands or command groups to collect certain types of information. You can also choose to type "run -all -zip" to package all data that is collected in the current directory. Eventually, the command-line mode generates SMDoctor_Report_<hostname>.html and SMDoctor_Report_<hostname>.txt logs in the current directory, where <hostname> is the host name of the Service Manager server.

The Command-line mode is shown in the screenshot below:

Note If the sm_doctor_saved.zip file generated in command-line mode is too large for shipping, you can unzip the package and repackage them into smaller zip packages.

The sm_doctor_saved.zip file has the following folder structure:

The command-line mode of Service Manager Doctor provides 10 groups of commands. The following is a list of commands that can be used in Service Manager Doctor:

When you try to run an invalid Service Manager Doctor command, the command-line mode returns an error message. For more information, see Appendix D. Error References.