Executing Inside and Outside the VM

Executing inside the VM isn't always the best way. For example, consider a large file (20 MB). When you use a cat() statement in your PSL code, the agent grows by 20 MB.

If you do not give the output of the statement a name, PATROL will create an unnamed variable for it. The contents of the file will be stored in memory.

PSL does not offer some sort of internal and magical IPC 1. This is a concept usually known by "shell developers" because IPC is a common way to pipe data from one process into the other. Command in PSL are not evaluated as separate processes (like "shell" works) and therefore there is no need to pass data in such fashion.

Execute Inside or Outside the VM?

Was this page helpful? Yes No Submitting... Thank you

Comments