【发布时间】:2019-12-24 10:05:46
【问题描述】:
我是新手。目前,我正在尝试为我的服务器绘制内存消耗。 我正在使用 Gnuplot 并卡在
警告:跳过没有有效点的数据文件 无法使用空的 x 范围进行绘图!
set title "Memory Growth" font ",20" textcolor lt 2
set xdata time
set timefmt "%m-%d-%y %H:%M:%S"
set format x "%m-%d-%y\t%H:%M:%S"
set xrange ["12/18/19":"12/24/19"]
set format y '%.0s%cB'
set xlabel "Time"
set xtics rotate by -270
set xtics out offset 0,-1.0
set ylabel "Memory (GB)"
set datafile separator "\,"
plot 'TRDFDSERVER19_System Monitor Log.csv' using 1:2 title '19\ProcessPrivate,Bytes' with line,\
'TRDFDSERVER19_System Monitor Log.csv' using 1:3 title '19\ProcessVirtual Bytes' with line,\
'TRDFDSERVER19_System Monitor Log.csv' using 1:4 title '19\ProcessPrivate Bytes' with line,\
'TRDFDSERVER19_System Monitor Log.csv' using 1:5 title '19\ProcessVirtual Bytes' with line
示例输入
12/18/2019 06:29:30.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:31.030,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:32.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:33.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:34.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:35.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:36.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:37.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:38.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:39.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:40.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:41.029,1699074048,2442911744,102342656,831528960
12/18/2019 06:29:42.029,1699074048,2442911744,102342656,831528960
编辑 ^ 所有点 y 值未定义!
上述问题解决后。现在,我得到了“Y 值”未定义。任何建议。谢谢
【问题讨论】:
标签: gnuplot