Interstage Shunsaku Data Manager Operator's Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Chapter 6 Monitoring and Logging | > 6.2 Monitoring Operation Information |
Searcher operation information can be used for the following purposes:
Searcher operation information can be obtained by executing the shunsstate command on the server where the searcher is located.
Example 1
The following example shows how searcher operation information is displayed.
shunsstate -s shuns01 -w Shunsaku shunsstate 2006/01/01 19:01:00 (1) (2) (3) (4) (5) (6) (7) Time State Records DataSize AvgTime(sec) MaxTime(sec) MaxTimeDetected 19:01:00 ACTIVE 5000 100KB 1.000 1.300 2006/01/01 13:00:00
The following table shows the explanation of the item displayed.
Item Displayed
Explanation
(1) Time
Output time (hh:mm:ss)
(2) State
The operating status of the searcher
The operating status of the searcher is displayed as follows:
- ACTIVE: Running
- ACTIVATING: Starting up
- IDLE: On standby
(3) Records
Current number of records
(4) DataSize
Current amount of data (displays the volume of internal data that has been converted in order to search the target data)
(5) AvgTime(sec)
Average search time (in seconds)
(6) MaxTime(sec)
Maximum search time (in seconds)
(7) MaxTimeDetected
Date/time when the maximum search time was detected (YYYY/MM/DD hh:mm:ss)
The statistical information in items (5) to (7) can be reset by executing this command with the -r option. Information is then calculated by counting from the time that the information was reset.
Searcher operation information can also be collected at fixed time intervals. In this case, the average search time (in seconds) will be the changes that have occurred during the time interval.
Example 2
In the following example, operation information for a searcher is collected three times at 60-second intervals and then displayed.
shunsstate -s shuns01 -w 60 3 Shunsaku shunsstate 2006/01/01 19:01:00 Time State Records DataSize AvgTime(sec) MaxTime(sec) MaxTimeDetected 19:02:00 ACTIVE 5000 100KB 1.010 1.300 2006/01/01 13:00:00 19:03:00 ACTIVE 5020 105KB 0.930 1.300 2006/01/01 13:00:00 19:04:00 ACTIVE 5025 106KB 0.805 1.300 2006/01/01 13:00:00
Example 3
In the following example, operation information for a searcher is collected three times at 60-second intervals and then output in CSV format.
shunsstate -s shuns01 -w -C 60 3 > C:\shunwork\monitor\srchstate.csv
shunsstate -s shuns01 -w -C 60 3 > /home/shunsaku/monitor/srchstate.csvContent of srchstate.csv
"Time","State","Records","DataSize","AvgTime(sec)","MaxTime(sec)","MaxTimeDetected" "2006/01/01 19:02:00","ACTIVE",5000,102400,1.010,1.300,"2006/01/01 13:00:00" "2006/01/01 19:03:00","ACTIVE",5020,107520,0.930,1.300,"2006/01/01 13:00:00" "2006/01/01 19:04:00","ACTIVE",5025,108544,0.805,1.300,"2006/01/01 13:00:00"
CSV files are output using the following format:
- Enclose character string items in double quotes (").
- Do not enclose numerical values in double quotes (").
Contents
Index
![]() ![]() |