docstr: Checks server use native for learn or analyse.
  Will return right result only on Linux.
docstr_tok: ["Checks","server","use","native","for","learn","or","analyse",".","Will","return","right","result","only","on","Linux","."]
code: def get(self):
      """Checks server use native for learn or analyse.
      Will return right result only on Linux.
      """
      return get_active_tasks()
  
imports: import os
  import tempfile
  from pathlib import Path
  import psutil
  from flask import request
  from flask_restx import Resource
  from flask import current_app
  from mindsdb.api.http.namespaces.configs.util import ns_conf
  from mindsdb.utilities.telemetry import enable_telemetry, disable_telemetry, telemetry_file_exists, inject_telemetry_to_static
  from mindsdb.api.http.gui import update_static
  from mindsdb.utilities.fs import clean_unlinked_process_marks
  from mindsdb.api.http.utils import http_error
label_desc: Use image node_id 1 for calling the PingNative obj's underlying member method code with example usage: obj.get() and returns: get_active_tasks