DAIC 当前离线
中将
#!/bin/bash echo { echo ' "data":[' echo " " df -mP | awk 'NR>1{print " { \"{#FSNAME}\":\"\\"$6"\", \"{#FSVALUE}\":\""$2"\"},"}' echo " ]" echo }复制代码
评分人数
TOP
#!/bin/bash echo { echo ' "data":[' echo " " df -mP | awk 'NR>1{gsub(/\//,"\\/",$6);print " { \"{#FSNAME}\":\""$6"\", \"{#FSVALUE}\":\""$2"\"},"}' | sed '$s/,$//' echo " ]" echo }复制代码