Hi, Thanks! I will fix this according to your suggestion.
Best, -- Jialin Qiao School of Software, Tsinghua University 乔嘉林 清华大学 软件学院 > -----原始邮件----- > 发件人: "小明同学" <[email protected]> > 发送时间: 2019-06-28 10:34:44 (星期五) > 收件人: dev <[email protected]> > 抄送: > 主题: a more general free-memory command > > Hi all, > > > I fail to use the following command to free memory because the colon in > the command does not match the colon used in the Chinese system. > > > > free -m | awk '/:/ {print $2;exit}' > > > I come out with a solution that matches the position instead of the > colon: > > > > free -m| sed -n '2p' | awk '{print $2}' > > > I also find that similar commands are used in the IoTDB > conf/iotdb-env.sh, so I suggest they be modified. > > > Hope you find this helpful. > > > Bests, > Zhengming Zhang
