Browse Source

Add missing units

adaptive-webui-19844
Thomas Piccirello 7 years ago
parent
commit
9b919b6c34
  1. 6
      src/webui/www/public/scripts/client.js

6
src/webui/www/public/scripts/client.js

@ -388,10 +388,10 @@ window.addEvent('load', function () {
$('TotalPeerConnections').set('html', serverState.total_peer_connections); $('TotalPeerConnections').set('html', serverState.total_peer_connections);
$('ReadCacheHits').set('html', serverState.read_cache_hits); $('ReadCacheHits').set('html', serverState.read_cache_hits);
$('TotalBuffersSize').set('html', friendlyUnit(serverState.total_buffers_size, false)); $('TotalBuffersSize').set('html', friendlyUnit(serverState.total_buffers_size, false));
$('WriteCacheOverload').set('html', serverState.write_cache_overload); $('WriteCacheOverload').set('html', serverState.write_cache_overload + "%");
$('ReadCacheOverload').set('html', serverState.read_cache_overload); $('ReadCacheOverload').set('html', serverState.read_cache_overload + "%");
$('QueuedIOJobs').set('html', serverState.queued_io_jobs); $('QueuedIOJobs').set('html', serverState.queued_io_jobs);
$('AverageTimeInQueue').set('html', serverState.average_time_queue); $('AverageTimeInQueue').set('html', serverState.average_time_queue + " ms");
$('TotalQueuedSize').set('html', friendlyUnit(serverState.total_queued_size, false)); $('TotalQueuedSize').set('html', friendlyUnit(serverState.total_queued_size, false));
} }

Loading…
Cancel
Save