In a Business Process (Ens.BusinessProcessBPL), how can you correctly call a classMethod?
I know we can call it in a block <code> :
.png)
Or in a <assign>
.png)
Are there other ways and/or good practices?
Thanks
Corentin
6 comentarios
https://es.community.intersystems.com/node/577581
Is anyone using the IPM client (e.g., running commands like zpm "install somepackagename") on an IRIS version earlier than 2022.1?
We're thinking about raising the minimum supported version so we can use Embedded Python in IPM. I'm curious if this would impact anyone. Of course, you'd be able to continue to use an earlier version of IPM.
3 comentarios
https://es.community.intersystems.com/node/577576
I built a monitoring system in Grafana using the IRIS API /api/monitor/metrics (reading with Prometheus) but I noticed that the RAM usage shown was below that shown by the operating system.
I installed the Zabbix agent and the usage values were higher, but with a line with the same highs and lows but shifted.
The metric in the API is iris_phys_mem_percent_used, described as "Percent of physical memory (RAM) currently in use", in Zabbix it is the Item tag: "component: memory" item: "Memory utilization".
Image below of the graphs in Grafana:
.png)
Using the command "free -h" the server returns:
total used free shared buff/cache available
Mem: 15Gi 8.1Gi 6.8Gi 3.2Gi 3.7Gi 7.0Gi
What exactly does the iris_phys_mem_percent_used metric return?
Would it be the use of physical memory exclusively by IRIS? If so, is there any other metric in the IRIS API that returns the total RAM usage of the server?
2 comentarios
https://es.community.intersystems.com/node/577571
Artículo
姚 鑫 · 30 oct, 2024
Lectura de 2 min
第六章 主设备、当前设备、空设备
明确使用主设备
USE 0
或USE $principal
向进程的主体设备隐式发出OPEN
命令。如果另一个进程拥有该设备,则该进程会挂在隐式OPEN
上,就像它遇到任何OPEN
时一样。
为该进程不拥有的任何其他设备(由于先前的OPEN
命令)发出USE
命令会产生错误。
仅当进程获取设备时,没有超时的OPEN
命令才将控制权返回给进程。可以通过键盘中断命令(如Ctrl-C
)中断打开命令。由于保护问题或无效设备名称而无法成功的OPEN
将永远挂起。当在OPEN命令中指定超时时, OPEN
将在超时到期时将控制权返回给进程。
使用主设备的选项
根据主要设备的性质,可以指定其他特定于设备的参数,这些参数对于管道(进程间通信) 、文件和终端 I/O
是不同的。例如,可以使用 TLS
连接打开主设备:
https://es.community.intersystems.com/node/577561
I assume IPM manifest tag UnitTest is tightly coupled with the standard unit test framework, right? However we have our own one that predates the standard one and we are not going to switch.
I think I need to import the unit test cases and then be able to run a single class method for the test run. Any ideas how this would be possible?
9 comentarios
https://es.community.intersystems.com/node/577556