Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add correct ps invocation for Darwin-based OSes

  • Loading branch information...
commit 6fed92e99ecb3d49bbfce57801a6f03ee42e1f21 1 parent 95675a0
@machack666 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  tools/altperl/slon-tools.pm
View
2  tools/altperl/slon-tools.pm
@@ -112,6 +112,8 @@ sub ps_args {
return "/usr/ucb/ps -auxww";
} elsif ($sys eq "AIX") {
return "/usr/bin/ps auxww";
+ } elsif ($sys eq "Darwin") {
+ return "/bin/ps auxww";
}
return "/usr/bin/ps -auxww"; # This may be questionable for other systems; extend as needed!
}

1 comment on commit 6fed92e

@ssinger

This has been merged into master.
Thanks for the patch.

Please sign in to comment.
Something went wrong with that request. Please try again.