Collect Collect The timed collect and report function provides a fast automated snapshot of system performance by collecting metrics for a specified period (30 seconds by default), creating five basic reports and a process count, and formatting them together as either an Excel spreadsheet or an HTML page.Format: status = $$Collect^PERFMON(time,format,output) Parameters: time — number of seconds for data collection (default 30) format — output format; valid values are: XML – for Microsoft Excel XML markup suitable for import into Excel (.xml file) HTML – for an HTML page (.html file) CSV output — enter a file name, Return to accept the default file name displayed, or 0 (zero) for output to the screen Status Codes: Status code Description 1 Successful -1 Somebody else is using Monitor -3 Monitor is already running