GB showing instead ...
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Closed] GB showing instead of GiB for disk space

3 Posts
2 Users
1 Reactions
2,197 Views
Blue88ns
(@blue88ns)
Eminent Member Registered
Joined: 2 years 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.

 

 


   
Blue88ns
(@blue88ns)
Eminent Member Registered
Joined: 2 years 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
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 1926
 

LOL!  You got it!


   
Glenn's Page