search for: btimeleft

Displaying 2 results from an estimated 2 matches for "btimeleft".

Did you mean: timeleft
2008 Jun 13
2
Best Ferrups reporting uptime in minutes, not seconds
.../drivers/bestfcom.c --- nut-2.2.1-dist/drivers/bestfcom.c 2008-06-13 14:04:07.000000000 -0500 +++ nut-2.2.1/drivers/bestfcom.c 2008-06-13 14:05:00.000000000 -0500 @@ -277,8 +277,8 @@ /* AC line frequency */ acfreq = ((double)bcd2i(&fstring[54], 4) / 100.0); - /* Runtime remaining */ - btimeleft = bcd2i(&fstring[58], 4); + /* Runtime remaining (UPS reports minutes) */ + btimeleft = bcd2i(&fstring[58], 4) * 60; if (fc.model != FDxxxx) { /* Iout. int times 10 */ -- Chris Adams <cmadams at hiwaay.net> Systems and Network Administrator - HiWAAY Internet Services I...
2025 May 22
2
weird interaction with NFS quota-enabled mount
...ell. Working case: sys_get_nfs_quotas: getquota_rslt: status : '1' bsize : '1024' active : 'yes' bhardlimit : '5000' bsoftlimit : '4000' curblocks : '1024' fhardlimit : '8' fsoftlimit : '0' curfiles : '0' btimeleft : '1' ftimeleft : '3918673920' Failing case sys_get_nfs_quotas: getquota_rslt: status : '1' bsize : '1024' active : 'yes' bhardlimit : '5000' bsoftlimit : '4000' curblocks : '1024' fhardlimit : '125312609' f...