GB showing instead ...
 
Notifications
Clear all

GB showing instead of GiB for disk space

3 Posts
2 Users
1 Reactions
283 Views
Blue88ns
(@blue88ns)
Eminent Member Registered
Joined: 4 months ago
Posts: 12
Topic starter  

Hi,

I am using the LOGICALDRIVES  statement and tweaking the display to show used as well as free space. For some reason, the first argument for disk space used shows in GB and the rest as GiB. I can't figure out why. Any ideas?

LOGICALDRIVES=interval:5,diskio:1,font-size:100%,chart:bar max:100 series1:7 threshold:75,alarms:(%11 ge 10000000 0000f0)(%13 ge 10000000 0060f0),row-text:%1:\ %3|(%2),display:%6[1.1B]B Used / %8[1.1b]B free of %5[1.1b]B|%chart% | Read: %11[1.1B]B/s\, Write: %13[1.1B]B/s\, Queue: %17||

Thanks.

 

 


   
Quote
Blue88ns
(@blue88ns)
Eminent Member Registered
Joined: 4 months ago
Posts: 12
Topic starter  

Ha, I just checked it one more time and found the issue.

In the section following display: after the 1.1, I needed to change the capital B to a lowercase b, like this:

LOGICALDRIVES=interval:5,diskio:1,font-size:100%,chart:bar max:100 series1:7 threshold:75,alarms:(%11 ge 10000000 0000f0)(%13 ge 10000000 0060f0),row-text:%1:\ %3|(%2),display:%6[1.1b]B Used / %8[1.1b]B free of %5[1.1b]B|%chart% | Read: %11[1.1B]B/s\, Write: %13[1.1B]B/s\, Queue: %17||

Thanks community!


   
Glenn reacted
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1318
 

LOL!  You got it!


   
ReplyQuote
Glenn's Page