Monitoring latches with command-line utilities You can obtain information about latches by running onstat -p or onstat -s.