serverperfmode nvram boot-arg에 관한 이 질문 을 본 후 서버 상태를 확인하기 위해 서버를 점검 할 것이라고 생각했습니다.
$ nvram boot-args
nvram: Error getting variable - 'boot-args': (iokit/common) data was not found
이것은 정상적인 응답입니까 (즉, 부팅 인수가 설정되지 않은 경우), 또는 서버에 문제가 있습니다. Apple의 지원 페이지 에는 오류가 언급되어 있지 않습니다.
내 서버는 내부 SSD에서 10.11.6을 실행하는 Mac Pro입니다. 그리고 Server.app가 설치 / 구성되었습니다.
출력은 nvram -p
다음 변수 를 보여줍니다.
efi-boot-device
bluetoothInternalControllerInfo
fmm-computer-name
efi-apple-recovery
SystemAudioVolumeDB
bluetoothActiveControllerInfo
SystemAudioVolume
eft-boot-device-data
BootCampProcessorPstates
답변
변수가 설정되지 않은 경우 실제로 정상적인 반응입니다. 조회 라인에 따른 명령 및 출력 예 :
$ nvram boot-args
boot-args serverperfmode=1 -v
이므로:
$ nvram bootargs # missing character results in: non existing variable
nvram: Error getting variable - 'bootargs': (iokit/common) data was not found
이것은 전체 변수를 삭제하거나 NVRAM을 재설정하여 모든 변수를 지운 후에 얻는이 변수와 동일한 상태입니다.
그리고 nvram -p
당신이 게시 한 것 외에 아무것도 표시하지 않으면 그러한 절차는 매우 최근입니다.
‘정상 성’을 테스트하려면 다음을 수행하십시오.
$ nvram -p # print all nvram variables
boot-args serverperfmode 1 -v # output if only boot-args is set
$ sudo nvram -d boot-args # delete nvram variable for boot-args
$ nvram -p # print all nvram variables
# nothing to output
$ nvram boot-args # try to read only boot-args variable
nvram: Error getting variable - 'boot-args': (iokit/common) data was not found # your error message
$ sudo nvram boot-args="-v" # set boot-args to verbose boot mode
$ nvram -p # print all nvram variables
boot-args -v # output for nvram variable boot-args shown
$ nvram boot-args # print only boot-args nvram variable
boot-args -v