From 7d0cc39610b560ee0ff3ece1cfd81572ee459724 Mon Sep 17 00:00:00 2001 From: franklahm Date: Wed, 23 Dec 2009 11:09:25 +0000 Subject: [PATCH] Support long usernames. From Alain Richard. --- contrib/macusers/macusers.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/macusers/macusers.in b/contrib/macusers/macusers.in index 0c44430b..64aa0f59 100644 --- a/contrib/macusers/macusers.in +++ b/contrib/macusers/macusers.in @@ -21,7 +21,7 @@ if ($^O eq "freebsd" || $^O eq "openbsd") { $PS_STR = "-awwxouser,pid,ppid,start,command"; $MATCH_STR = '(\w+)\s+(\d+)\s+(\d+)\s+([\d\w:]+)'; } else { - $PS_STR = "-ef"; + $PS_STR = "-eo user:32,pid,ppid,c,stime,tty,time,cmd"; $MATCH_STR = '\s*(\w+)\s+(\d+)\s+(\d+)\s+\d+\s+([\d\w:]+)'; } $ASIP_PORT = "afpovertcp"; -- 2.39.2