Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-12-2009, 09:26 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 6

Rep: Reputation: 1
Question List all of processes running in the last x minutes

How do i record (or find log) of all commands/tasks/processes that linux executing/executed in the last, let's say 5 minutes?

So basically, I need something like ps auxww result, but record in real time for the last x minute.

Old 07-12-2009, 09:45 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You could use sar. It is in the sysstat package. Set it up to run the sar data collector. That will put the information into a file that you can read with the sar utility.
man sar


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding proc list and task list of active processes. pravin.embedded Linux - Newbie 1 09-02-2008 02:20 PM
How to get a list of the running processes in the system? zahadumy Programming 7 03-19-2007 09:27 AM
Command to list all running processes GSX Linux - General 4 02-23-2005 04:42 AM
Freevo takes 4 minutes to load mp3 list wally48159 Linux - Software 1 05-11-2004 08:56 PM
How to list all running processes? thrix Linux - Software 2 01-21-2004 01:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration