-XX:+PrintCommandLineFlags
Prints flags passed on command line or configured by the ergonomics (auto-sizing) features.
-XX:+PrintFlagsInitial
Dumps ALL the default flags and values.
-XX:+PrintFlagsFinal
Dumps ALL the flags after processing command line and ergonomics.
So I think the latter will do for you, just add it to your command line script.