ps + acct

Frank Sorenson frank at
Wed Jul 30 18:47:00 MDT 2008

Daniel wrote:
> ps aux will show which processes is running with the parameters used.
> acct will log which command was executed.  I want a combination of the
> two to show which command was executed with what parameters as well as
> who ran it when and when it stopped.  I need this for a Fedora box and
> an Ubuntu box.
> Any help would be appreciated,
> Daniel
I suggest looking into systemtap (  
There's even an example that you can probably modify for your needs 


More information about the PLUG mailing list