X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fvtop;h=5ebf25fc4b27ac2d0d6ee6c15009c40d0be24515;hb=19ef6bad17e92a9cedb7db8eddee2bebf1aa7c4d;hp=ae32b54fb4f133ee010dae885c0cb32f021be67f;hpb=96b9bc3416686cb4080beb8bda4283edaefafbe2;p=util-vserver.git diff --git a/scripts/vtop b/scripts/vtop index ae32b54..5ebf25f 100755 --- a/scripts/vtop +++ b/scripts/vtop @@ -18,11 +18,11 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #Presents the processes running in all virtual servers -: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars} +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} test -e "$UTIL_VSERVER_VARS" || { - echo "Can not find util-vserver installation; aborting..." + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 exit 1 } . "$UTIL_VSERVER_VARS" -exec $SBINDIR/chcontext --silent --ctx 1 top $* +exec $__SBINDIR/chcontext --silent --ctx 1 top "$@"