봇 장비의 상태 정보를 가져올 때 사용되는 API 입니다.

Performance API Key Detail (Request / Response)

name

type

Description

CPU

int

CPU 사용율 (%)

AvailablePhysicalMemory

int

사용 메모리 (MB)

TotalMemory

int

총 메모리 (MB)

FreeMemoryPercent

int

남은 메모리 사용율 (%)

OccupiedMemoryPercent

int

메모리 사용율 (%)

DiskC

int

디스크 사용율 (%) (C드라이브 수치)

BotStatus

int

봇 상태[1:on 0:off] (감지는 9988 Port)

Performance API & Examples

GET

http://{bot ip:port}/api/Performance

Response

Content-Type: application/json

{
       "CPU":29,
       "AvailablePhysicalMemory":2381,
       "TotalMemory":4095,
       "FreeMemoryPercent":58,
       "OccupiedMemoryPercent":41,
       "DiskC":49,
       "BotStatus":1
}

[Bot IIS 사이트 설정]
- IIS 설정에서 다음과 같이 프로세스 ID를 NetworkService로 변경하셔야 됩니다. IIS 기본 권한은 낮기 때문에 모니터링이 되지 않습니다.


Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor