...
Code Block | ||||
---|---|---|---|---|
| ||||
sed -i '/\/usr\/bin\/numactl --membind=0/d' /etc/init.d/MonTier-es-raw-trans-Node-3 sed -i '/\/usr\/bin\/numactl --membind=0/d' /etc/init.d/MonTier-es-raw-trans-Node-4 sed -i '/.*daemon --user $ES_NODE_USER.*/i \ numa="/usr/bin/numactl --membind=2 --cpunodebind=2"' /etc/init.d/MonTier-es-raw-trans-Node-3 sed -i '/.*daemon --user $ES_NODE_USER.*/i \ numa="/usr/bin/numactl --membind=3 --cpunodebind=3"' /etc/init.d/MonTier-es-raw-trans-Node-4 |
...