I have been writing shell scripts from long time but I never thought of optimizing script to make sure its not using more cpu or memory .. I am looking out for some suggestions or process with which I can very that I am not over utilizing compute resource..
closed as too broad by Mr Shunz, Jesse_b, Kusalananda♦, glenn jackman, thrig Jan 11 at 17:16
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.