반응형

 

Mainboard, CPU, Memory, Storage, Graphic 장치 정보 조회

##
## Mainboard(메인보드, 마더보드) 정보 조회
##

$ inxi --machine
Machine:
  Type: Desktop System: Gigabyte product: Z590 AORUS PRO AX v: -CF serial: N/A
  Mobo: Gigabyte model: Z590 AORUS PRO AX v: x.x serial: N/A UEFI: American Megatrends LLC.
    v: F4 date: 01/29/2021


##
## CPU 정보를 조회
##
$ inxi --cpu
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-11700 bits: 64 type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 2393 min/max: 800/4800:4900 cores: 1: 2500 2: 2500 3: 2500 4: 2500 5: 2500
    6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500 13: 800 14: 2500 15: 2500 16: 2500


##
## 물리 Memory 정보 조회
##

inxi --memory
Memory:
  RAM: total: 62.67 GiB used: 2.32 GiB (3.7%)
  Array-1: capacity: 64 GiB slots: 4 EC: None
  Device-1: Controller0-ChannelA-DIMM0 size: 16 GiB speed: 3200 MT/s
  Device-2: Controller0-ChannelA-DIMM1 size: 16 GiB speed: 3200 MT/s
  Device-3: Controller0-ChannelB-DIMM0 size: 16 GiB speed: 3200 MT/s
  Device-4: Controller0-ChannelB-DIMM1 size: 16 GiB speed: 3200 MT/s
  
  
##
## Graphic 처리 장치 정보를 조회
##

$ inxi --graphic
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3080 Ti] driver: nvidia v: 530.41.03
  Display: server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.1 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: nvidia tty: 148x60
  Message: GL data unavailable in console for root.
  
    
##
## Storage(Disk) 장치 정보를 조회
##

