There are two ways to invoke sp_sysmon:
Using a fixed time interval to provide a sample for a specified number of minutes
Using the begin_sample and end_sample parameters to start and stop sampling