Displays the contents of the various log files maintained by the administrative server and the cluster.
>>-catlog--+----------+--+----------------------+---------------> +- –?----+ '- –entries--+-25--+-' +- –h----+ +-50--+ '- –help-' +-75--+ '-100-' >--+-----------------------+--+--------------------------+------> | .-cluster--. | '- –date--YYYY–MM–DD-' '- –log--+-admin----+-' +-audit----+ +-event----+ '-security-' .-,--------. V | >--+-----------------------+-- –level----+-info-+-+---------->< '- –order--+-newest-+-' +-err--+ '-oldest-' +-warn-+ '-sev--'
This date must be the current date or older. Future dates are not acceptable.
If you run this command from an engine hosting a subordinate metadata server, logs for only the local engine are displayed. If you run this command from the engine hosting the master metadata server, logs for the entire cluster are displayed.
If there are log entries that have not been displayed, you are prompted to press Enter to display the next set of entries or to type exit and press Enter to stop.
sfscli> catlog -log event -date 2003-01-04 -level err ID Level Type Server Date and Time ============================================================ HSTSS0009E Error Event ST3 Jan 2, 2003 8:39:15 PM HSTNL0019E Error Event ST2 Jan 2, 2003 8:40:46 PM Message ====================================================== The Metadata server rpm is not installed. Unable to extract boot record when server is running.
Parent topic: Administrative commands
Related reference
clearlog
collectdiag