Filtering all the running jobs in a cluster

Hi

Is there any direct way to connect to an existing remote cluster and get the details of only running jobs in that cluster?