• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 24440
  • Open Date : 2016/06/13 14:15
  • 更新日時 : 2020/10/06 16:01
  • Print

[DataSpider Servista] I want to periodically save the "Performance" information of DataSpiderServer as a file

I want to periodically save the "Performance" information of "Task Manager" in DataSpiderServer. Explain about the method to output to file.
Category : 

Answer

Create the CLI batch using the CLI Console and redirect the command execution result of the information to be acquired. By doing this, the file can be output.
 
The below instance introduces the case where memory usage is displayed.
 
■Description Example
  • CLI Batch Description
$DATASPIDER_HOME/server/bin/cli.exe -Mcommand_file >> result.txt
  • CLI command setting file (command_file) description
memstat
 
■Execution Result
 
Memory usage: 253692824 bytes
Memory free space: 421000296 bytes
Total memory space: 674693120 bytes
 
■Supplement
 
Refer to help of "Reference Information" for the details of CLI batch.
 
・CLI Console – "About CLI Batch"