|
|
|
@ -15,7 +15,7 @@ |
|
|
|
{% block style %}{% endblock %} |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
|
|
|
|
<a href="https://github.com/k3oni/pydash"><img style="position: absolute; top: 0; right: 0; border: 0;z-index:99999999;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a> |
|
|
|
<div class="navbar navbar-fixed-top" style=""> |
|
|
|
<div class="navbar-inner"> |
|
|
|
<div class="container"> |
|
|
|
@ -427,6 +427,7 @@ var load_ctx = $("#loadChart").get(0).getContext("2d"); |
|
|
|
} |
|
|
|
|
|
|
|
$(function() { |
|
|
|
window.setInterval('dashboard.getProc()', {{ time_refresh_long }}); |
|
|
|
window.setInterval('memory_usage()', {{ time_refresh }}); |
|
|
|
window.setInterval('load_average()', {{ time_refresh }}); |
|
|
|
window.setInterval('cpuu_usage()', {{ time_refresh }}); |
|
|
|
@ -434,10 +435,10 @@ $(function() { |
|
|
|
window.setInterval('dashboard.getUptime()', {{ time_refresh_long }}); |
|
|
|
window.setInterval('dashboard.getDisk()', {{ time_refresh_long }}); |
|
|
|
window.setInterval('dashboard.getUsers()', {{ time_refresh_long }}); |
|
|
|
window.setInterval('dashboard.getProc()', {{ time_refresh_long }}); |
|
|
|
}); |
|
|
|
|
|
|
|
$(function pageLoad() { |
|
|
|
dashboard.getProc(); |
|
|
|
memory_usage(); |
|
|
|
load_average(); |
|
|
|
cpuu_usage(); |
|
|
|
@ -446,7 +447,6 @@ $(function pageLoad() { |
|
|
|
dashboard.getDisk(); |
|
|
|
dashboard.getUsers(); |
|
|
|
dashboard.getIps(); |
|
|
|
dashboard.getProc(); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
|
|
|
|
|