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
$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