Job Management Partner 1/Software Distribution Administrator's Guide Volume 1
This subsection describes the jamOperationLogAddUp command, which is used to add up operation logs, in terms of its function, format, options, and return values. Also provided are command execution notes and examples of executing the command.
The command executable file is stored in the following folder:
JP1/Software-Distribution-installation-folder\jp1asset\exe
The jamOperationLogAddUp command can be saved for execution repetitively by registering it as a task in Windows Scheduled Tasks. To register a task, from the task's properties dialog box, add the following content in Run under the Task tab.
-f JP1/Software-Distribution-installation-folder\jp1asset\exe\jamOperationLogAddUp.exe -p "search-pattern" [-s base-point-day-for-totaling-data] [-d number-of-days-for totaling-data] [-k number-of-days-whose-totaled-results-are-to-be-maintained]
Adds up operation logs.
jamOperationLogAddUp -p "search-pattern" [-s base-point-day-for-totaling-data] [-d number-of-days-for-totalling-data] [-k number-of-days-whose-totaled-results-are-to-be-maintained]
The following are the return values that are set:
Return value | Description |
---|---|
0 | Normal termination |
1 | Normal termination (no count results) |
2 | Invalid parameter |
3 | The search pattern does not exist. |
4 | An error occurred during connection with JP1/Software Distribution. |
5 | Invalid environment |
6 | A DLL load error occurred. |
7 | An error occurred in the operation log totaling function. |
8 | An error occurred while registry information was being obtained. |
9 | An error occurred while jamscript.exe was executing. |
Figure 6-43 Details of execution example 1
Figure 6-44 Details of execution example 2
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.