How to Monitor User Activity on Linux with psacct or acct

Written By
Web Webster
Web Webster
Feb 23, 2013

On any server it’s important to have the most information as possible on what’s going on in real time with tools as pidstat and glances, but it’s also important to collect all the activity done by all the users and processes that are running, to analyze them at a later time or in case of problems of any kind (performance, security, capacity).

psaact as well as acct are both open source application that are used for monitoring user activity on a system. They run in the background keeping track of user activity on a system and the resources consumed by services such as MySQL, Apache, FTP, SSH, et al.

Now with these applications one will be able to track not only user activity, but that of all administrators as well that is performed on a particular server. Consequently, you can make use of this program to know what your users are doing at any given point in time and know what commands they are using as well as be aware of how long it is they are spending on a server.

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.