Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeRDark
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

sed -i 's/.*daemon --user $ES_NODE_USER --pidfile $pidfile --force.*/\        daemon --user $ES_NODE_USER --pidfile $pidfile --force $numa $exec -d -p $pidfile/g' /etc/init.d/MonTier-es-raw-trans-Node-3
sed -i 's/.*daemon --user $ES_NODE_USER --pidfile $pidfile --force.*/\        daemon --user $ES_NODE_USER --pidfile $pidfile --force $numa $exec -d -p $pidfile/g' /etc/init.d/MonTier-es-raw-trans-Node-4

...