08 2019 档案

摘要:ps -eo pid,lstart,etime,cmd | grep node 阅读全文
posted @ 2019-08-19 11:32 风别鹤 阅读(708) 评论(0) 推荐(0) 编辑
摘要:第二个是要上传到的服务器的位置 例如 root@39.106.144.90:/var/www scp -P 22 path/filename userName@sseverName:path scp -P 22 -r folder userName@sseverName:path 如果是要下载服务器 阅读全文
posted @ 2019-08-16 15:46 风别鹤 阅读(1909) 评论(0) 推荐(0) 编辑
摘要:const heapdump = require('heapdump'); setTimeout( ()=>{ heapdump.writeSnapshot(`${process.cwd()}/` + Date.now() + '.heapsnapshot'); }, 12000 ); 阅读全文
posted @ 2019-08-16 10:43 风别鹤 阅读(262) 评论(0) 推荐(0) 编辑
摘要:show dbs; #查看全部数据库use db_test; #进入数据库db.createUser({ user: "root", pwd: "123456", roles: [ {role: "read", db: "db_test"} ] }); #添加只读权限read。其它权限如下表: 角色 阅读全文
posted @ 2019-08-10 16:35 风别鹤 阅读(139) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示