Reputation: 93
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.
Upvotes: 0
Views: 178
Reputation: 1184
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
Upvotes: 0
Reputation: 358
Take a look at ps -e
and eventually crontab
if you want to take that information periodically.
Upvotes: 0
Reputation: 527
Type ps aux
in the terminal will give information about the processes(Started time, runtime), more information about keep track of processes
Upvotes: 1