为啥会有这个需求?每天得盯着软件数据,一部分软件可以设置涨跌推送,但是需要长时间挂在后台,非常不方便,经过查询,发现火币和okcoin提供了API接口,所以可以利用shell进行推送到短信平台或者邮件平台中。 火币实时ETH数据: https://api.huobi.pro/market/detail/merged?symbol=ethusdt shell实时抓取火币ETH数据: curl https://api.hu...
Nethogs安装: 方法一:直接使用Yum和Apt安装: Centos: yum install epel-release -y yum install libpcap nethogs -y Debian&Ubuntu: apt-get install nethogs -y 方法二:源码安装 #安装c++环境 yum install -y gcc-c++ libpcap-devel.x86_64 libpcap.x86_64 ncurses* git clone https://github.com/raboof/nethogs cd nethogs/ make ...