jmap -dump:format=b,file=/c
kubectl get pod --all-namespaces -o wide | grep -i 'alluxio'
kubectl exec -ti alluxio-master-0 /bin/bash
kubectl get pod --all-namespaces -o wide --field-selector=status.phase=Running | grep -i '10.126.111.16'
kubectl exec -it -n nsName podname /bin/bash
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar
--反编译
jad com.xxx.classname function
jad --source-only io.func.PagingFuncImpl fun
--trade
trace org.springframework.cglib.proxy.MethodInterceptor intercept "#cost>1000" -n 5
--dump
heapdump --live /tmp/dump.hprof
-- debug
watch io.xx.dd.organization.context.OrganizationContext getEntity '{params,returnObj,throwExp}' -n 5 -x 3
-- 热部署
curl -Lk "http://1tree-trantor-dev.oss-cn-shenzhen.aliyuncs.com/arthas/81c101b9-fccc-1c50303e608c?Expires=1648457002&OSSAccessKeyId=LTAILxM&Signature=dsdFfKv%2BCCCAOf%2BgtXt43H0%3D" | base64 --decode >arthas-idea-plugin-hot-swap.sh;chmod a+x arthas-idea-plugin-hot-swap.sh;./arthas-idea-plugin-hot-swap.sh;
-- 上传
#!/bin/sh
wget http://gosspublic.alicdn.com/ossutil/1.7.0/ossutil64
chmod 755 ./ossutil64
## 设置oss 变量配置
OSS_REGION="oss-cn-shenzhen"
OSS_PROVIDER="oss"
OSS_ACCESS_KEY_SECRET="11"
OSS_HOST="2222.oss-cn-shenzhen.aliyuncs.com"
OSS_ACCESS_KEY_ID="3333"
OSS_ACCESS_KEY="4444"
OSS_ENDPOINT="http://oss-cn-shenzhen.aliyuncs.com"
OSS_STORE_DIR="5555"
OSS_BUCKET="6666-uat"
OSS_ACCESS_SECRET="7777"
./ossutil64 config -c /root/.ossutilconfig -e $OSS_ENDPOINT -i $OSS_ACCESS_KEY_ID -k $OSS_ACCESS_KEY_SECRET -L CH
./ossutil64 cp $1 oss://$OSS_BUCKET/upload/files$1
printf "文件下载路径:https://"$OSS_BUCKET"."$OSS_REGION".aliyuncs.com/upload/files"$1"\n"
# language=EN
#### endpoint=http://oss-cn-shenzhen.aliyuncs.com
#### accessKeyID=1111
#### accessKeySecret=2222
浙公网安备 33010602011771号