adding function findAllRunningByCommandAndBase