Sample Header Ad - 728x90

Is there an easy way to log all commands executed, including command line arguments?

21 votes
3 answers
46564 views
I am trying to find how to log a specific instantiation of rrdtool to see whether the path it is receiving is incorrect. I know I could wrap the executable in a shell script that would log the parameters, but I was wondering if there was a more kernel-specific way to monitor for that, perhaps a filesystem callback that sees when a particular /proc/pid/exe matches a given binary?
Asked by Peter Grace (747 rep)
Jul 29, 2013, 10:21 PM
Last activity: Nov 7, 2024, 09:36 AM