Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unix sco -swap area

0 views
Skip to first unread message

corrlens

unread,
Aug 27, 2002, 11:30:01 AM8/27/02
to
Greetings,

If my system swapped , Once I know I don't have anymore proceses with high
memory consumption , how do I tell the OS to stop swapping and use the
memory instead ?

Thanks

Bela Lubkin

unread,
Oct 11, 2002, 5:10:45 AM10/11/02
to sco...@xenitec.on.ca, corrlens
"corrlens" wrote:

If plenty of free memory is available, it will stop writing new stuff to
swap. Old pages out on swap will stay there until accessed, until their
processes die, or until the swap area is deleted. If there's enough
memory then you can delete swap:

# swap -d /dev/swap

After a suitable amount of time (all paged-out pages have to be read
in), `swap -l` will show it gone. You can then re-add it,

# swap -a /dev/swap

If you have other swap areas then this will be more complex. Also if
you're using an offset, you'll need to specify it in both -d and -a
commands. I don't know what people would be using a swap offset for in
2002, but who knows...

>Bela<

0 new messages