cemc-oper / nwpc-hpc-model

A key-value model for HPC resources in NWPC
MIT License
0 stars 0 forks source link

add disk usage model for PI in NWPC. #2

Closed perillaroc closed 6 years ago

perillaroc commented 6 years ago

Command quotainfo is used in PI to get disk usage info.

cur_uid(1020201)        gid(10202)
dir             Size(GB)        Used(GB)        Avail(GB)       Use%        Type
/g1             20.00           1.23            18.77           6.16      QUOTATYPE_FSUSER
/g2             900000.00       49788.64        850211.36       5.53      QUOTATYPE_FSUSER