how to start a q task with extra SO command

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,

Hi leguan,

Is this query in relation to your other thread: Re: questions about tuning a NUMA server - KX Community - 11554?

If so it may be best to continue that thread in case others search for this later to avoid fragments answers

Cheers,
David

Hello David, 

thank you for responding!Yes this one is related to post 11554, but i have marked that one as solved. How to re-open that thread? 

best,

leguan 

Hi leguan,

I believe you can un-mark the solution using the following option on the post you marked as the solution.

Kind regards,
David

Hi David,

This is Marion from the account team.

My client, Leguan is waiting for a reply to post number 11554.

Appreciate if you can look into it soonest.

Many thx,

Marion