lastcomm.1
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 69 行
1
69 行
.\" SCCSID: @(#)lastcomm.1 8.1 9/11/90.TH lastcomm 1.SH Namelastcomm \- show last commands executed in reverse order.SH Syntax.B lastcomm[\|\fIcommand name...\fR\|] [\|\fIuser name...\fR\|] [\|\fIterminal name...\fR\|].SH Description.NXR "lastcomm command".NXA "lastcomm command" "last command".NXR "command" "showing executed"The.PN lastcommcommand gives information on previously executed commands.With no arguments,.PN lastcommprints information about all the commands recordedduring the current accounting file's lifetime.If called with arguments, only accounting entries with amatching commandname, user name, or terminal name are printed.The following example produces a listing of all theexecutions of commands named.PN a.outby user.I rooton the terminal.IR ttyd0 :.EXlastcomm a.out root ttyd0.EE.PPFor each process entry, the following are printed:.sp.RS 10The name of the user who ran the process..spFlags, as accumulated by the accounting facilities in the system..spThe command name under which the process was called..spThe amount of cpu time used by the process (in seconds)..spThe time the process exited..RE.PPThe flags are encoded as follows: .sp.RS 10``S'' indicates the command wasexecuted by the super-user.sp``F'' indicates the command ran aftera fork, but without a following .IR exec .sp``C'' indicates the command was run in PDP-11 compatibility mode(VAX only).sp``D'' indicates the command terminated with the generation of a.I corefile.sp``X'' indicates the command was terminated with the signalSIGTERM.RE.SH See Alsolast(1), sigvec(2), acct(5), core(5)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?