X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fvtop;h=5ebf25fc4b27ac2d0d6ee6c15009c40d0be24515;hb=5f167675beabb9f55df5fe8a579f87763764cb08;hp=ae32b54fb4f133ee010dae885c0cb32f021be67f;hpb=06e1018272502e1d15d6d8f32b80fa96420785b8;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 "$@"