[opensuse] maximum swap used
Is there a command to discover the maximum swap space used? (since boot, or since resetting a counter, for example) Thanks and regards, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/11/07, Dave Howorth
Is there a command to discover the maximum swap space used? (since boot, or since resetting a counter, for example)
free? -- Mark Goldstein -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mark Goldstein wrote:
On 4/11/07, Dave Howorth
wrote: Is there a command to discover the maximum swap space used? (since boot, or since resetting a counter, for example)
free?
free tells me the amount of swap that is available and the amount that is currently in use. AFAIK, it doesn't tell me the maximum that has been used (like a high-water mark). I was hoping to discover some command that did before I resort to scripting. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/12/07, Dave Howorth
free tells me the amount of swap that is available and the amount that is currently in use. AFAIK, it doesn't tell me the maximum that has been used (like a high-water mark). I was hoping to discover some command that did before I resort to scripting.
I'm not sure, but free actually prints out part of the /proc/meminfo. There are a lot more information there, like "SwapTotal - SwapFree, HighTotal, HighFree". Probably kernel documentation explains exact meaning of these fields, maybe some of them are what you need. Regards, -- Mark Goldstein -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Is there a command to discover the maximum swap space used? (since boot, or since resetting a counter, for example) free? free tells me the amount of swap that is available and the amount that is currently in use. AFAIK, it doesn't tell me the maximum that has been used (like a high-water mark). I was hoping to discover some command that did before I resort to scripting.
To track performance use SNMP + an NMS(1) and/or sar (2). (1) http://www.opennms.org (2) man sar -- -- Adam Tauno Williams Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Adam Tauno Williams wrote:
Is there a command to discover the maximum swap space used? (since boot, or since resetting a counter, for example) free? free tells me the amount of swap that is available and the amount that is currently in use. AFAIK, it doesn't tell me the maximum that has been used (like a high-water mark). I was hoping to discover some command that did before I resort to scripting.
To track performance use SNMP + an NMS(1) and/or sar (2).
(1) http://www.opennms.org (2) man sar
sar looks like what I need. Thanks Adam. The man page seems to indicate that I need to run sar, or one of its relatives, in the background to produce a stats file that I can then analyse. sar is on my machines but there's nothing in /var/log/sa/ I haven't found any indications yet on the best way to set up the collection process. Is there a YaST feature to do this, for example? Or a HOW-TO? Thanks again, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
free tells me the amount of swap that is available and the amount that is currently in use. AFAIK, it doesn't tell me the maximum that has been used (like a high-water mark). I was hoping to discover some command that did before I resort to scripting. To track performance use SNMP + an NMS(1) and/or sar (2). (1) http://www.opennms.org (2) man sar sar looks like what I need. Thanks Adam. The man page seems to indicate that I need to run sar, or one of its relatives, in the background to produce a stats file that I can then analyse. sar is on my machines but there's nothing in /var/log/sa/ I haven't found any indications yet on the best way to set up the
collection process. Is there a YaST feature to do this, for example? Or a HOW-TO?
/usr/sbin/rcsysstat start chkconfig sysstat on Sar has been around since dirt, there are lots of docs floating around. Start in file:/usr/share/doc/packages/sysstat/ -- -- Adam Tauno Williams Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Adam Tauno Williams wrote:
/usr/sbin/rcsysstat start chkconfig sysstat on
Thanks for those. You saved me time.
Sar has been around since dirt, there are lots of docs floating around.
I remember being vaguely aware of it a long time ago. I was surprised to find that neither sar nor sysstat turn up in the SuSE help center (including the admin manual) and don't appear in YaST's run-level editor (except when you change to Expert mode sysstat miraculously appears)
Start in file:/usr/share/doc/packages/sysstat/
There's not much there but there is a link to the sysstat homepage so that's all I need :) Thanks, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
What is the theoretical maximum of swap in x86 architecture ? 64GiB due to PAE ? -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu 12 April 07 03:58, Dave Howorth wrote:
Mark Goldstein wrote:
On 4/11/07, Dave Howorth
wrote: Is there a command to discover the maximum swap space used? (since boot, or since resetting a counter, for example)
free?
free tells me the amount of swap that is available and the amount that is currently in use. AFAIK, it doesn't tell me the maximum that has been used (like a high-water mark). I was hoping to discover some command that did before I resort to scripting.
Maybe ksysguard can do what you're needing? -- "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." Benjamin Franklin "Those who hammer their guns into plows will plow for those who do not." Thomas Jefferson -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Adam Tauno Williams
-
Alexey Eremenko
-
Dave Howorth
-
JB2
-
Mark Goldstein