Showing the current boot arguments in OS X

Is there some way to know the arguments passed to xnu at boot from within the system?


Solution 1:

You can use the nvram utility.

Open Terminal.app and run nvram -p to see all the boot parameters. You can also run man nvram to see all the options. Note that to set any parameters you will have to use sudo if you are not logged in as root.

Solution 2:

sysctl kern.bootargs

is what you're looking for!