for appname in $(cf a|grep started|cut -d " " -f 1) do cf stop $appname done
关闭所有cloudfoundry应用进程
原文:http://www.cnblogs.com/songfucai/p/7419724.html