$ inxi --disk
Drives:
  Local Storage: total: 4.55 TiB used: 711.75 GiB (15.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB size: 931.51 GiB
  ID-2: /dev/sda vendor: Western Digital model: WD40EZAZ-00SF3B0 size: 3.64 TiB
  
  
##
## Bluetooth 장치 정보를 조회
##

$ inxi --bluetooth
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb
  Report: hciconfig ID: hci0 state: up address: 84:AA:77:D0:0B:23 bt-v: 3.0
  
  
##
## Audio 장치 정보를 조회
##

$ inxi --audio
Audio:
  Device-1: Intel Tiger Lake-H HD Audio driver: snd_hda_intel
  Device-2: NVIDIA GA102 High Definition Audio driver: snd_hda_intel
  Device-3: Giga-Byte USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.19.0-41-generic running: yes
  

##
## USB 장치 정보
##

$ inxi --usb
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
  Device-1: 1-2:2 info: Giga-Byte USB Audio type: Audio,HID rev: 2.0
  Hub-2: 1-4:3 info: Realtek RTS5411 Hub ports: 4 rev: 2.1
  Device-1: 1-10:4 info: Logitech Unifying Receiver type: Keyboard,Mouse rev: 2.0
  Hub-3: 1-11:5 info: Genesys Logic Hub ports: 4 rev: 2.0
  Hub-4: 1-12:6 info: Genesys Logic Hub ports: 4 rev: 2.0
  Device-1: 1-13:7 info: Integrated Express ITE Device type: HID rev: 2.0
  Device-2: 1-14:8 info: Intel AX200 Bluetooth type: Bluetooth rev: 2.0
  Hub-5: 2-0:1 info: Super-speed hub ports: 9 rev: 3.1
  Hub-6: 2-3:2 info: Realtek Hub ports: 4 rev: 3.2

 

 

NVIDIA Graphic Device 정보

##
## NVIDIA 설정 정보
##

$ nvidia-settings --version

nvidia-settings:  version 530.41.03
  The NVIDIA Settings tool.

  This program is used to configure the NVIDIA Linux graphics driver.
  For more detail, please see the nvidia-settings(1) man page.
  


##
## System Management Interface
##

$ nvidia-smi

Fri May 19 13:01:31 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03              Driver Version: 530.41.03    CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3080 Ti      Off| 00000000:01:00.0  On |                  N/A |
|  0%   31C    P8               12W / 350W|    384MiB / 12288MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      3961      G   /usr/lib/xorg/Xorg                           62MiB |
|    0   N/A  N/A      4265    C+G   ...libexec/gnome-remote-desktop-daemon      251MiB |
|    0   N/A  N/A      4306      G   /usr/bin/gnome-shell                         64MiB |
+---------------------------------------------------------------------------------------+


$  nvidia-smi -q

==============NVSMI LOG==============

Timestamp                                 : Fri May 19 13:05:00 2023
Driver Version                            : 530.41.03
CUDA Version                              : 12.1

Attached GPUs                             : 1
GPU 00000000:01:00.0
    Product Name                          : NVIDIA GeForce RTX 3080 Ti
    Product Brand                         : GeForce
    Product Architecture                  : Ampere
    Accounting Mode Buffer Size           : 4000   
    Fan Speed                             : 0 %
    Performance State                     : P8
    FB Memory Usage
        Total                             : 12288 MiB
        Reserved                          : 245 MiB
        Used                              : 384 MiB
        Free                              : 11658 MiB
    BAR1 Memory Usage
        Total                             : 256 MiB
        Used                              : 10 MiB
        Free                              : 246 MiB
    Utilization
        Gpu                               : 0 %
        Memory                            : 12 %
        Encoder                           : 0 %
        Decoder                           : 0 %
    Temperature
        GPU Current Temp                  : 31 C
        GPU Shutdown Temp                 : 98 C
        GPU Slowdown Temp                 : 95 C
        GPU Max Operating Temp            : 93 C
        GPU Target Temperature            : 83 C
        Memory Current Temp               : N/A
        Memory Max Operating Temp         : N/A
    Power Readings
        Power Management                  : Supported
        Power Draw                        : 13.61 W
        Power Limit                       : 350.00 W
        Default Power Limit               : 350.00 W
        Enforced Power Limit              : 350.00 W
        Min Power Limit                   : 100.00 W
        Max Power Limit                   : 350.00 W
    Clocks
        Graphics                          : 210 MHz
        SM                                : 210 MHz
        Memory                            : 405 MHz
        Video                             : 555 MHz
    Max Clocks
        Graphics                          : 2130 MHz
        SM                                : 2130 MHz
        Memory                            : 9501 MHz
        Video                             : 1950 MHz
    Voltage
        Graphics                          : 775.000 mV
    Fabric
        State                             : N/A
        Status                            : N/A
    Processes
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 3961
            Type                          : G
            Name                          : /usr/lib/xorg/Xorg
            Used GPU Memory               : 62 MiB
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 4265
            Type                          : C+G
            Name                          : /usr/libexec/gnome-remote-desktop-daemon
            Used GPU Memory               : 251 MiB
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 4306
            Type                          : G
            Name                          : /usr/bin/gnome-shell
            Used GPU Memory               : 64 MiB

 

반응형

 

(1)  OCP의 Web Console에서 오른쪽 위에 있는 "계정 이름"을 클릭한다.

 

(2)  [ Copy login command ]을 클릭하면, 새 브라우저 창이 뜬다.

 

 

 

(3)  위 화면에서 [ Copy login command ]을 클릭하면 아래와 같은 브라우저 창이 새로 열릴 것이다.
       이 때 [ Display Token ]을 클릭한다.

 

 

 

(4)  아래와 같이 OCP API Token과,  oc login 명령 예시가 보일 것이다.

 

 

 

(5)  아래와 같이 curl로 TOKEN 값을 이용해서 API를 호출할 수 있다.

 

$  curl -X GET -H "Authorization: Bearer sha256~v9-kYQ_N...중간 생략...z1X5UA" https://api.myasset.cloud:6443/api/v1/namespaces/openshift-etcd/pods --insecure

+ Recent posts