mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Knutar <jk-lkml@sci.fi>
To: "José Toneh" <tohnehn@yahoo.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: wrong SWAP values in top's output
Date: Sat, 17 Dec 2005 15:08:38 +0200	[thread overview]
Message-ID: <200512171508.38912.jk-lkml@sci.fi> (raw)
In-Reply-To: <20051216090826.10626.qmail@web35007.mail.mud.yahoo.com>

On Friday 16 December 2005 11:08, you wrote:

>        463680  used swap

>   PID %MEM  VIRT SWAP  RES CODE DATA  SHR nFLT nDRT S PR  NI %CPU COMMAND      
> 18551 14.1  345m 273m  71m 1712 343m 101m 1373    0 S 5 -10  4.0 XFree86      
> 25397 49.5  505m 255m 249m  164 505m  40m 3700    0 S 15   0  2.0 mozilla-bin  
> 24759  0.5  236m 234m 2416   16 236m  54m  138    0 S 17   0  0.0 java_vm   

Shared pages and similar?

Seens like top's "SWAP" column is simply VIRT-RES.

Let's not also forget that read-only executable code just gets discarded
from memory, and not pushed to swap. If needed again, it gets read back
in from the file.

Oh, it's supposedly also bad to renice X to -10 with recent kernels ;-)


      reply	other threads:[~2005-12-17 13:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16  9:08 José Toneh
2005-12-17 13:08 ` Jan Knutar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200512171508.38912.jk-lkml@sci.fi \
    --to=jk-lkml@sci.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tohnehn@yahoo.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®