()
| 670 | }); |
| 671 | |
| 672 | function refreshDashboard() { |
| 673 | that.Client.executeRemote('getMonitorData', {}, function(err, list) { |
| 674 | if (err) { |
| 675 | console.error('Error retrieving process list: ' + err); |
| 676 | that.exitCli(cst.ERROR_EXIT); |
| 677 | } |
| 678 | |
| 679 | Dashboard.refresh(list); |
| 680 | |
| 681 | setTimeout(function() { |
| 682 | refreshDashboard(); |
| 683 | }, 800); |
| 684 | }); |
| 685 | } |
| 686 | |
| 687 | refreshDashboard(); |
| 688 | }; |