System and Runtime Custom Functions

=== OS-like Ax Functions ===
AxHostNameValue(): 48fdca2a672f
AxProcessId(): 1
AxEffectiveUserId(): 100
AxCurrentDir(): /opt/axonasp
AxGetEnv('PATH') length: 60
AxEnvironmentValue('DOES_NOT_EXIST', 'fallback'): fallback
AxUserHomeDirPath(): /home/axonasp
AxUserConfigDirPath(): /opt/axonasp/config/axonasp.toml
AxUserCacheDirPath(): 
AxDirSeparator(): /
AxPathListSeparator(): :
AxIsPathSeparator('/'): True
AxIsPathSeparator('a'): False
AxIntegerSizeBytes(): 8
AxIntegerMax(): 9223372036854775807
AxIntegerMin(): -9223372036854775808
AxFloatPrecisionDigits(): 15
AxSmallestFloatValue(): 5e-324
AxPlatformBits(): 64
AxExecutablePath(): /opt/axonasp/axonasp-http
AxEnvironmentList() preview:
  - HOSTNAME=48fdca2a672f
  - SHLVL=1
  - HOME=/home/axonasp
  - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  - LANG=pt_BR.UTF-8
AxChangeDir(tempDir): True
AxCurrentDir() after change: /opt/axonasp/www/tests/temp
AxChangeDir(originalWd): True
AxChangeTimes(testFile, 1700000000, 1700000001): True
AxChangeMode(testFile, '0644'): True
AxCreateLink(testFile, testLink): True (may be false on restricted environments)
AxChangeOwner(testFile, 0, 0): False (expected false on Windows/non-privileged environments)

=== Runtime Functions ===
AxLastModified(): 1793059315
AxSystemInfo('a'): linux 48fdca2a672f go1.27.1 amd64
AxSystemInfo('s'): linux
AxSystemInfo('n'): 48fdca2a672f
AxSystemInfo('r'): linux 48fdca2a672f go1.27.1 amd64
AxSystemInfo('v'): go1.27.1
AxSystemInfo('m'): amd64
AxCurrentUser(): axonasp
AxVersion(): v2.3.21
AxVersion('version_id'): v2.3.21

AxRuntimeInfo() output below:
AxonASP Server
Copyright (C) 2026 G3pix Ltda. All rights reserved.
Developed by Lucas GuimarĂ£es - G3pix Ltda

Project URL: https://g3pix.com.br/axonasp

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
Attribution Notice:
If this software is used in other projects, the name "AxonASP Server"
must be cited in the documentation or "About" section.

Contribution Policy:
Modifications to the core source code of AxonASP Server must be
made available under this same license terms.

AXONASP RUNTIME INFORMATION
===========================
Timestamp: 2026-10-29T16:23:32-03:00
Engine: AxonASP
Version: v2.3.21
Go Runtime: go1.27.1
Platform: linux/amd64
CPU Cores: 4
GOMAXPROCS: 4

SERVER CONTEXT
--------------
Hostname: 48fdca2a672f
PID: 1
Current Directory: /opt/axonasp
Executable Path: /opt/axonasp/axonasp-http
User Home Directory: /home/axonasp
User Config File: /opt/axonasp/config/axonasp.toml
Cache Directory: /opt/axonasp/.temp/cache
Path Separator: /
Path List Separator: :
Integer Size (bits): 64

MEMORY SNAPSHOT
---------------
Alloc Bytes: 1648302272
Total Alloc Bytes: 75840948968
Sys Bytes: 2031610608
Heap Objects: 625218
Num GC: 30548

