배움과 성장/시스템·성능
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..