📄 ac.8
字号:
.\" SCCSID: @(#)ac.8 8.1 9/11/90.TH ac 8.SH Nameac \- login accounting.SH Syntax.B /etc/ac[.B \-w.I wtmp ] [.B \-p] [.B \-d] [ .I people ] ....SH Description.NXR "ac program".NXAM "login command" "ac command".NXAM "wtmp file" "ac command".NXA "sa command" "ac command".NXR "login" "accounting".NXR "wtmp file" "login accounting and"The.PN accommandproduces a printout givingconnect timefor each user who has logged induring the life of the current.I wtmpfile.A total is also produced..PPThe accounting file.PN /usr/adm/wtmpis maintained by.PN initand.PN login .Neither of these programs creates the file,so if it does not existno connect-time accounting is done.To start accounting, it should be created with length 0.On the other hand if the file is left undisturbed it willgrow without bound, so periodically any informationdesired should be collected and the file truncated..SH Options.TP.B \-wSpecifies an alternate.IR wtmp ""file..TP.B \-pPrints individual totals; without this option,only totals are printed..TP.B \-dCauses a printout for each midnight to midnightperiod.Any.I peoplewill limit theprintout to only the specified login names.If no.IR wtmp ""file is given,.PN /usr/adm/wtmpis used..SH Files.PN /usr/adm/wtmp.SH See Alsolast(1), lastcomm(1), login(1), utmp(5), init(8), sa(8)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -