You want to create CPU monitor snapshots
Here is the procedure on how to create a new snapshot that will contain the CPU statistics.
First we need to enable CPU monitor
# conf t
#(config)diagnostics
#(config diagnostics)cpu-monitor enable
Then we can create and enable the snapshot (called cpu_monitor for our example here)
#(config diagnostics)snapshot create cpu_monitor
#(config diagnostics)snapshot edit cpu_monitor
#(config snapshot cpu_monitor)target /Diagnostics/CPU_Monitor/Statistics/Advanced
#(config snapshot cpu_monitor)interval 5
#(config snapshot cpu_monitor)keep 100
#(config snapshot cpu_monitor)enable
When not required, disable the snapshot with the following commands
#conf t
#(config)diagnostics
#(config diagnostics)snapshot edit cpu_monitor
#(config snapshot cpu_monitor)disable
It's also recommended to disable the CPU monitor when not in use
# conf t
#(config)diagnostics
#(config diagnostics)cpu-monitor disable
Note: You may refer to Creating a snapshot for the ProxySG appliance CPU monitor from the HTTP/HTTPS management console.for creating CPU monitor snapshots from the Web Management Console (HTTP/HTTPS)