pbsfs(8B)
π pbsfs β the fairshare tea-spiller
okay bestie, welcome to pbsfs(8B) from PBS Professional β the little command that shows you (and messes with) the PBS scheduler's fairshare usage data. she's giving backstage-pass-to-the-scheduler energy and honestly? iconic. π
β¨ NAME β¨
pbsfs β show or manipulate PBS fairshare usage data
πΈ SYNOPSIS πΈ
Showing usage data:
pbsfs [-c <entity1> <entity2>] [-g <entity>] [-I <scheduler name>]
[-p] [-t]
Manipulating usage data:
pbsfs [-d] [-e] [-I <scheduler name>] [-s <entity> <usage value>]
Printing version:
pbsfs --version
π¦ DESCRIPTION π¦
so the whole point of pbsfs: you use it to print or manipulate the PBS scheduler's fairshare usage data. you can print that usage data in a bunch of different formats, all described down below. π
and here's the slay part β changes you make with pbsfs take effect in the next scheduling cycle. you do not need to restart the scheduler or HUP it for your changes to land. no drama, no restart, periodt. β¨
β οΈ real talk though: if you're using the options that manipulate usage data, we recommend you do it when the scheduler is not scheduling jobs. lowkey important β scheduling while you're changing fairshare usage data may give you unwanted results. π
π§ Prerequisites
the server has to be running for you to use the pbsfs command. no server, no vibes.
π Permissions
you must be root to run pbsfs. if you're not, it prints the error message, "Unable to access fairshare data". that's the vibe check failing. π
π OPTIONS π
π the safe ones (fine to use while jobs are being scheduled)
you can safely use the following options while jobs are being scheduled:
- (no options) β same as
pbsfs -p. literally just type the command, bestie. -c <entity1> <entity2>β compare two fairshare entities. head-to-head, side by side, π«Ά-g <entity>β print a detailed listing for the specified entity, including the path from the root of the tree to the entity. the full origin story. πΈ-I <scheduler name>β specifies the name of the scheduler whose data is to be manipulated or shown. Required for multischeds; optional for the default scheduler. the default scheduler's name is"default". if you don't specify it,pbsfsoperates on the default scheduler. π-pβ print the fairshare tree as a table, showing, for each internal and leaf vertex: the group ID of the vertex's parent, the group ID of the vertex, vertex shares, vertex usage, and percent of shares allotted to the vertex. a whole spreadsheet moment. β¨-tβ print the fairshare tree in a hierarchical format. the family tree reveal. π³--versionβ thepbsfscommand returns its PBS version information and exits. this option can only be used alone. no plus-ones. π
π the "maybe don't schedule right now" ones
it is not recommended to be scheduling jobs when you use the following options:
-dβ decay the fairshare tree by the amount specified in thefairshare_decay_factorscheduler parameter. glow-down mode activated. π-eβ trim the fairshare tree to just the entities in theresource_groupfile. unknown entities and their usage are deleted; as a result, the unknown group has no usage and no children. it's giving spring cleaning but make it permanent. π-s <entity> <usage value>β set entity's usage value to usage value. editing a non-leaf entity is ignored. all non-leaf entity usage values are calculated each time you use thepbsfscommand to make changes. π«Ά
π Output Formats for pbsfs π
the pbsfs command can print output in three different formats:
π pbsfs -g <entity>
prints a detailed listing for the specified entity. example:
pbsfs -g pbsuser3
fairshare entity: pbsuser3
Resgroup: 20
cresgroup: 22
Shares: 40
Percentage: 24.000000%
fairshare_tree_usage: 0.832973
usage: 1000 (cput)
usage/perc: 4167
Path from root:
TREEROOT : 0 1201 / 1.000 = 1201
group2 : 20 1001 / 0.600 = 1668
pbsuser3 : 22 1000 / 0.240 = 4167
π pbsfs or pbsfs -p
prints the entire tree as a table, with data in columns. example:
pbsfs
Fairshare usage units are in: cput
TREEROOT : Grp: -1 cgrp: 0 Shares: -1 Usage: 1201 Perc: 100.000%
group2 : Grp: 0 cgrp: 20 Shares: 60 Usage: 1001 Perc: 60.000%
pbsuser3 : Grp: 20 cgrp: 22 Shares: 40 Usage: 1000 Perc: 24.000%
pbsuser2 : Grp: 20 cgrp: 21 Shares: 60 Usage: 1 Perc: 36.000%
group1 : Grp: 0 cgrp: 10 Shares: 40 Usage: 201 Perc: 40.000%
pbsuser1 : Grp: 10 cgrp: 12 Shares: 50 Usage: 100 Perc: 20.000%
pbsuser : Grp: 10 cgrp: 11 Shares: 50 Usage: 100 Perc: 20.000%
unknown : Grp: 0 cgrp: 1 Shares: 0 Usage: 1 Perc: 0.000%
π pbsfs -t
prints the entire tree as a tree, showing group-child relationships. example:
pbsfs -t
TREEROOT(0)
group2(20)
pbsuser3(22)
pbsuser2(21)
group1(10)
pbsuser1(12)
pbsuser(11)
unknown(1)
π₯ Data Output by pbsfs π₯
here's the glossary for everything pbsfs spits out, so you're never confused mid-scroll. iykyk:
cresgrouporcgrpβ group ID of the entity.fairshare entityβ the specified fairshare tree entity.fairshare usage unitsβ the resource for which the scheduler accumulates usage for fairshare calculations. this defaults tocput(CPU seconds) but can be set in the scheduler's configuration file. βfairshare_tree_usageβ the entity's effective usage.Path from rootβ the path from the root of the tree to the entity. the scheduler follows this path when comparing priority between two entities. it's the entity's lore. π§Percentageorpercβ the percentage of the shares in the tree allotted to the entity, computed asfairshare_perc.ResgrouporGrpβ group ID of the entity's parent group.Sharesβ the number of shares allotted to the entity.usageβ the amount of usage by the entity.usage / percβ the value the scheduler uses to pick which entity has priority over another. the smaller the number, the higher the priority. so being small here? main character energy. π
π« SEE ALSO π«
pbs_sched(8B) β go read that one next, bestie π«Ά
and that's the whole page, no cap! πβ¨ππ¦πΈπ
mwah β this cutie was brought to you by Local, dated 6 May 2020, from PBS Professional (pbsfs(8B)). go forth and fairshare responsibly, queen. ππ
π¦ where this page comes from
- nixos 26.05: openpbs 23.06.06-unstable-2026-04-02
- nixpkgs unstable: openpbs 23.06.06-unstable-2026-04-02
- Copyright (C) 1994-2021 Altair Engineering, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms