git://git.onelab.eu
/
mom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
089e9d1
)
Increase channel width in vps so regex doesn't fail.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Wed, 23 Apr 2008 20:47:55 +0000
(20:47 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Wed, 23 Apr 2008 20:47:55 +0000
(20:47 +0000)
swapmon.py
patch
|
blob
|
history
diff --git
a/swapmon.py
b/swapmon.py
index
7ca19bc
..
ced0cab
100755
(executable)
--- a/
swapmon.py
+++ b/
swapmon.py
@@
-295,7
+295,7
@@
def slicestat(names = None):
# Eat the header line. vps depends on the header to figure out
# which column is the PID column, so we can't just tell ps not to
# print it.
- for line in bwlimit.run("/usr/sbin/vps -e -o " + ",".join(ps_fields))[1:]:
+ for line in bwlimit.run("/usr/sbin/vps -e -o " + "
:16
,".join(ps_fields))[1:]:
# Chomp newline
line = line.strip()