I'm trying to figure out whether AUCTeX is actually calling
dvipng when it renders LaTeX previews. While this may not the best way to find this out, one possibility is to check whether the executable
dvipng is being called at all - nothing else on the system would be using it. The compilation output does not mention
top does not show it being run.
For non-emacs users, AUCTeX is an emacs package that runs inside emacs and can call external executables, i.e.
So, my question is: for an arbitrary executable, is there some way to check whether and if so when, it has been run in the recent past? More information, like what arguments it has been called with, would also be useful.
I tried seeing whether the emacs process called
strace (I don't know if I did this correctly) by doing
$ strace emacs corrmodel.tex 2>&1 | grep dvipng
and then running a compilation, but I just got the output
read(15, "falias 'preview-start-dvipng #[n"..., 4096) = 4096
Is this a correct procedure? Is there a better way?