On Sun, Nov 05, 2006 at 12:28:41PM +0200, Yahav Biran wrote: > My application does from time to time swap. I can see it by monitoring it > with vmstat command (si and so parameters). > I would like to know why this swap activity was made (lack of memory or > memory algorithm).
If swap is used it's because there's a memory shortage, so I don't quite understand the question. [Yahav Biran] I thought that a page can be flush to the disk if nobody is using it for certain amount of time. In Solaris a page fault can happen not only when you are lack of memory. Solaris allocate all its free memory to a process buffer. > Another question: it looks that the java processes are spawned to many java > processes, how one can monitor it. > I tried to top the processes and then use ps -H but the process is > disappearing until I catch it. How short lived is the process? can you modify its code or execution enviroment? [Yahav Biran] I don't think I can, is there any way to take a process tree snapshot like ps -H. When viewing the top results, I can see few processes (java) that I own them. When I ps -H it it's already gone. Am I missing something? yahav Cheers, Muli ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
