Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Webopedia Term of the Day: What is Macbuntu

Virtualization With Xen On CentOS 6.2 (x86_64)

4 Best Free Linux Script Writing Tools

Linux File System Fsck Testing -- The Results Are In

Firefox 11 Gets SPDY

Piracy and the value of freedom

TLWIR 32: Open Sparks Fly, FOSS Players Give Open Advice, and FOSS Petition Gets Key Endorsement

Beware the power of Google?

Google Summer of Code 2012 Kicks Off

How to get started using awk



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:Monitoring User Activity with psacct or acct
Monitoring User Activity with psacct or acct
Jan 17, 2010, 00 :02 UTC (0 Talkback[s]) (7631 reads)

[ Thanks to Andrew Weber for this link. ]

"Monitoring with psacct
An excellent program for monitoring users and applications is psacct. This program will work in the background of your system recording what all users are doing on your system as well as the resources that are being consumed. I originally started using this program when a client asked for a way to monitor his developers and what they were doing on the servers that they were working on. psacct provided an excellent solution which told not only how long the developers were on the box but what commands they were using and how much of the resources they were using. Another great application for this program is to use it to evaluate the resources that applications are consumed on your server. So for example you could see the total resources consumed by apache, mysql, etc. Whether you are a CentOS Administrator or an Ubuntu Server Administrator or a home user wanting to track activity on your machine, this is a good program to explore.

"Install Process Accounting

yum install psacct

"on Ubuntu

sudo apt-get install acct
Start Process Accounting

/etc/init.d/psacct start
Starting process accounting:
[ OK ]

"on Ubuntu

sudo service acct start"

Complete Story

Related Stories:
One Month Of Monitoring The Linux Kernel Performance(Jan 04, 2010)
Problem with continuous monitoring of files with tail command(Dec 29, 2009)
HowTo: Create sar Graphs With kSar [ Identifying Linux Bottlenecks ](Dec 16, 2009)
Monitoring Notebook Battery with IBAM(Dec 08, 2009)
How to keep track of unused switch ports using Nagios or op5 Monitor(Dec 02, 2009)
20 Linux Server Hardening Security Tips(Oct 30, 2009)
Stumbling and Sniffing Wireless Networks in Linux, Part 1(Oct 19, 2009)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP