Article
· 14 hr ago 1m read

Free Database Space by SwaggerTools

Being impressed by the graphics of the package GBLSizeMonitor  from @Ashok Kumar T 
I ask for his help, and this is the result of our cooperation.

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

GitHub

Discussion (0)2
Log in or sign up to continue