# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id$
-#
ALL := leak
* Mark Huang <mlhuang@cs.princeton.edu>
* Copyright (C) 2006 The Trustees of Princeton University
*
- * $Id$
*/
#include <stdio.h>
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2005 The Trustees of Princeton University
#
-# $Id$
-#
@M@ @H@ * * * root /usr/bin/pl_mop.sh
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id$
-#
import os
import sys
-#
-# $Id$
-#
-%define url $URL$
-
%define name pl_mom
%define version 2.3
%define taglevel 4
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
Distribution: PlanetLab %{plrelease}
-URL: %(echo %{url} | cut -d ' ' -f 2)
+URL: %{SCMURL}
#URL: http://cvs.planet-lab.org/cvs/pl_mom
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: expect
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2005 The Trustees of Princeton University
#
-# $Id$
-#
PATH=/sbin:/usr/sbin:$PATH
#
# description: Resets memory hogs when swap is running low
#
-# $Id$
-#
PATH=/sbin:/bin:/usr/bin:/usr/sbin
# Faiyaz Ahmed <faiyaza@cs.princeton.edu>
# Copyright (C) 2004-2006 The Trustees of Princeton University
#
-# $Id$
-#
import syslog
import os
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