I am working on monitoring the solaris machine utilization continously with shell script without using any thirdparty software. I stuck at below commands which are limited to 1000000000 seconds.
CPU Utilization
sar -u 1 1000000000
Disk Utilization
sar -d 1 1000000000
Memory Utilization
sar -r 1 1000000000
Could you please help with continous monitoring commands to use for shell script to save them into file for future anlaysis.