Web*_*man 5 linux terminology container
我正在使用Docker in action的书,并且我已经多次看到术语“流程会计”。我处于应用程序上下文的容器化中。我想更多地了解流程会计的概念。谷歌给我找了一些财务会计的文章;我正在寻找与计算机系统相关的含义。
请您解释一下这个概念好吗?
小智 10
Linux 内核有一个内置的进程记帐工具。它允许系统管理员在每次在 Linux 系统上执行程序时在日志文件中收集详细信息。然后管理员可以分析这些日志文件中的数据并得出结论。为了更清楚地了解这个术语,让我举几个例子:
打开进程记帐需要大量磁盘空间。例如,在带有 Red Hat 7.2 的 Pentium III 系统上,每次执行程序时,都会将 64 字节的数据写入进程记帐日志文件。
进程记账命令如下:
**Command Name** **Purpose**
accton Enables or disables process accounting
acctentries Counts the number of accounting entries in the log file
accttrim Truncates the accounting file specified
dumpacct Dumps the contents of the log file
dump-acct Similar to dumpacct
handleacct.sh Script to compress and backup logs and delete the oldest
lastcomm Prints commands executed on the system, most recent first
sa Summarize accounting information
Run Code Online (Sandbox Code Playgroud)
可以在这篇 Linux Journal 文章中找到有关进程记帐的安装和使用的更多信息。