user2148707
user2148707

Reputation: 93

list of all executions in Linux

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

Answers (3)

dan4thewin
dan4thewin

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

Matteo A
Matteo A

Reputation: 358

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

Upvotes: 0

Uy Hà
Uy Hà

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

Related Questions