plutil [command_option] [other_options] file …
check the syntax of property list files, or convert a plist file from one format to another.
-p |
reformatted by ed
/System/Library/LaunchDaemons > plutil -p com.apple.syslogd.plist
Label => com.apple.syslogd
JetsamProperties => { JetsamPriority => -49 JetsamMemoryLimit => 300 }
EnvironmentVariables => { ASL_DISABLE => 1 }
MachServices => { com.apple.system.logger => { ResetAtClose => 1 } }
EnableTransactions => 1
ProgramArguments => [ 0 => /usr/sbin/syslogd ]
Sockets => {
AppleSystemLogger => { SockPathName => /var/run/asl_input SockPathMode => 438 }
BSDSystemLogger => { SockPathName => /var/run/syslog SockType => dgram SockPathMode => 438 }
}
HopefullyExitsLast => 1
OnDemand => 0
Original:
/System/Library/LaunchDaemons > plutil -p com.apple.syslogd.plist
{
"Label" => "com.apple.syslogd"
"JetsamProperties" => {
"JetsamPriority" => -49
"JetsamMemoryLimit" => 300
}
"EnvironmentVariables" => {
"ASL_DISABLE" => "1"
}
"MachServices" => {
"com.apple.system.logger" => {
"ResetAtClose" => 1
}
}
"EnableTransactions" => 1
"ProgramArguments" => [
0 => "/usr/sbin/syslogd"
]
"Sockets" => {
"AppleSystemLogger" => {
"SockPathName" => "/var/run/asl_input"
"SockPathMode" => 438
}
"BSDSystemLogger" => {
"SockPathName" => "/var/run/syslog"
"SockType" => "dgram"
"SockPathMode" => 438
}
}
"HopefullyExitsLast" => 1
"OnDemand" => 0
}
plistbuddy