count_jobs: Count the number of jobs

View source: R/count_jobs.R

count_jobsR Documentation

Count the number of jobs

Description

Count the number of all jobs that are running on Peregrine for a specific user.

Usage

count_jobs(user_name = "$USER")

Arguments

user_name

the Peregrine username, for example p123456

Details

Use count_regular_jobs to count the jobs running on the regular partition. Use count_vulture_jobs to count the jobs running on the culture partition.

Value

the number of jobs

Examples

if (is_on_peregrine()) {
  count_jobs()
}

richelbilderbeek/peregrine documentation built on Jan. 3, 2024, 7:42 p.m.