V-Spark Online Help

Sample JSON from the /sysinfo API

This section includes an excerpt of the JSON output that is produced by a basic call to the /sysinfo API.

Figure 1. Sample Basic System Output from the /sysinfo API
{
       "uname": "Linux analysis 2.6.32-696.30.1.el6.x86_64 #1 SMP Tue May 22 03:28:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux",
       "uptime": "13:39:05 up 8 days,  3:14,  1 user,  load average: 0.02, 0.07, 0.16",
       "hostname": "analysis",
       "mysql": {
           "version": "5.1.73",
           "uptime": "702822"
       },
       "elasticsearch": {
           "uptime": [
               "name    uptime",
               "JtDxLLr     1d"
           ],
           "version": "5.3.0"
       },
       "vspark": {
           "started": "2018-07-12 12:22:19 -04:00",
           "version": "3.4.3-1"
       },
       "jobmgr": {
           "started": "2018-07-12 12:22:28 -04:00",
           "version": "2.3.1-1"
       },
       "product": "V‑Spark"
    }


The fields in the JSON output are described as follows:

cpuinfo (full)

Information about the CPU architecture.

	"cpuinfo": [
        "Architecture:          x86_64",
        "CPU op-mode(s):        32-bit, 64-bit",
        "Byte Order:            Little Endian",
        "CPU(s):                12",
        "On-line CPU(s) list:   0-11",
        "Thread(s) per core:    1",
        "Core(s) per socket:    12",
        "Socket(s):             1",
        "NUMA node(s):          1",
        "Vendor ID:             GenuineIntel",
        "CPU family:            6",
        "Model:                 45",
        "Model name:            Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz",
        "Stepping:              7",
        "CPU MHz:               2593.718",
        "BogoMIPS:              5187.43",
        "Hypervisor vendor:     KVM",
        "Virtualization type:   full",
        "L1d cache:             32K",
        "L1i cache:             32K",
        "L2 cache:              256K",
        "L3 cache:              20480K",
        "NUMA node0 CPU(s):     0-11"
	],	
meminfo (full)

A report of the free and used amounts of system memory, in mebibytes.

	"meminfo": [
           "total       used       free     shared    buffers     cached",
           "Mem:         19988      11184       8803          6        191       3925",
           "-/+ buffers/cache:       7067      12920",
           "Swap:         8039          0       8039"
	],	
storage (full)

A report of disk usage on the main system disk, in human-readable format.

	"storage": [
           "Filesystem            Size  Used Avail Use% Mounted on",
           "/dev/mapper/vg_analysis-lv_root",
           "                       50G   12G   36G  25% /",
           "tmpfs                 9.8G  6.0M  9.8G   1% /dev/shm",
           "/dev/sda1             477M   75M  377M  17% /boot",
           "/dev/mapper/vg_analysis-lv_home",
           "                       69G   36G   29G  56% /home"
	],	
elasticsearch (basic, full)

The release version and status information for the Elasticsearch process.

Sample basic output:

	"elasticsearch": {
           "uptime": [
              "name    uptime",
              "JtDxLLr     1d"
           ],
           "version": "5.3.0"
        },	

Sample full output:

	"elasticsearch": {
           "info": {
              "name": "JtDxLLr",
              "cluster_name": "elasticsearch",
              "cluster_uuid": "J7jYjVfwQXWzyBDixJUDZw",
              "version": {
                  "build_hash": "3adb13b",
                  "build_date": "2017-03-23T03:31:50.652Z",
                  "build_snapshot": false,
                  "lucene_version": "6.4.1"
	      },
	      "tagline": "You Know, for Search"
           },
           "uptime": [
              "name    uptime",
              "JtDxLLr     1d"
           ],
           "health": {
              "cluster_name": "elasticsearch",
              "status": "yellow",
              "timed_out": false,
              "number_of_nodes": 1,
              "number_of_data_nodes": 1,
              "active_primary_shards": 5,
              "active_shards": 5,
              "relocating_shards": 0,
              "initializing_shards": 0,
              "unassigned_shards": 5,
              "delayed_unassigned_shards": 0,
              "number_of_pending_tasks": 0,
              "number_of_in_flight_fetch": 0,
              "task_max_waiting_in_queue_millis": 0,
              "active_shards_percent_as_number": 50
           },
           "indices": [
              "health status index                 uuid                   pri rep docs.count docs.deleted store.size pri.store.size",
              "yellow open   product_20180525143400 unyWynDvQsWMdf8b_cqBGA   5   1    9519021      1692025        5gb            5gb"
           ],
           "count": 126213,
           "version": "5.3.0"
	      },	
vspark (basic, full)

The release version and start time of the V‑Spark server process.

	"vspark": {
           "started": "2018-07-12 12:22:19 -04:00",
           "version": "3.4.3-1"
	},	
uname (basic, full)

The contents of this field are the same as the output of the UNIX uname -a command:

the operating system kernel namethe network node hostname (in this case "analysis")the release level of the kernelthe version number of the kernelthe server's machine hardware namethe processor type of the serverthe hardware platform of the serverand the name of the operating system

.

	"uname": "Linux analysis 2.6.32-696.30.1.el6.x86_64 #1 SMP Tue May 22 03:28:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux",	
uptime (basic, full)

The contents of this field are the same as the output of the UNIX uptime command on the remote server:

the current timehow long the system has been runninghow many users are currently logged onand the system load averages for the past 1, 5, and 15 minutes

.

	"uptime": "13:34:30 up 8 days,  3:10,  1 user,  load average: 0.03, 0.11, 0.21",	
hostname (basic, full)

The hostname of the server, in this case analysis.

	"hostname": "analysis",
jobmgr (basic, full)

The release version and start time of the job manager process.

	"jobmgr": {
           "started": "2018-07-12 12:22:28 -04:00",
           "version": "2.3.1-1"
	},	
mysql (basic, full)

The release version and status information for the mySQL database process.

Sample basic output:

          "mysql": {
              "version": "5.1.73",
              "uptime": "702822"
          },	

Sample full output:

	"mysql": {
           "version": "5.1.73",
           "status": {
              "queries": "38451876",
              "slow_queries": "3",
              "qps": "54.73",
              "rows_deleted": "146527",
              "rows_inserted": "122535",
              "rows_read": "256090844",
              "rows_updated": "11143",
              "bps_in": "26918.02",
              "bps_out": "77637.79",
              "threads_connected": "48",
              "threads_cached": "0",
              "threads_running": "1"
           },
           "uptime": "702547"
	},	
vociprocs (full)

The number of V‑Spark-related processes running on the system.

	"vociprocs": "416",	
procinfo (full)

The uptime and load averages of the server host, and the task and CPU states of its primary CPU.

	"procinfo": [
           "Tasks: 708 total,   3 running, 705 sleeping,   0 stopped,   0 zombie",
           "Cpu(s):  1.2%us,  0.4%sy,  0.0%ni, 98.4%id,  0.0%wa,  0.0%hi,  0.1%si,  0.0%st"
	],	
vocirpms (full)

The results of an RPM package manager query for all installed Voci software packages.

	"vocirpms": [
           "voci-jobmanager-2.3.1-1.x86_64",
           "voci-server-client-5.4.5-1.x86_64",
           "voci-pyrequests-2.7.0-1.x86_64",
           "voci-user-1.0.0-1.x86_64",
           "voci-nltk-2.0.1rc1-1.x86_64",
           "voci-spark-cluster-3.4.3-1.x86_64",
           "voci-spark-sums-3.4.3-1.x86_64",
           "voci-webapi-2.0.0-1.x86_64",
           "voci-spark-all-3.4.3-1.x86_64",
           "voci-python-2.7.13-1.x86_64",
           "voci-rrdtool-1.4.7-1.x86_64",
           "voci-server-setup-min-1.0.2-1.x86_64",
           "voci-xmltodict-1.0.0-1.x86_64",
           "voci-server-sparklicense-1.2.2-2.x86_64",
           "voci-spark-search-3.4.3-1.x86_64",
           "voci-spark-backend-3.4.3-1.x86_64",
           "voci-spark-service-3.4.3-1.x86_64",
           "voci-python-scipy-1.1.0-1.x86_64",
           "voci-python-numpy-1.14.3-1.x86_64",
           "voci-server-server-5.4.5-1.x86_64",
           "voci-updater-2.0.0-1.x86_64",
           "voci-spark-common-3.4.3-1.x86_64",
           "voci-spark-report-3.4.3-1.x86_64",
           "voci-spark-doc-3.4.3-1.x86_64",
           "voci-pyinotify-0.9.2-1.x86_64",
           "voci-server-licensemgr-sw-5.4.3-1.x86_64",
           "voci-libshorttext-1.1-1.x86_64",
           "voci-admin-1.0.0-2.x86_64",
           "voci-pyyaml-3.10-1.x86_64",
           "voci-python-setuptools-4.0.1-1.x86_64",
           "voci-spark-am-3.4.3-1.x86_64",
           "voci-spark-server-3.4.3-1.x86_64",
           "voci-repo-internal-1.0.3-1.x86_64"
	   ],	
product (basic, full)

The name of the server software product. In this case, "V‑Spark."

	"product": "V‑Spark"