?? sa.1m
字號:
.TH SA 1M .SH NAMEsa, accton \- system accounting.SH SYNOPSIS.B sa[.B \-abcjlnrstuv] [ file ].PP.B /etc/accton [ file ].SH DESCRIPTIONWith an argument naming an existing.I file,.I acctoncauses system accounting information forevery process executed to be placed at the end of the file.If no arguemnt is given, accounting is turned off..PP.I Sareports on, cleans up, and generally maintainsaccounting files..PP.I Sais able to condensethe information in.I /usr/adm/acctinto a summary file.I /usr/adm/savacctwhich contains a count of thenumber of times each command was called and the time resourcesconsumed.This condensation is desirable because on a large system.I acctcan grow by 100 blocks per day.The summary file is read before the accounting file,so the reports include all available information..PPIf a file name is given as the last argument,that file will be treatedas the accounting file;.I shais the default.There are zillions of options:.PP.TPaPlace all command names containing unprintable charactersand those used only once under the name `***other.'.TPbSort output by sum of user and system time divided by number ofcalls.Default sort is by sum of user and system times..TPcBesides total user, system, and real time for each command print percentageof total time over all commands..TPjInstead of total minutes time for each category,give seconds per call..TPlSeparate system and user time; normally they are combined..TPmPrint number of processes and number of CPU minutes for each user..TPnSort by number of calls..TPrReverse order of sort..TPsMerge accounting file into summary file.I /usr/adm/savacctwhen done..TPtFor each command report ratio of real time to the sum of user andsystem times..TPuSuperseding all other flags,print for each command in the accounting file theuser ID and command name..TPvIf the next character is a digit.I n,then type the name ofeach command used.I ntimes or fewer.Await a reply from the typewriter;if it begins with `y', add the command tothe category `**junk**.'This is used to strip out garbage..dt.SH FILES/usr/adm/acct raw accounting.br/usr/adm/savacct summary.br/usr/adm/usracct per-user summary.SH "SEE ALSO"ac(1), acct(2)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -