Hi guys, I'm a newbie to the UNIX OS, I need to know if I can write scripts to automate commands and if I can, how would I do it...
I need to take CPU and memory utilization readings (as well as other commands, such as iostat, mpstat, vmstat, etc) of the UNIX box every 10 seconds or so... dump those readings into a text file for graphing, etc.
Does anyone know if there is a utility that already does this? If not, does anyone have any sample scripts that I can view?
Thanks
I need to take CPU and memory utilization readings (as well as other commands, such as iostat, mpstat, vmstat, etc) of the UNIX box every 10 seconds or so... dump those readings into a text file for graphing, etc.
Does anyone know if there is a utility that already does this? If not, does anyone have any sample scripts that I can view?
Thanks