From 9fc838e28d322bb0f2d3743b1366faa4ca3658cc Mon Sep 17 00:00:00 2001 From: "Steve Nyemba, The Architect" Date: Fri, 12 Oct 2018 19:32:06 -0500 Subject: [PATCH] bug fix --- src/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monitor.py b/src/monitor.py index b6b6287..1dbf0ab 100755 --- a/src/monitor.py +++ b/src/monitor.py @@ -87,7 +87,7 @@ class Apps(SmartTop) : if 'filter' in args : pattern = "|".join(args['filter']) i = df.cmd.str.contains(pattern) - r = df[i] + r = pd.DataFrame(df[i]) ii= (1 + np.array(i)*-1) == 1 other = pd.DataFrame(df[ii].sum()).T other.user = other.name = other.status = other.cmd = other.args = 'other'