From ba9c5383a8172fdfb0998d9efae6a4bc1345c6f8 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Tue, 11 Jun 2013 23:35:35 -0700 Subject: [PATCH] Message these are processes. --- pidcat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pidcat.py b/pidcat.py index 6ddf41a..db60033 100755 --- a/pidcat.py +++ b/pidcat.py @@ -127,7 +127,7 @@ while True: linebuf = StringIO() linebuf.write('\n' * 3) linebuf.write(colorize(' ' * (HEADER_SIZE - 1), bg=WHITE)) - linebuf.write(' Starting for %s\n' % target) + linebuf.write(indent_wrap(' Process created for %s\n' % target)) linebuf.write(colorize(' ' * (HEADER_SIZE - 1), bg=WHITE)) linebuf.write(' PID: %s UID: %s GIDs: %s' % (line_pid, line_uid, line_gids)) linebuf.write('\n') @@ -143,7 +143,7 @@ while True: linebuf = StringIO() linebuf.write('\n') linebuf.write(colorize(' ' * (HEADER_SIZE - 1), bg=RED)) - linebuf.write(' Killing because %s' % reason) + linebuf.write(' Process killed because %s' % reason) linebuf.write('\n' * 3) print linebuf.getvalue() @@ -157,7 +157,7 @@ while True: linebuf = StringIO() linebuf.write('\n') linebuf.write(colorize(' ' * (HEADER_SIZE - 1), bg=RED)) - linebuf.write(' Killing because no longer wanted') + linebuf.write(' Process killed because no longer wanted') linebuf.write('\n' * 3) print linebuf.getvalue()