What is the general structure of smxi / sgfxi /svmi?
Please see the docs page navigation for full layout and structure of smxi. This shows most of the features included in smxi, and the order they appear in, along with explanations of various distro specific things you may or may not see. If you want to see the actual programming structure, you can run these commands, which will show all functions and main structural sections of the scripts.