Linux memory: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "What a wiley beast. Image:linux_memory_free.png Media:linux_memory_free.vsd")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


[[Media:linux_memory_free.vsd]]
[[Media:linux_memory_free.vsd]]
and old school:
[[Image:freemem10.png]]
<Pre>
set output "freemem10.png"
set terminal png color
set size 2,1.5
set xlabel "Time"
set ylabel "Free memory (kB)"
set title "Free memory over time on Server10 10 Jan 29th - 30th 2003"
set label "Note:\nTotal memory on these servers is\n2065200 bytes\nor 2 GB" at screen 0.45, 1.0
set xdata time
set timefmt "%d:%H:%M:%S"
set format x "%dth %H:%M:%S"
set format y "%7.f"
plot './10sar-r.txt' using 1:3 t "kbmemused" w l,\
'./10sar-r.txt' using 1:6 t "kbbuffers" w l,\
'./10sar-r.txt' using 1:7 t "kbcached" w l,\
'./10sar-r.txt' using 1:(($3-$7)-$6) t "kb not cache not buffers" w l
#0:00:00    kbmemfree kbmemused  %memused kbmemshrd kbbuffers  kbcached kbswpfree kbswpused  %swpused
</pre>

Latest revision as of 03:08, 22 June 2012

What a wiley beast.

Media:linux_memory_free.vsd

and old school:


set output "freemem10.png"
set terminal png color
set size 2,1.5
set xlabel "Time"
set ylabel "Free memory (kB)"
set title "Free memory over time on Server10 10 Jan 29th - 30th 2003"
set label "Note:\nTotal memory on these servers is\n2065200 bytes\nor 2 GB" at screen 0.45, 1.0
set xdata time
set timefmt "%d:%H:%M:%S"
set format x "%dth %H:%M:%S"
set format y "%7.f"
plot	'./10sar-r.txt' using 1:3 t "kbmemused" w l,\
	'./10sar-r.txt' using 1:6 t "kbbuffers" w l,\
	'./10sar-r.txt' using 1:7 t "kbcached" w l,\
	'./10sar-r.txt' using 1:(($3-$7)-$6) t "kb not cache not buffers" w l
#0:00:00    kbmemfree kbmemused  %memused kbmemshrd kbbuffers  kbcached kbswpfree kbswpused  %swpused