예제 #1
0
def devices():
    return jsonify(MachineInfo.fetch_devices_info())
예제 #2
0
def network_connections():
    return jsonify(MachineInfo.fetch_network_connections_info())
예제 #3
0
def procs():
    return jsonify(MachineInfo.fetch_procs_info())
예제 #4
0
def network():
    return jsonify(MachineInfo.fetch_network_info())
예제 #5
0
def disks():
    return jsonify(MachineInfo.fetch_disks_info())
예제 #6
0
def swap():
    return jsonify(MachineInfo.fetch_swap_info())
예제 #7
0
def memory():
    return jsonify(MachineInfo.fetch_memory_info())
예제 #8
0
def cpu():
    return jsonify(MachineInfo.fetch_cpu_info())