Skip to content

Commit

Permalink
增加查看主机cpu,内存,磁盘信息脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
elunez committed May 18, 2023
1 parent 6e4a422 commit f232040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion other_script/hostinfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ while true; do
echo -e "内存大小: $mem_total MB | 已使用: $mem_used MB | 未使用: $mem_free MB"
echo "---------------------------磁盘信息--------------------------"
echo -e "磁盘大小: $disk_total G | 已使用: $disk_used G | 未使用: $disk_free G"
echo "------------------------------------------------------------"
echo "-------------------------------------------------------------"

# 暂停800毫秒
sleep 0.8
Expand Down

0 comments on commit f232040

Please sign in to comment.