mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-22 05:14:23 +02:00
[megaclisas-status] Make "Cache Cade" "CacheCade"
This commit is contained in:
parent
1f77418edc
commit
c2dd157145
@ -644,14 +644,14 @@ if printarray:
|
|||||||
rlen = len("Type")
|
rlen = len("Type")
|
||||||
if (mlen < len("Flags")):
|
if (mlen < len("Flags")):
|
||||||
mlen = len("Flags")
|
mlen = len("Flags")
|
||||||
if (clen < len("Cache Cade")):
|
if (clen < len("CacheCade")):
|
||||||
clen = len("Cache Cade")
|
clen = len("CacheCade")
|
||||||
|
|
||||||
ldfmt = str('%-5s | %-'+str(rlen)+'s | %7s | %7s | %'+str(mlen)+'s | %8s | %8s | %8s | %-'+str(clen)+'s |%-12s ')
|
ldfmt = str('%-5s | %-'+str(rlen)+'s | %7s | %7s | %'+str(mlen)+'s | %8s | %8s | %8s | %-'+str(clen)+'s |%-12s ')
|
||||||
# Header
|
# Header
|
||||||
if ( i == 0 ):
|
if ( i == 0 ):
|
||||||
if not nagiosmode:
|
if not nagiosmode:
|
||||||
print ldfmt % ("-- ID", "Type", "Size", "Strpsz", "Flags", "DskCache", "Status", "OS Path", "Cache Cade", "InProgress" )
|
print ldfmt % ("-- ID", "Type", "Size", "Strpsz", "Flags", "DskCache", "Status", "OS Path", "CacheCade", "InProgress" )
|
||||||
if not nagiosmode:
|
if not nagiosmode:
|
||||||
print ldfmt % (
|
print ldfmt % (
|
||||||
arrayinfo[0],
|
arrayinfo[0],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user