Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Smart Device Manager


sdmgetlogs (collecting log information)

This command collects log information compressed in zip format for the smart device manager, communication server, JP1/ITDM2 - SDM (Smart Device Agent), or messaging server.

Organization of this page

Functionality

This command collects log information compressed in zip format for the smart device manager, communication server, JP1/ITDM2 - SDM (Smart Device Agent), or messaging server.

Execute this command on the server for which you want to collect log information. To collect log data for JP1/ITDM2 - SDM (Smart Device Agent), execute the command on the communication server.

The following table lists the output file names:

Collection target

file name

Smart device manager

tsinfo_manager.zip

Communication server

tsinfo_comsrv.zip

JP1/ITDM2 - SDM (Smart Device Agent)

tsinfo_agent.zip

Messaging server

tsinfo_msgsrv.zip

sdmgetlogs command collects the following information for each server.

Format

sdmgetlogs -target log-collection-target[ -f output-folder]

Arguments

-target log-collection-target

Specify the log collection target as follows:

Collection target

Specification

Smart device manager

Manager

Communication server

Comsrv

JP1/ITDM2 - SDM (Smart Device Agent)

Agent

Messaging server

Msgsrv

-f output-folder

Specify the absolute path (within 161 bytes) to the output destination of the collected log information. If the specified by option -f directory exists, sdmgetlogs command overwrites the existing files in the directory.

If this argument is omitted, log information will be output to one of the following folders created by the command:

Collection target

Output folder if this argument is omitted

Smart device manager

JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\troubleshoot

Communication server

JP1/ITDM2 - SDM (Communication Server)-installation-folder\cms\troubleshoot

JP1/ITDM2 - SDM (Smart Device Agent)

JP1/ITDM2 - SDM (Communication Server)-installation-folder\cms\troubleshoot

Messaging server

JP1/ITDM2 - SDM (Messaging Server)-installation-folder\mss\troubleshoot

When you use sdmexportdb and sdmgetlogs command without -f option, Output

directory will be under the installation-directory of JP1/IT Desktop Management 2 - Smart Device Manager. Thus, when you uninstall this product, automatically this output directory will be deleted. Save this directory before uninstall.

Storage location

The command is stored in the following locations:

Collection target

Storage location

Smart device manager

JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin

Communication server

JP1/ITDM2 - SDM (Communication Server)-installation-folder\cms\bin

JP1/ITDM2 - SDM (Smart Device Agent)

JP1/ITDM2 - SDM (Communication Server)-installation-folder\cms\bin

Messaging server

JP1/ITDM2 - SDM (Messaging Server)-installation-folder\mss\bin

Execution permissions

Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)

Notes

Return values

Return value

Description

0

The command finished normally.

11

The format for specifying the command arguments is invalid. Alternatively, the length of the folder name specified for the command argument exceeds the upper limit.

12

You do not have the permissions to execute this command.

13

The specified server is not correct, or the operating environment of JP1/ITDM2 - SDM (Smart Device Manager) is invalid.

14

The folder does not exist, or you do not have permission to access it.

15

A file access error occurred, or the disk does not have sufficient capacity.

18

Another command is being executed.

150

Other error occurred.

Example

Related Topics