コード例 #1
0
 def manage_threshold(self, stat_name, trigger):
     """Manage the threshold for the current stat."""
     glances_thresholds.add(stat_name, trigger)
コード例 #2
0
ファイル: glances_plugin.py プロジェクト: nicolargo/glances
 def manage_threshold(self,
                      stat_name,
                      trigger):
     """Manage the threshold for the current stat."""
     glances_thresholds.add(stat_name, trigger)