• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 24441
  • Open Date : 2016/06/13 14:15
  • 更新日時 : 2020/10/07 10:23
  • Print

[DataSpider Servista] Is it possible to output the execution result of CLI batch to a file?

Is it possible to output the execution result of CLI batch to a file?
 
Category : 

Answer

The execution result of CLI batch can be output to the file by using redirect. Below is the example for the Windows environment.
 
■Description Example
  • CLI batch description
$DATASPIDER_HOME/server/bin/cli.exe -Mclicommand > result.txt
  • CLI command setting file (clicommand) description
ps
memstat
 
■Output result (result.txt)
 
[0 Process]
Owner Execution ID Start date/time Project Script
 
Memory usage: 15500360 bytes
Memory free space: 249658296 bytes
Total memory space: 265158656 bytes
 
* Refer to the below Reference Information for the details of CLI batch.
 
・CLI Console