Setting tag mom-2.3-5
[mom.git] / swapmon.py
index e3ddf17..edc00a3 100755 (executable)
@@ -10,8 +10,6 @@
 # Faiyaz Ahmed <faiyaza@cs.princeton.edu>
 # Copyright (C) 2004-2006 The Trustees of Princeton University
 #
-# $Id$
-#
 
 import syslog
 import os
@@ -23,7 +21,7 @@ import socket
 import time
 
 # bwlimit exports a few useful functions like run(), get_xid(), and get_slice()
-import bwlimit
+import plnode.bwlimit as bwlimit
 
 # Utility functions
 from pl_mom import *
@@ -32,6 +30,7 @@ from pl_mom import *
 debug = False
 verbose = 0
 DATAFILE = "/var/lib/misc/swapmon.dat"
+# xxx fixme - this is broken under git
 VERSION = "$Id$"
 # Seconds between process analysis
 period = 30