CONFIGURATION (config/axonasp.toml)
------------------------------------
Config status: loaded
- g3axonlive.g3axonlive_cleanup_interval_minutes = 5
- axfunctions.ax_default_logo_path = ./www/axonasp-pages/images/logo.svg
- global.cache_max_size_mb = 100
- global.default_mslcid = 1046
- g3db.mssql_host = localhost
- g3db.sqlite_busy_timeout = 5000
- g3db.mysql_database = test
- cli.enable_cli = true
- cli.enable_cli_run_from_command_line = true
- global.execute_as_asp = [.asp]
- global.enable_asp_debugging = true
- g3mail.smtp_pass = your_password
- server.blocked_files = [MyInfo.xml]
- axfunctions.enable_axservershutdown_function = false
- global.clean_sessions_on_startup = true
- g3db.mssql_user = sa
- g3db.postgress_database = test
- g3mail.smpt_host = smtp.example.com
- about = false
- server.blocked_extensions = [.asax .ascx .master .skin .browser .sitemap .config .cs .csproj .vb .vbproj .webinfo .licx .resx .resources .mdb .vjsproj .java .jsl .ldb .dsdgm .ssdgm .lsad .ssmap .cd .dsprototype .lsaprototype .sdm .sdmDocument .mdf .ldf .ad .dd .ldd .sd .adprototype .lddprototype .exclude .refresh .compiled .msgx .vsdisco .rules .asa .inc .exe .dll .env .htaccess .git .gitignore .seg .snp .log]
- global.enable_log_files = true
- global.enable_error_log_file = true
- global.execute_as_vbscript = [.vbs]
- global.default_script_timeout = 600
- global.vm_pool_size = 10
- g3db.mysql_port = 3306
- g3mail.smtp_from = sender@example.com
- mswc.pagecounter_save_interval_seconds = 120
- config.config_file = 
- server.default_pages = [index.asp default.asp index.html default.html default.htm index.htm home.asp home.html home.htm main.asp main.html main.htm index.txt]
- server.blocked_dirs = [./www/error-pages ./www/axonasp-pages]
- g3db.oracle_port = 1521
- mswc.pagecounter_enabled = false
- service.service_environment_variables = []
- server.server_port = 8801
- global.default_timezone = America/Sao_Paulo
- g3db.mysql_user = root
- fastcgi.default_pages = [index.asp default.asp index.html default.html default.htm index.htm home.asp home.html home.htm main.asp main.html main.htm index.txt]
- g3axonlive.g3axonlive_active = true
- global.viper_automatic_env = true
- global.default_charset = UTF-8
- g3db.oracle_dsn = 
- g3mail.smtp_port = 587
- mcp.mcp_mode = stdio
- javascript.enable_node_compatibility = true
- server.engine_mode = default
- server.directory_listing_template = ./www/axonasp-pages/directory-listing.html
- g3db.sqlite_path = ./database.db
- g3db.mssql_database = test
- g3db.oracle_service = ORCLCDB
- mcp.mcp_sse_port = 8000
- server.enable_directory_listing = true
- fastcgi.server_port = 9000
- axfunctions.ax_default_css_path = ./www/axonasp-pages/css/axonasp.css
- global.execute_as_javascript = [.js .mjs]
- global.response_buffer_limit_mb = 40
- g3db.postgress_port = 5432
- g3mail.smtp_user = your_email@example.com
- g3axonlive.max_components_per_response = 200
- global.clean_cache_on_startup = true
- global.viper_watch_config = false
- global.golang_memory_limit_mb = 256
- server.web_root = ./www/
- global.dump_preprocessed_source = false
- global.session_flush_interval_seconds = 120
- g3db.mssql_pass = password
- g3db.postgres_user = postgres
- service.service_display_name = G3pix AxonASP Server
- service.service_name = AxonASPServer
- cli.engine_mode = default
- mcp.mcp_docs = ./www/manual/md/
- mswc.pagecounter_file = ./temp/hitcnt.gob
- server.default_error_pages_directory = ./www/error-pages
- axfunctions.enable_global_ax = true
- g3db.postgress_pass = password
- g3db.postgres_host = localhost
- g3db.mysql_pass = password
- service.service_description = AxonASP Service running AxonASP Server. This is a wrapper used by axonasp-http or axonasp-fastcgi.
- service.service_executable_path = ./axonasp-http
- server.enable_webconfig = true
- global.adodb_platform_architecture = auto
- g3db.oracle_host = localhost
- g3db.mysql_host = localhost
- cli.force_fresh_compile = true
- g3axonlive.g3axonlive_auto_cleanup = true
- global.bytecode_caching_enabled = enabled
- global.temp_dir = ./temp
- g3db.mssql_port = 1433
- g3db.postgress_ssl_mode = disable
- g3db.oracle_pass = password
- g3db.oracle_user = system
- fastcgi.engine_mode = default

AXONASP SERVER SETTINGS
-----------------------
Script Timeout (seconds): 600


=== Done ===