Re: Swap usage
- From: Andrew Halliwell <spike1@xxxxxxxxxxxxxx>
- Date: Mon, 23 Jun 2008 11:08:26 +0100
howa <howachen@xxxxxxxxx> wrote:
Hi
How to know if my linux is currently using swap or not, e.g.
Top:
Mem: 4041528k total, 3988108k used, 53420k free, 87912k
buffers
Swap: 2048248k total, 29364k used, 2018884k free, 2359168k
cached
Says there. 29365k used. That's swap.
If it is not currently using swap, how to check if it hit the swap
frequency?
frequency? Did you mean recently?
Dunno, I'm sure there're a few system monitoring and stat collection tools
out there that might be able to tell you, like sar, I think... But if you've
not got any of that stuff running at the time, I think you can only look at
current swap usage as a snapshot, not review how it was used in the past.
Swap's nothing to worry about. Programs that're running but haven't been
used for a time end up being swapped out to make the system RAM available
for file caching and buffering. It's more use than just sitting there
holding a program that's not being used.
--
| spike1@xxxxxxxxxxxxx | |
| Andrew Halliwell BSc | "The day Microsoft makes something that doesn't |
| in | suck is probably the day they start making |
| Computer science | vacuum cleaners" - Ernst Jan Plugge |
.
- Follow-Ups:
- Re: Swap usage
- From: howa
- Re: Swap usage
- From: The Natural Philosopher
- Re: Swap usage
- References:
- Swap usage
- From: howa
- Swap usage
- Prev by Date: Re: how to (r)sync group-ownerships?
- Next by Date: Re: how to (r)sync group-ownerships?
- Previous by thread: Swap usage
- Next by thread: Re: Swap usage
- Index(es):
Relevant Pages
|