Hello everyone,
I would like to ask how to start a q task/instance along with extra OS system command within KxPlatform.
Conventionally, after user right-click on a pre-defined q task/instance, platform launches the process like :
“/platForm_home/delta-bin/software/KDBPlus_version/l64/q q/prcl.q_ INSTANCE_NAME -prhost FQDN_of_CONTROL -prport PORT_of_CONTROL -name CentralConfig-PIDofControl -logfile /pathOfLogdir/… (blablabla…)”.
so that the task/instance is fully managed by the platform.
In case that i would like to bind the task to a specified mem or cpu, like “numactl --cpubind=0 --membind=0,1 q blablabla…”,
i would like to know how to make this work.
I tried in the way like what platform does: “numactl --cpubind=0 --membind=0,1 /platForm_home/delta-bin/software/KDBPlus_version/l64/…?the rest is the same as above)”
but this did not work.
The result is: the task is seemingly up, cuz the port number is busy, however the task could not be managed by Control neither could be attached to.
Please give me some suggestions, thank you!
best,
leguan,