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.
Asked
Active
Viewed 120 times
3 Answers
1
Type ps aux
in the terminal will give information about the processes(Started time, runtime), more information about keep track of processes

Uy Hà
- 497
- 1
- 4
- 16
-
That only displays information on processes that are currently running. – Feb 06 '16 at 18:07
0
Take a look at ps -e
and eventually crontab
if you want to take that information periodically.

Matteo A
- 358
- 5
- 15
0
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

Community
- 1
- 1

dan4thewin
- 1,134
- 7
- 10