a draw function using gd , part of a system monitoring software.