CHAAANY ARCHIVE

system_profiler

2개의 기록을 주제별로 둘러보세요.

macOS에서 smartctl·lspci·ethtool 대신 무엇을 쓸까

macOS에는 Linux의 lspci와 ethtool이 기본 제공되지 않고, 두 command의 모든 기능을 대신하는 1:1 command도 없다. 질문을 disk health, hardware inventory, network service, interface link 정보로 나눈 뒤 diskutil, system_profiler, ioreg, networksetup, ifconfig를 조합해야 한다. smartctl은 macOS에서도 smartmontools로 설치할 수 있지만 disk와 adapter가 S.M.A.R.T. data를 노출해야 한다.먼저 질문별 command를 고른다확인할 것macOS에서 먼저 볼 commanddisk·volume 식별diskutil list, diskutil info..

macOS Hardware 정보 확인: system_profiler·sysctl·ioreg 안전하게 쓰기

Linux에서 익숙한 dmidecode를 macOS에서 그대로 찾으면 막히기 쉽다. dmidecode는 SMBIOS/DMI table을 읽는 Linux 환경의 대표 도구이고, macOS의 기본 hardware inventory 경로는 다르다. Mac에서는 먼저 System Information과 system_profiler를 사용하고, kernel-exposed 값은 sysctl, I/O Registry가 필요할 때만 ioreg로 내려가는 편이 안전하다.가장 먼저 쓸 명령: system_profilerhardware overview는 다음 command로 확인할 수 있다.system_profiler SPHardwareDataTypemodel name·identifier, chip 또는 processor,..

728x90