Written by

~~ retired but not tired ~~
MOD
Article Robert Cemper · Oct 18, 2025 1m read

DBsize with Swagger

As in the previous package, all is running from a CSP page.
And it is all classic CSP written with InterSystems ObjectScript, JavaScript, HTML
Besides the graphic, you also get concrete numbers freshly collected from your local
instance or from remote instances that also installed the package. 

The final result

The processing steps 

  • A CSP page is called by its URL
  • In method OnPreHTTP
    • The System Query fills the temp table from %SYS
    • If the correct URL parameter is provided 
    • ?SERVER=IP-Address[:SuperServerPort[:Username[:Password]]]
    • Actual data are fetched from this server using the Native API for ObjectScript

Comments

Robert Cemper · Oct 19, 2025

Added IRIS instance name and server IP to result header

0