viv:system-information
returns information about the system that Watson™ Explorer Engine is running on
Synopsis
node
viv:system-information
();
Description
Returns an XML node that provides summary information about the system on which Watson Explorer Engine is running.
Returns
a node-set with the following children:
<system-information>
<platform>...</platform>
<processor>...</processor>
<temp-dir>...</temp-dir>
<dir-separator>...</dir-separator>
<total-memory>...</total-memory>
<free-memory>...</free-memory>
<cpu-cores>...</cpu-cores>
</system-information>
- platform - Can be one of the set linux,sun,windows,unknown. Note that this is the platform the software was compiled for, not necessarily the one it is currently running on.
- processor - Can be one of the set i386,x86_64,sparc,sparc64,unknown. Note that this is the processor the software was compiled for, not necessarily the one it is currently running on.
- temp-dir - A path to the temporary directory for the current installation.
- dir-separator - A character that can be used to separate directories in a path. This will be / for Linux, or \ for Windows.
- total-memory - The number of bytes of memory installed on the system.
- free-memory - The number of bytes of memory available for use on the system.
- cpu-cores - The number of cpu cores on this system including any HyperThreaded cores. Value will be -1 if the number of cores could not be determined.