title: Call a function at run time using shell scripting
body: <p>I've a requirement which is to call a function at run time with function name or by passing parameters using shell script.
  My function is</p>
  
  <pre><code>PID=ps -ef | grep jmeter|grep -v grep
  stop(){
  echo "started killing the process\n"$PID""
  kill $PID
  }
  </code></pre>
  
  <p>I have other functions in the script to start the script etc. Now, I want to call the stop() function if only needed. So, I want to do it at run time.
  Please tell me if anyone know this. Thanks in advance. </p>