![]() Your output will look something like this:Ĭommand vers runtime systime elapsed UID GID mem_use chars PID PPID ? retcode term date/time Sudo dump-acct /var/log/account/pacct | tail -5 To better understand what you're looking at, you may want to add column headings as I have done with these commands: echo "Command vers runtime systime elapsed UID GID mem_use chars PID PPID ? retcode term date/time" " Many are system processes that are independent of user activity. Some may have been run by commands that you ran, rather than by you directly (e.g., groff and grotty in the output above). $ sudo dump-acct /var/log/account/pacct | tail Anticipate a very wide and lengthy display that will wrap around in a normal terminal window unless you widen it considerably or pipe output to the tail command. Instead, use the dump-acct command to view it as shown in the example below. This file is not a plain text file, so don't try viewing it with more or tail commands. On this system, the file /var/log/account/pacct is the file in which the data will be saved. $ sudo /usr/sbin/accton on Turning on process accounting, file set to the default '/var/log/account/pacct'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |