示例#1
0
def get_perf_flame(request):
    server = request['server']
    process_socket_request(request, 'perf.flame.req', PerfProfiler(server).get_cmd_perf_flame)
示例#2
0
def get_perf_cpu_clock(request):
    server = request['server']
    process_socket_request(request, 'perf.cpuclock.req', PerfProfiler(server).get_perf_cpu_clock)
示例#3
0
def get_top(request):
    server = request['server']
    process_socket_request(request, 'cpu.top.req',
                           CPUProfiler(server).getTopOutput)
示例#4
0
def get_cpu_stat(request):
    server = request['server']
    process_socket_request(request, 'cpu.stat.req',
                           CPUProfiler(server).get_irq)
示例#5
0
def get_avg_load(request):
    server = request['server']
    process_socket_request(request, 'cpu.avgload.req',
                           CPUProfiler(server).get_average_load)
示例#6
0
def get_memory_status(request):
    server = request['server']
    process_socket_request(request, 'memory.status.req',
                           MemoryProfiler(server).getStatus)
示例#7
0
def get_proc_rank(request):
    server = request['server']
    process_socket_request(request, 'memory.procrank.req',
                           MemoryProfiler(server).getProcrank)
示例#8
0
def get_io_status(request):
    server = request['server']
    process_socket_request(request, 'io.status.req',
                           IOProfiler(server).get_status)
示例#9
0
def get_io_top(request):
    server = request['server']
    process_socket_request(request, 'io.top.req',
                           IOProfiler(server).get_io_top)