Process accounting with lastcomm and sa


Author: JT Smith

BSDToday details process accounting on the BSD family of Unix operating systems. “One of the tools I used was lastcomm — the command for showing last commands executed. This article covers the basics of enabling process accounting and shows a few examples of using lastcomm and sa to read and use the accounting data. These tools can help monitor user activity and system usage.


  • Unix