.. _arbitrator-API-resources-system:


system
-----------


The system resource supports the following operations.


.. tabularcolumns:: |p{1.5cm}|p{5cm}|p{8.5cm}|

+--------+-------------------+-------------------+
| Method | URL               | Description       |
+========+===================+===================+
| GET    | ``/system/stats`` | Get system stats. |
+--------+-------------------+-------------------+

GET
.....

* Example Output


  Command: 
  
  ::
  
      curl -k -w '\nRESP_CODE: %{response_code}\n' 
           -X GET  https://10.13.37.12/api/system/stats 
  
           
  Output:
  
  ::
  
     {"data": 
       {"cpu_idle":"14",
        "cpu_cores":"8",
        "mem_total":"12338068",
        "mem_used":"702032",
        "mem_free":  "11636036",
        "mem_used_percent":"6.000",
        "diskspace_total":"481419520",
        "diskspace_used":"3  55646212",
        "diskspace_used_percent":"74.000",
        "diskspace_free":"125773308",
        "diskspace_free_percent":"26.000",
        "system_load":"27.250",
        "total_process_threads":"0",
        "sum_cdrs_unprocessed":"0",
        "sum_cmrs_unprocessed":"0",
        "sum_total_unprocessed":"0",
        "customer":"TARB",
        "hostname":"tarb",
        "version":"4.0001-14m",
        "services": {"postgres":"running",
           "ndxserver":"running",
           "scdtsd":"running",
           "apache":"running",
           "sshd  ":"running",
           "slapd":"running"}}
     }
  
  RESP_CODE: ``200``

