Lucee makes available a Server scope which contains a lot of useful information about the running Lucee server. The specific details returned depend on the operating system running Lucee. These examples below are run on Windows.
To quickly see what is in the server scope, use
It will return a structure. A sample of each section will be described below.
General information about the running java process
Information about the Lucee process and version
Information about the Operating System running Lucee
Use these seperators to have a cross OS compatible way to create file paths, read files by line, and list file paths.
The character that is used by the OS when pathing to files. Windows is
\ and Mac & Linux are
How line breaks and carriage returns are handled in each OS. Use this when parsing files into an array or ther means which needs OS compatability.
How the system separates files paths in a string. This is used primary in OS environment variables.
Information about the servlet running Lucee
The Operating System environment variables picked up by Lucee when Lucee was started.
The Java configuration properties ready by Lucee when Lucee was started.