diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-13 00:13:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-13 00:13:23 +0000 |
commit | 6a3464b7b8d999b5027da98b587c73b0cf1bcffa (patch) | |
tree | 4f923c95d1364718832f3980ff1915a745eeea51 /etc/inc/service-utils.inc | |
parent | b57ecc8827e3023a9e54850f1eb8525f817834b3 (diff) | |
download | pfsense-6a3464b7b8d999b5027da98b587c73b0cf1bcffa.zip pfsense-6a3464b7b8d999b5027da98b587c73b0cf1bcffa.tar.gz |
Use ps awux
Diffstat (limited to 'etc/inc/service-utils.inc')
-rw-r--r-- | etc/inc/service-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/service-utils.inc b/etc/inc/service-utils.inc index f5add0c..acd3958 100644 --- a/etc/inc/service-utils.inc +++ b/etc/inc/service-utils.inc @@ -125,7 +125,7 @@ function restart_service($name) { } function is_process_running($process) { - $status = `/bin/ps ax | /usr/bin/grep {$process} | grep -v grep | wc -l`; + $status = `/bin/ps awux | /usr/bin/grep {$process} | grep -v grep | wc -l`; if($status > 0) return 1; return 0; } |