读好书,交益友
发布时间:2016-06-17 11:17:50
首先top看一下那个java进程高,机器上有很多java进程举个例子 pid是 2507ps -mp pid -o THREAD,tid,timeps -mp 2507-o THREAD,tid,time查看那个线程占用的cpu高例如 12830top -p 2507 -H再次确认一下转为16进制printf "%x\n" 12830321ekill -3 2507jstack 2507 |grep 321e -A 30出现Unabl.........【阅读全文】
发布时间:2016-05-30 18:05:22
我发现我的centos 7 使用 yum -y install python-pip 返回Loaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfile * base: mirrors.zju.edu.cn * extras: mirrors.yun-idc.com * updates: mirrors.yun-idc.comNo package python-pip available.Error: Not.........【阅读全文】
发布时间:2016-05-27 11:24:38
1 sending packet: from 192.168.1.118[500] to 192.168.1.93[500]received packet: from 192.168.1.93[500] to 192.168.1.118[500]parsed IKE_AUTH response 1 [ IDr AUTH N(AUTH_LFT) N(TS_UNACCEPT) ]authentication of 'moon.strongswan.org' with pre-shared key successfulIKE_SA net-net[1] established be.........【阅读全文】
发布时间:2016-05-24 14:33:21
sudo apt-get install python-antlrsudo easy_install stringtemplate3 python -c 'import stringtemplate3'......【阅读全文】
发布时间:2016-04-28 14:39:28
ipsec pki --gen --type rsa --size 4096 --outform pem > private/centosKey.pemchmod 600 private/centosKey.pemipsec pki --self --ca --lifetime 3650 --in private/centosKey.pem --type rsa --dn "C=CH, O=centos, CN=centos Root CA" --outform pem > cacerts/centosCert.pemipsec pki --print --in cacerts/cent.........【阅读全文】