惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Privacy & Cybersecurity Law Blog
V
V2EX
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Register - Security
The Register - Security
MongoDB | Blog
MongoDB | Blog
P
Privacy International News Feed
The Last Watchdog
The Last Watchdog
Security Archives - TechRepublic
Security Archives - TechRepublic
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
K
Kaspersky official blog
S
Secure Thoughts
T
Tenable Blog
Security Latest
Security Latest
The Cloudflare Blog
S
Security @ Cisco Blogs
H
Heimdal Security Blog
aimingoo的专栏
aimingoo的专栏
TaoSecurity Blog
TaoSecurity Blog
Blog — PlanetScale
Blog — PlanetScale
Microsoft Security Blog
Microsoft Security Blog
Schneier on Security
Schneier on Security
Webroot Blog
Webroot Blog
G
Google Developers Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Scott Helme
Scott Helme
IT之家
IT之家
Latest news
Latest news
The Hacker News
The Hacker News
C
Check Point Blog
T
The Exploit Database - CXSecurity.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
腾讯CDC
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
N
News | PayPal Newsroom
Forbes - Security
Forbes - Security
P
Palo Alto Networks Blog
S
Security Affairs
S
Securelist
Google Online Security Blog
Google Online Security Blog
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
A
About on SuperTechFans

博客园 - Hoooooo

华为交换机系统视图状态system-view超时设置 access trunk hybird untagged和tagged区别 WIN系统命令行添加防火墙配置 yum 安装包时解决依赖关系 dos修改字符串排序,可用于修改文件名 linux系统调优用命令 centos7安装配置vnc和远程桌面,WIN10 mstsc远程linux gnome桌面 在linux系统中curlftpfs自动挂载ftp 文件抽取 win10 ie ActiveX 对应注册表编号 AUTUCAD2017 key 五种开源协议(BSD,Apache,GPL,LGPL,MIT) mysql中字符查询与替换 vim 编辑不显示以#或其它开始的行 mysql忘记root密码解决办法 Redhat 7及Centos 7系统网卡启动 mysql ROOT管理员密码修改 awk字符意义 redhat 7安装oracle 11gr2
Shell脚本--磁盘空间有超过80%时发信息
Hoooooo · 2021-03-04 · via 博客园 - Hoooooo

df -h | awk '{gsub("\\%","")}NR>1{print $5}'>/var/log/diskused.log
for a in 'cat /var/log/diskused.log'
do
if [ "$a" > "80" ]
then
echo "disk used>80%"
rm -rf /var/log/diskused.log
else
continue
fi
done

posted @ 2021-03-04 16:27  Hoooooo  阅读(256)  评论(0)    收藏  举报