runs multiple process at the same time and outputs the last n lines