전체 글 110

[OS/macOS] FATA[0000] networks.yaml field `paths.socketVMNet` error: file "/opt/homebrew/.../bin/socket_vmnet" is not owned by "root" ...

// LIMA 1.0.1 upgrade 후 FATA 에러 발생 // vm 실행시키려고 하니까 FATA[0000] networks.yaml field `paths.socketVMNet` ... 에러 뜸.$ limactl start defaultINFO[0000] Using the existing instance "default"FATA[0000] networks.yaml field `paths.socketVMNet` error: file "/opt/homebrew/.../bin/socket_vmnet" is not owned by "root" ... // limactl list 확인 // networks의 shared가 정의 안되어있다고 함. (~/.lima/_config/networks.yaml을 못 읽..

OS/macOS 2024.12.24

[MySQL] 모니터링 쿼리

// 스크립트 파일명에 '+' 는 필수, '-' 는 옵션 조건  # bfpLoadRate-db-tab.sql// buffer pool에 몇 퍼센트의 테이블(인덱스 포함)이 캐시되어있는지 확인. // ※ MySQL에서 제공하는 n_cached_pages 자체가 정확하지 않음.selecttable_name,n_cached_pages,total_pages,round((n_cached_pages/total_pages)*100,2) as "cached_pct(%)"from (selecti.name as table_name,i.n_cached_pages,#t.data_length,#t.index_length,#t.data_free,((t.data_length + t.index_length - t.data_free)..

MySQL 2024.12.21

[OS/macOS] FATA[0000] networks.yaml: "/opt/socket_vmnet/bin/socket_vmnet" (`paths.socketVMNet`) has to be installed

# LIMA 0.22.0 upgrade 후 FATA 에러 발생  -- socket_vmnet 설치$ brew search socket_vmnet==> Formulaesocket_vmnet$ brew install socket_vmnet                     :==> Summary🍺  /opt/homebrew/Cellar/socket_vmnet/1.1.4: 15 files, 125.8KB==> Running `brew cleanup socket_vmnet`...Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). $ vi ~..

OS/macOS 2024.06.08