• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하시기 바랍니다.

문제 신고

NVIDIA Jetson 통합

NVIDIA Jetson 통합은 tegrastats 유틸리티에 대한 데이터를 수집하여 뉴렐릭으로 전송하며, 여기에서 NVIDIA Jetson 장치에 대한 CPU, GPU, RAM 및 온도 판독값을 모니터링할 수 있습니다.

NVIDIA Jetson 통합을 설정한 후 NVIDIA Jetson 메트릭에 대한 대시보드를 제공합니다.

NVIDIA Jetson 통합 설치

NVIDIA Jetson 장치에 대한 데이터를 수집하려면 다음 단계를 따르세요.

인프라 에이전트 설치

NVIDIA Jetson 통합을 사용하려면 먼저 호스트에 인프라 에이전트를 설치 해야 합니다. 모니터 에이전트는 호스트 자체를 모니터링하는 반면, 통합 자체는 NVIDIA Jetson 관련 데이터를 포함하도록 모니터링을 확장합니다.

tegrastats를 파일에 저장

쉘 환경에서 tegrastats 디렉터리로 변경하고 다음 명령을 실행하여 5초 간격으로 NVIDIA Jetson 지수를 저장합니다.

bash
$
sudo tegrastats --interval 5000 --logfile tegrastats

nri-flex와 NVIDIA Jetson 통합 활성화

NVIDIA Jetson 통합을 설정하려면 다음 단계를 따르세요.

  1. nvidia-jetson-config.yml 이라는 파일을 만들고 통합 디렉터리에 저장합니다.

    bash
    $
    sudo nano /etc/newrelic-infra/integrations.d/nvidia-jetson-config.yml
  2. nvidia-jetson-config.yml 파일에 다음 스니펫을 추가하여 에이전트가 NVIDIA Jetson에서 데이터를 캡처할 수 있도록 설정하세요.

    integrations:
    - name: nri-flex
    config:
    name: JestonMetrics
    apis:
    - event_type: tegrastats
    commands:
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [ram_used, ram_total]
    regex_match: true
    split_by: "RAM (\\d+)/(\\d+)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [lfb_num, lfb_size]
    regex_match: true
    split_by: "\\(lfb (\\d+)x(\\d+)MB\\)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [swap_used, swap_total, swap_cached]
    regex_match: true
    split_by: "SWAP (\\d+)/(\\d+) \\(cached (\\d+)MB\\)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [iram_used, iram_total, lfb_block]
    regex_match: true
    split_by: "IRAM (\\d+)/(\\d+)kB\\(lfb (\\d+)kB\\)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [cpu1_usage, cpu1_freq]
    regex_match: true
    split_by: "CPU \\[(\\d+)%@(\\d+)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [cpu2_usage, cpu2_freq]
    regex_match: true
    split_by: ",(\\d+)%@(\\d+)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [cpu3_usage, cpu3_freq]
    regex_match: true
    split_by: ",(\\d+)%@(\\d+)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [cpu4_usage, cpu4_freq]
    regex_match: true
    split_by: ",(\\d+)%@(\\d+)\\]"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [emc_freq_pct, emc_freq_val]
    regex_match: true
    split_by: "EMC_FREQ (\\d+)%@(\\d+)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [gr3d_freq_pct, gr3d_freq_val, ape, pll_temp]
    regex_match: true
    split_by: "GR3D_FREQ (\\d+)%@(\\d+) APE (\\d+) PLL@(\\d+)C"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [cpu_temp, pmic_temp, gpu_temp]
    regex_match: true
    split_by: "CPU@(\\d+\\.?\\d*)C? PMIC@(\\d+\\.?\\d*)C? GPU@(\\d+\\.?\\d*)C?"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [ao_temp, thermal_temp]
    regex_match: true
    split_by: "AO@(\\d+\\.?\\d*)C? thermal@(\\d+\\.?\\d*)C?"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [pom_in_currect, pom_in_peak]
    regex_match: true
    split_by: "POM_5V_IN (\\d+)/(\\d+)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [pom_gpu_used, pom_gpu_total]
    regex_match: true
    split_by: "POM_5V_GPU (\\d+)/(\\d+)"
    - run: tail -n 3 path/to/tegrastats
    split: horizontal
    set_header: [pom_cpu_used, pom_cpu_total]
    regex_match: true
    split_by: "POM_5V_CPU (\\d+)/(\\d+)"

New Relic 인프라 에이전트 다시 시작

셸 환경에서 다음 명령을 실행하여 인프라 에이전트를 다시 시작합니다.

bash
$
sudo systemctl restart newrelic-infra.service

귀하의 견적이 one.newrelic.com 으로 전송되는 동안 몇 분 정도 기다리십시오.

데이터 찾기

사전 구축된 대시보드 템플릿을 사용하여 NVIDIA Jetson 데이터를 모니터링할 수 있습니다. 사전 구축된 대시보드 템플릿을 사용하려면 다음 단계를 따르세요.

  1. one.newrelic.com 에서,

    + Add data

    페이지로 이동한 후 다음을 클릭하세요.

    Dashboards

  2. 검색창에서 NVIDIA Jetson을 검색한 다음 NVIDIA Jetson을 선택하여 대시보드를 설치하세요.

  3. one.newrelic.com > All Capabilities > Dashboards

    로 이동하여 대시보드를 확인하세요.

    대시보드 사용 및 편집에 대한 문서는 대시보드 문서 를 참조하세요.

NRQL로 데이터 쿼리

NVIDIA Jetson 보고 데이터를 사용하면 쿼리를 작성하여 장치 성능에 대해 자세히 알아볼 수도 있습니다.

  1. one.newrelic.com 의 모든 페이지에서, 브라우저 하단에서 Query your data [데이터 쿼리를] 클릭하세요.

  2. 쿼리를 작성하세요. 예를 들어 다음은 GPU 온도를 보기 위한 NRQL 쿼리의 예입니다.

    SELECT latest(gpu_temp) as 'GPU temperature (C)' from jetsonTegrastats

다음은 뭐지?

NRQL 쿼리 작성 및 대시보드 생성에 대해 자세히 알아보려면 다음 문서를 확인하세요.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.