标题:求个自动监控服务器内存的脚本
作者:royaso
原帖:https://hostloc.com/thread-823987-1-1.html
摘要:在网上搜索了几个代码,都没生效。
#!/bin/bash mem_warn='1024' mem_free=`free -m | grep "Mem" | awk '{print $4+$6}'` if [ $mem_free-lt $mem_warn ] then /bin/systemctl restart php-fpm.service else exit fi复制代码
按照原作者的说法是,可用内存小于1G,就重启php-fpm服务,但是测试了没反应。
作者:royaso
原帖:https://hostloc.com/thread-823987-1-1.html
摘要:在网上搜索了几个代码,都没生效。
#!/bin/bash mem_warn='1024' mem_free=`free -m | grep "Mem" | awk '{print $4+$6}'` if [ $mem_free-lt $mem_warn ] then /bin/systemctl restart php-fpm.service else exit fi复制代码
按照原作者的说法是,可用内存小于1G,就重启php-fpm服务,但是测试了没反应。
标题:有没有自建 类似马支付 这种监控的服务
作者:TIMI
原帖:https://hostloc.com/thread-823988-1-1.html
摘要:马支付应该要跑路了
怎么自建这种 然后编译安卓APK 监控的
作者:TIMI
原帖:https://hostloc.com/thread-823988-1-1.html
摘要:马支付应该要跑路了
怎么自建这种 然后编译安卓APK 监控的
标题:172+828多少钱一套来着?出一套,需要的PM
作者:木易酱
原帖:https://hostloc.com/thread-823989-1-1.html
摘要:172+828多少钱一套来着?出一套,需要的PM
作者:木易酱
原帖:https://hostloc.com/thread-823989-1-1.html
摘要:172+828多少钱一套来着?出一套,需要的PM
标题:低价出喜马拉雅、网易严选、蜻蜓FM、快看漫画年会员
作者:net777
原帖:https://hostloc.com/thread-823990-1-1.html
摘要:出keep季卡一张12
出喜马拉雅会员年卡一张50
出快看漫画年卡会员一张10
出芒果TV年会员一张55
出蜻蜓FM年卡会员一张15
出网易严选Pro年卡一张30(送网易邮箱年会员)
马化腾:
作者:net777
原帖:https://hostloc.com/thread-823990-1-1.html
摘要:出keep季卡一张12
出喜马拉雅会员年卡一张50
出快看漫画年卡会员一张10
出芒果TV年会员一张55
出蜻蜓FM年卡会员一张15
出网易严选Pro年卡一张30(送网易邮箱年会员)
马化腾:
标题:Google怎么定位的啊,今天进一步定位到省份了
作者:PA-fan
原帖:https://hostloc.com/thread-823995-1-1.html
摘要:昨天还只是定位到中国,今天定位到省份了,我担心明天定位到市区,后天到街道,大后天到小区,然后门牌号...
作者:PA-fan
原帖:https://hostloc.com/thread-823995-1-1.html
摘要:昨天还只是定位到中国,今天定位到省份了,我担心明天定位到市区,后天到街道,大后天到小区,然后门牌号...
标题:问个新手问题
作者:未完的歌
原帖:https://hostloc.com/thread-823994-1-1.html
摘要:大佬们写脚本都是放在github上,类似这种地址,可以直接拉下来,
wget -qO- https://raw.githubusercontent.com/littleplus/TencentAgentRemove/master/remove.sh | bash
我想问下咋放上去的,求大佬们普及知识
作者:未完的歌
原帖:https://hostloc.com/thread-823994-1-1.html
摘要:大佬们写脚本都是放在github上,类似这种地址,可以直接拉下来,
wget -qO- https://raw.githubusercontent.com/littleplus/TencentAgentRemove/master/remove.sh | bash
我想问下咋放上去的,求大佬们普及知识
标题:阿里云dns解析生效为什么这么慢
作者:Augustus
原帖:https://hostloc.com/thread-823997-1-1.html
摘要:用阿里云给家里的宽带做了个ddns,阿里云的解析已经变了12个小时了,我全球ping了一下依旧没有生效,是不是阿里云的DNS服务器出什么问题了。给家宽做ddns,哪家服务比较好,可以接受每月10块钱的价格。
作者:Augustus
原帖:https://hostloc.com/thread-823997-1-1.html
摘要:用阿里云给家里的宽带做了个ddns,阿里云的解析已经变了12个小时了,我全球ping了一下依旧没有生效,是不是阿里云的DNS服务器出什么问题了。给家宽做ddns,哪家服务比较好,可以接受每月10块钱的价格。
标题:有没有做导航站的,来收录了
作者:kennyS
原帖:https://hostloc.com/thread-823996-1-1.html
摘要:昨天想搭建域名邮箱,找到这个网站,感觉还不错啊。 https://www.httpsmail.com/ 复制代码
作者:kennyS
原帖:https://hostloc.com/thread-823996-1-1.html
摘要:昨天想搭建域名邮箱,找到这个网站,感觉还不错啊。 https://www.httpsmail.com/ 复制代码
标题:清凉只能20买24个月了啊
作者:我是天朝人
原帖:https://hostloc.com/thread-823999-1-1.html
摘要:抓包和网页提交都不行了 有没有更高的办法 还有一个号没买
作者:我是天朝人
原帖:https://hostloc.com/thread-823999-1-1.html
摘要:抓包和网页提交都不行了 有没有更高的办法 还有一个号没买
标题:有人能做拼多多的聊天软件吗,价格面议,
作者:17301008
原帖:https://hostloc.com/thread-824000-1-1.html
摘要:批量找商家,批量群发图片,
账号是用token登陆,请人制作一个,面试,
私信或者,TG
作者:17301008
原帖:https://hostloc.com/thread-824000-1-1.html
摘要:批量找商家,批量群发图片,
账号是用token登陆,请人制作一个,面试,
私信或者,TG
标题:问下论坛这些评测cera vps的大佬都是怎么联系的啊?收费么?
作者:ximen
原帖:https://hostloc.com/thread-824001-1-1.html
摘要:rt,感觉评测的挺牛逼的,啥都评了。
作者:ximen
原帖:https://hostloc.com/thread-824001-1-1.html
摘要:rt,感觉评测的挺牛逼的,啥都评了。
标题:mjj们现在哪家联合会员最香??
作者:480266269
原帖:https://hostloc.com/thread-824002-1-1.html
摘要:哪家最香??想搞个买一送好几个的那种嘿嘿嘿
作者:480266269
原帖:https://hostloc.com/thread-824002-1-1.html
摘要:哪家最香??想搞个买一送好几个的那种嘿嘿嘿
标题:怎么编译monero,编译出错,求各位彭于晏赐教
作者:52naiba
原帖:https://hostloc.com/thread-824004-1-1.html
摘要:https://github.com/monero-project/monero#compiling-monero-from-source
On Linux and macOS
Install the dependencies
Change to the root of the source code directory, change to the most recent release branch, and build:
cd monero
git checkout release-v0.17 【这里卡住了,哪里看版本】
make
make后:
mkdir -p build/"Linux/release-v0.17"/release
cd build/"Linux/release-v0.17"/release && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../../../.. && make
-- CMake version 3.13.4
-- ccache NOT found! Please install it for faster rebuilds.
-- Building without build tag
-- Checking submodules
CMake Error at CMakeLists.txt:203 (message):
Submodule 'external/miniupnp' is not up-to-date. Please update all
submodules with
git submodule update --init --force
or run cmake with -DMANUAL_SUBMODULES=1
Call Stack (most recent call first):
CMakeLists.txt:208 (check_submodule)
-- Configuring incomplete, errors occurred!
See also "/usr/src/gtest/monero/build/Linux/release-v0.17/release/CMakeFiles/CMakeOutput.log".
make: *** [Makefile:103: release-all] Error 1
作者:52naiba
原帖:https://hostloc.com/thread-824004-1-1.html
摘要:https://github.com/monero-project/monero#compiling-monero-from-source
On Linux and macOS
Install the dependencies
Change to the root of the source code directory, change to the most recent release branch, and build:
cd monero
git checkout release-v0.17 【这里卡住了,哪里看版本】
make
make后:
mkdir -p build/"Linux/release-v0.17"/release
cd build/"Linux/release-v0.17"/release && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../../../.. && make
-- CMake version 3.13.4
-- ccache NOT found! Please install it for faster rebuilds.
-- Building without build tag
-- Checking submodules
CMake Error at CMakeLists.txt:203 (message):
Submodule 'external/miniupnp' is not up-to-date. Please update all
submodules with
git submodule update --init --force
or run cmake with -DMANUAL_SUBMODULES=1
Call Stack (most recent call first):
CMakeLists.txt:208 (check_submodule)
-- Configuring incomplete, errors occurred!
See also "/usr/src/gtest/monero/build/Linux/release-v0.17/release/CMakeFiles/CMakeOutput.log".
make: *** [Makefile:103: release-all] Error 1
标题:alphavps的tos有禁止挖矿吗
作者:jxpal
原帖:https://hostloc.com/thread-824005-1-1.html
摘要:有个闲置的amd yes
想用来挖着玩玩
有试过的大佬吗
作者:jxpal
原帖:https://hostloc.com/thread-824005-1-1.html
摘要:有个闲置的amd yes
想用来挖着玩玩
有试过的大佬吗
标题:chevereto上传了图片,但是无法被调用,这是哪儿出了问题呀
作者:凉夏
原帖:https://hostloc.com/thread-824006-1-1.html
摘要:chevereto上传了图片,但是无法被调用,这是哪儿出了问题呀
作者:凉夏
原帖:https://hostloc.com/thread-824006-1-1.html
摘要:chevereto上传了图片,但是无法被调用,这是哪儿出了问题呀