sa1.8
来自「linux下查看系统工具原码,如IOSTAT等」· 8 代码 · 共 57 行
8
57 行
.TH SA1 8 "MARCH 2005" Linux "Linux User's Manual" -*- nroff -*-.SH NAMEsa1 \- Collect and store binary data in the system activity daily data file..SH SYNOPSIS.B /usr/lib/sa/sa1 [.I interval.I count.B ].SH DESCRIPTIONThe.B sa1command is a shell procedure variant of the.B sadccommand and handles all of the flags and parameters of that command. The.B sa1command collects and store binary data in the.IR /var/log/sa/sa ddfile, where the dd parameter indicates the current day. The.I intervaland.I countparameters specify that the record should be written.I counttimes at.I intervalseconds. If you do not specify these parameters, a single record is written.The.B sa1command is designed to be started automatically by the cron command..SH EXAMPLESTo create a daily record of.B saractivities, place the following entry in your root or adm crontab file:.B 0 8-18 * * 1-5 /usr/lib/sa/sa1 1200 3 &.SH FILES.IR /var/log/sa/sa dd.RSIndicate the daily data file, where the.B ddparameter is a number representing the day of the month..SH AUTHORSebastien Godard (sysstat <at> wanadoo.fr).SH SEE ALSO.BR sar (1),.BR sadc (8),.BR sa2 (8),.BR sadf (1),.BR mpstat (1),.BR iostat (1),.BR vmstat (8).I http://perso.wanadoo.fr/sebastien.godard/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?