For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Process Accounting

Process Accounting

Created by dave. Last edited by dave, 9 years and 201 days ago. Viewed 1,775 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Process Accounting

The RedHat package is psacct

It is a service that must be started, ideally at boot time.

Commands to know:

  • ac and ac -d for connection times
  • lastcomm for a list of processes executed, when, by who, and how much cpu time consumed; searchable ie lastcomm dave or lastcomm ls
  • sa specifically sa -u and sa -m although this seems to update only when processes exit.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt