<div dir="ltr">Hi,<div><br></div><div><br></div><div>Quick question, how can I create nice columns that won't mess up the layout if numbers increment or decrements? Something like this: <a href="http://martybugs.net/linux/rrdtool/images/traffic_detail.png">http://martybugs.net/linux/rrdtool/images/traffic_detail.png</a></div><div><br></div><div>I'm not trying stuff like here below, but it doesn't handle changing values, the columns shift position then...</div><div><br></div><div><div> 40       "DEF:cpu_user_avg=$RRDCOLLECT/stat_cpu.rrd:cpu_user:AVERAGE" \             </div><div> 41       "DEF:cpu_nice_avg=$RRDCOLLECT/stat_cpu.rrd:cpu_nice:AVERAGE" \             </div><div> 42       "DEF:cpu_system_avg=$RRDCOLLECT/stat_cpu.rrd:cpu_system:AVERAGE" \         </div><div> 43       "DEF:cpu_iowait_avg=$RRDCOLLECT/stat_cpu.rrd:cpu_iowait:AVERAGE" \         </div><div> 44       "DEF:cpu_user_min=$RRDCOLLECT/stat_cpu.rrd:cpu_user:MIN" \                 </div><div> 45       "DEF:cpu_nice_min=$RRDCOLLECT/stat_cpu.rrd:cpu_nice:MIN" \                 </div><div> 46       "DEF:cpu_system_min=$RRDCOLLECT/stat_cpu.rrd:cpu_system:MIN" \             </div><div> 47       "DEF:cpu_iowait_min=$RRDCOLLECT/stat_cpu.rrd:cpu_iowait:MIN" \             </div><div> 48       "DEF:cpu_user_max=$RRDCOLLECT/stat_cpu.rrd:cpu_user:MAX" \                 </div><div> 49       "DEF:cpu_nice_max=$RRDCOLLECT/stat_cpu.rrd:cpu_nice:MAX" \                 </div><div> 50       "DEF:cpu_system_max=$RRDCOLLECT/stat_cpu.rrd:cpu_system:MAX" \             </div><div> 51       "DEF:cpu_iowait_max=$RRDCOLLECT/stat_cpu.rrd:cpu_iowait:MAX" \             </div><div> 52       "DEF:cpu_user_last=$RRDCOLLECT/stat_cpu.rrd:cpu_user:LAST" \               </div><div> 53       "DEF:cpu_nice_last=$RRDCOLLECT/stat_cpu.rrd:cpu_nice:LAST" \               </div><div> 54       "DEF:cpu_system_last=$RRDCOLLECT/stat_cpu.rrd:cpu_system:LAST" \           </div><div> 55       "DEF:cpu_iowait_last=$RRDCOLLECT/stat_cpu.rrd:cpu_iowait:LAST" \           </div><div> 56       "TEXTALIGN:left" \                                                         </div><div> 57       "LINE1:cpu_user_avg$RED:User\:  " \                                        </div><div> 58       "GPRINT:cpu_user_avg:AVERAGE:%3.1lf" \                                     </div><div> 59       "GPRINT:cpu_user_min:MIN:%3.1lf" \                                         </div><div> 60       "GPRINT:cpu_user_max:MAX:%3.1lf" \                                         </div><div> 61       "GPRINT:cpu_user_last:LAST:%3.1lf" \                                       </div><div> 62       "LINE1:cpu_nice_avg$GREEN:User (nice)\:" \                                 </div><div> 63       "GPRINT:cpu_nice_avg:AVERAGE:%3.1lf" \                                     </div><div> 64       "GPRINT:cpu_nice_min:MIN:%3.1lf" \                                         </div><div> 65       "GPRINT:cpu_nice_max:MAX:%3.1lf" \                                         </div><div> 66       "GPRINT:cpu_nice_last:LAST:%3.1lf" \                                       </div><div> 67       "COMMENT:\n" \                                                             </div><div> 68       "LINE1:cpu_system_avg$BLUE:System\:" \                                     </div><div> 69       "GPRINT:cpu_system_avg:AVERAGE:%3.1lf" \                                   </div><div> 70       "GPRINT:cpu_system_min:MIN:%3.1lf" \                                       </div><div> 71       "GPRINT:cpu_system_max:MAX:%3.1lf" \                                       </div><div> 72       "GPRINT:cpu_system_last:LAST:%3.1lf" \                                     </div><div> 73       "LINE1:cpu_iowait_avg$MAGENTA:I/O\:       " \                              </div><div> 74       "GPRINT:cpu_iowait_avg:AVERAGE:%3.1lf" \                                   </div><div> 75       "GPRINT:cpu_iowait_min:MIN:%3.1lf" \                                       </div><div> 76       "GPRINT:cpu_iowait_max:MAX:%3.1lf" \                                       </div><div> 77       "GPRINT:cpu_iowait_last:LAST:%3.1lf" </div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><br>--<br>Kind regards,<div><span style="font-size:12.8px">Kees de Jong  |  </span><span style="font-size:12.8px">OpenPGP fingerprint: 0x0E45C98AB51428E6</span><br></div></div></div></div></div></div></div></div>
</div></div>