Benchmarking shell commands

Hi All,

I’m testing a Linux monitoring/auditing tool, so my tests involve running a bunch of different shell commands and monitoring the memory/CPU usage of the tool to make sure it doesn’t eat up too much resources. Out of all the tools I looked into Gatling seems like the most likely to be adaptable to this task.

Does anyone have experience having it run commands rather than send HTTP requests, or have a good idea for the best approach to do so? Is this a bad idea altogether?

I’m going to try to make it work but I figured before I spent too much time on it I’d also post here in case someone has examples, advice, or suggestions for other tools that will need less tweaking to make this happen.

Thanks for your time,