diff --git a/pysper/ttop.py b/pysper/ttop.py index 66fc932..bb10058 100644 --- a/pysper/ttop.py +++ b/pysper/ttop.py @@ -47,7 +47,7 @@ class TTopParser: thread_match = re.compile(r" +thread count: (?P[0-9]+)") # heap allocation rate 435mb/s heap_match = re.compile( - r" +heap allocation rate (?P[0-9]+)(?P[m|k|g]?b)/s" + r" +heap allocation rate -?(?P[0-9]+)(?P(mb|kb|gb|b))/s" ) # [001900] user= 4.87% sys= 5.52% alloc= 2172kb/s - RMI TCP Connection(184)-127.0.0.1 tinfo_match = re.compile(