I submitted as testuser1 4 jobs and a set the job sort formula as below .But not sure why the Fairsharfactor is evaluted 0 .
#/opt/pbs/unsupported/pbs_stat --eval-formula
Formula: eligible_time + 10000 * fairshare_factor
3136.ip-10-77-162-79: 57213 + 10000 * 0 = 57213
3137.ip-10-77-162-79: 57206 + 10000 * 0 = 57206
3138.ip-10-77-162-79: 56703 + 10000 * 0 = 56703
3139.ip-10-77-162-79: 56680 + 10000 * 0 = 56680
[root@a59cff77b30cb96 ~]# pbsfs -g testuser1
fairshare entity: testuser1
Resgroup : 10000
cresgroup : 10001
Shares : 30
Percentage : 18.000000%
fairshare_tree_usage : 0.411023
usage : 1507 (cput)
usage/perc : 8374
Path from root:
TREEROOT : 0 4614 / 1.000 = 4614
admin : 10000 2804 / 0.600 = 4674
testuser1 : 10001 1507 / 0.180 = 8374
I understand the fairshare_factor = 2^-(fairshare_tree_usage / entity’s fairshare_perc) . But how it correlates with “pbsfs -g testuser1” output ?