import.css=/download/attachments/6062824/tecnologia.css |
Retorna uma string contendo um resumo do status atual do serviço do Application Server, incluindo detalhamento de processos internos, processos de usuário, memória do serviço, pools de memória do kernel do Application Server, memória do processo e acumuladores globais.
GetSrvGlbInfo() |
Nome | Tipo | Descrição |
---|---|---|
cGlbInfo | caractere | Retorna uma string descrevendo o status atual do serviço |
Importante Função disponível a partir da build 7.00.090818P-20091104.
As informações possuem variação de formatação de acordo com a plataforma da build do Application Server (Windows e/ou Linux). As informações são divididas em grupos, sendo:
----------- Total Thread Count ------------ Total Threads ... 13 Thread ... 2 WThread ... 9 RmtSockThread ... 1 SockServer ... 1 ----------- Global List Info -------------- IMAP Glb List ... 0.00 KB. Count 0 Variable Glb List ... 0.00 KB. Count 0 Session Glb List ... 0.00 KB. Count 0 SymTab List ... 426.33 KB. Count 25574 ----------- SmartHeap Pools Info ---------- ctSimplePool ... 67.97 Kb. Count 0 ctDtmPool ... 67.97 Kb. Count 0 ctIntervalPool ... 67.97 Kb. Count 0 decimalPool ... 131.95 Kb. Count 0 stringPool ... 587.81 Kb. Count 14241 rContentPool ... 203.91 Kb. Count 524 namedVarPool ... 135.94 Kb. Count 71 instrVarPool ... 203.91 Kb. Count 364 sumPool ... 135.94 Kb. Count 181 comparePool ... 135.94 Kb. Count 4 asnParamPool ... 67.97 Kb. Count 0 localEnvPool ... 199.92 Kb. Count 9 interFCPool ... 135.94 Kb. Count 5 directFCPool ... 203.91 Kb. Count 5 inter4GLFCPool ... 67.97 Kb. Count 0 prgCodePool ... 6346.41 Kb. Count 15826 asnBasePool ... 203.91 Kb. Count 145 ctCodeBlockPool ... 203.91 Kb. Count 2 cctCodeBlockEnv ... 131.95 Kb. Count 0 ctCodeBlockRef ... 199.92 Kb. Count 1 ctCodeBlockInstr ... 135.94 Kb. Count 1 ctAPXmlDocInterfacel ... 131.95 Kb. Count 0 ctClassData ... 203.91 Kb. Count 651 ctAPXmlItem ... 67.97 Kb. Count 0 ctPrgFunctXRefEle ... 715.78 Kb. Count 11633 ctIdentifier ... 203.91 Kb. Count 0 TOTAL POOLED MEMORY ... 10960.55 Kb. ----------- OS Memory Summary ------------- Physical memory . 3325.54 MB. Used 1232.10 MB. Free 2093.44 MB. Paging file ..... 6488.96 MB. Used 1420.38 MB. Free 5068.58 MB. ----------- APP Memory Summary ------------ Service Memory Capacity ... 2047.88 MB. Service Virtual Address ... 78.83 MB. Service Resident Memory ... 25.64 MB. |
User Function exemplo() Local cInfo := GetSrvGlbInfo() conout(cInfo) Return |
Protheus 10 , TOTVS Application Server 10 , ByYou Application Server