Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
echo "+io" >/sys/fs/cgroup/cgroup.subtree_control
mkdir /sys/fs/cgroup/limitio
ls -la /dev/block/ | grep -v '/loop' | grep -v '/sr' | awk '{print $1, $2, $3, $4, $5, $9}' | grep -oP '\d+:\d+' | while read line
do
echo "$line wbps=52428800 rbps=52428800" > /sys/fs/cgroup/limitio/io.max 2>/dev/null
done
发文字被直接识别成spam封了,那就发个图片版吧
不好直接发主题,就在这个回复里讲讲PCDN与区块链虚拟币的一个有代表性的典型的奇怪的故事吧
某中型厂,算是第二个搞PCDN的,就是利用散户闲置带宽走P2P CDN的
PS 虽然我隐去了名字 但是可以明确说 这个厂 不是迅雷 不是迅雷 不是迅雷
而且,在把区块链应用于这个行业的时候之前,这家厂已经搞了几年P2P CDN项目了,在没有区块链代币之前,就发行了中心化的虚拟货币
当时发行中心化的虚拟货币,本质是为了逃税,轻微洗钱
touch /root/openwrt-hg556/build_dir/target-mips_mips32_musl/linux-brcm63xx_generic/bcm63xx-phone/.prepared_1efd686f6e00eebf767553a1d128eb23_6664517399ebbbc92a37c5bb081b5c53_check
mkdir -p /root/openwrt-hg556/build_dir/target-mips_mips32_musl/linux-brcm63xx_generic/bcm63xx-phone
cp -fpR ../src/* /root/openwrt-hg556/build_dir/target-mips_mips32_musl/linux-brcm63xx_generic/bcm63xx-phone/
sed -e "s/module\\.o/bcm63xx-phone\\.o/g" -e "s/module-objs/bcm63xx-phone-objs/g" "/root/openwrt-hg556/build_dir/target-mips_mips32_musl/linux-brcm63xx_generic/bcm63xx-phone/Makefile.src" > "/root/openwrt-hg556/build_dir/target-mips_mips32_musl/linux-brcm63xx_generic/bcm63xx-phone/Makefile"
touch /root/openwrt-hg556/build_dir/target-mips_mips32_musl/linux-brcm63xx_generic/bcm63xx-phone/.prepared_1efd686f6e00eebf767553a1d128eb23_6664517399ebbbc92a37c5bb081b5c53
rm -f /root/openwrt-hg556/build_dir/target-mips_mips32_musl/linux-brcm63xx_generic/bcm63xx-phone/.configured_*
rm -f /root/openwrt-hg556/staging_dir/target-mips_mips32_mus