Control of cooling or lubricating