Re: [opensuse] howto test swap? [was RAM]
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Thu, 20 Sep 2007 17:02:46 +0200 (CEST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Thursday 2007-09-20 at 07:34 -0500, David C. Rankin wrote:
[root Rankin-P35a:/home/david] # swapon -s
Filename Type Size Used Priority
/dev/hda5 partition 2104472 0 -1
What is strange is that man swapon says -s is equivalent to cat
/proc/swaps. I do not have a /proc/swaps to be found. Hmm.. Thoughts?
You should. I do:
cer@nimrodel:~> cat /proc/swaps
Filename Type Size Used
Priority
/dev/hdd7 partition 6297440 589736 42
Let me correct that. I do have a swaps it has the permissions:
[root Rankin-P35a:/home/david] # ll /proc/swaps
-r--r--r-- 1 root root 0 2007-09-20 07:33 /proc/swaps
The permission would seem to prevent writing to swap. What should the
permissions for swap be?
Permissions are correct.
That's just an informational, virtual file, not the real swap. And any
way, a user or its program do not write to the swap: it is the kernel who
does.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFG8ouYtTMYHG2NR9URAlBuAKCRpk0jF6UhkbTCjjXEaUaocO8nHACfbLT/
b3mwoYeEnoBCP87YZ55Vnj8=
=LeDi
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] howto test swap? [was RAM]
- From: David C. Rankin
- Re: [opensuse] howto test swap? [was RAM]
- From: Carlos E. R.
- Re: [opensuse] howto test swap? [was RAM]
- From: David C. Rankin
- Re: [opensuse] howto test swap? [was RAM]
- From: David C. Rankin
- [opensuse] howto test swap? [was RAM]
- Prev by Date: Re: [opensuse] 10.0, azureus and undefined symbol: gnome_icon_theme_new
- Next by Date: Re: [opensuse] howto test swap? [was RAM]
- Previous by thread: Re: [opensuse] Re: howto test swap? [was RAM]
- Next by thread: Re: [opensuse] howto test swap? [was RAM]
- Index(es):
Relevant Pages
|