list of all executions in Linux

160 Views Asked by At

Is it possible to find out all the programs getting executed in Linux. There will be many scripts and other executables getting launched and killed during the life time of a system and I would like to get a list of these (or a print while execuction start). I am looking for this to understand program flow in an embedded board.

3

There are 3 best solutions below

0
On BEST ANSWER

There's a kernel interface which will notify a client program of every fork, exec, and exit. See this answer: https://stackoverflow.com/a/8255487/5844347

1
On

Type ps aux in the terminal will give information about the processes(Started time, runtime), more information about keep track of processes

0
On

Take a look at ps -e and eventually crontab if you want to take that information periodically.