From: Michael Chase-S. <mc...@us...> - 2011-12-22 23:38:45
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SFCB - Small Footprint CIM Broker". The branch, master has been updated via 46e17f272fa749b3ee0e560c069f7c0b12b4072d (commit) from 2b708ad6d865aecb8ba8e8b68c0b6c4f915c8574 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 46e17f272fa749b3ee0e560c069f7c0b12b4072d Author: Michael Chase-Salerno <br...@li...> Date: Thu Dec 22 18:37:30 2011 -0500 Don't require sbin in the grep ----------------------------------------------------------------------- Summary of changes: diff --git a/extra/sfcb-ps b/extra/sfcb-ps index eed0d57..16fcec8 100755 --- a/extra/sfcb-ps +++ b/extra/sfcb-ps @@ -42,7 +42,7 @@ cat <<HELP $N - Attempt to identify SFCB co-processes. This scans for all the SFCB server processes (ones whose name matches - "sbin/sfcbd"), and attempts to determine the specific role of each of + "sfcbd"), and attempts to determine the specific role of each of those processes. Caution: Determination is not always 100% accurate. In particular, @@ -103,11 +103,11 @@ done if [ -n "$RAW_PS" ] ; then printf "%5s %5s %5s %-4s %s\n" PID PPID PGID STAT CMD - ps -e -o pid,ppid,pgid,stat,cmd | grep 'sbin[/]sfcb' + ps -e -o pid,ppid,pgid,stat,cmd | grep 'sfcbd' exit 0 fi -PS_INFO=$(ps -e -o pid,ppid,pgid,stat,cmd | grep 'sbin[/]sfcb') +PS_INFO=$(ps -e -o pid,ppid,pgid,stat,cmd | grep 'sfcbd') if [ -z "$PS_INFO" ] ; then echo "No SFCB Processes found." @@ -122,7 +122,6 @@ echo "$PS_INFO" | while read pid ppid pgid stat cmd ; do # # If not launched as a daemon, we have to be told how to recognize # the right one (with the -main option). - if [ "$pid" = "$pgid" -o "$pid" = "$MAIN_PID" ] ; then role="SFCB Main" hooks/post-receive -- SFCB - Small Footprint CIM Broker |