Description Usage Arguments Value Examples
View source: R/greatlakes_resource_usage.R
the '$ seff <jobid>' command on Great Lakes returns a string that includes the run time of an sbatch job. These strings look like: * Job Wall-clock time: 10:30:00 or * Job Wall-clock time: 1-10:30:00 and indicate 10.5 hours or 34.5 hours, respectively. Given such a string this function converts the number portion into just hours. The time is recorded as hours:minutes:seconds.
1 | ConvertTimeToHours(timeStr)
|
timeStr |
String of the form: 1-10:30:00 or 10:30:00. The number before the dash indicates days. |
Number of hours rounded to 3 digits. Numeric.
1 2 | ConvertTimeToHours("1-10:30:00")
ConvertTimeToHours("10:30:00")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.