Hi List.
My problem is the next: my dir. /tmp (swap) it was to 100%:
swap 1146136 1146136 0 100% /tmp
When happens that(while was possible execute commands) , i do execute rm
command for all files of tmp successful, but when display the FS with df
-k sintaxis, the dir /tmp still to 100%,
without can executes any command additional later. (can“t fork(process)
execute).
How can i do free swap area without reboot my server??
Greetings.
Marcos
------------------------------
Message: 2
Date: Mon, 7 Nov 2005 12:05:21 -0800 (PST)
From: Darren Dunham <[EMAIL PROTECTED]>
Subject: Re: [Solaris-Users] swap free
Is there a way to release swap without reboot a server???, on anyone
solaris version can i do that??
I'm not sure exactly what you mean by "release swap" (I can think of a
couple of different possibilities) but I'll take a guess. Can you
provide some more details? (output of swap -l, swap -s, and uname -a
may be helpful also).
Under normal circumstances, the majority amount of virtual memory in use
on a machine is held by one or more applications. Terminating those
applications will release the memory. Rebooting helps because it
terminates all applications.
In addition, you can add additional swap file locations on the fly with
'swap -a <filename>', which while not releasing swap will provide more
so that more swap can be allocated by applications.
'ps', 'prstat', and 'top' are all handy for beginning your investigation
into which applications have allocated how much memory.
From: "Tim Evans" <[EMAIL PROTECTED]>
From the swap man page:
-d swapname
Delete the specified swap area. This option can only
be used by the super-user. swapname is the name of the
swap file: for example, /dev/dsk/c0t0d0s1 or a regular
file. swaplow is the offset in 512-byte blocks into
the swap area to be deleted. If swaplow is not speci-
fied, the area will be deleted starting at the second
page. When the command completes, swap blocks can no
longer be allocated from this area and all swap blocks
previously in use in this swap area have been moved to
other swap areas.
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users