LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 03-25-2005, 08:11 PM   #16
AC97Conquerer
Member
 
Registered: Nov 2004
Location: US
Distribution: Debian Sid
Posts: 50

Original Poster
Rep: Reputation: 15

How can you tell how much swap space you're using at the current time?

Code:
|root:~|: fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        9118    73240303+  83  Linux
/dev/hda2            9119        9242      996030   82  Linux swap / Solaris
|root:~|: du -s /dev/hda2
0       /dev/hda2
 
Old 03-25-2005, 08:34 PM   #17
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
free
 
Old 03-25-2005, 08:40 PM   #18
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
also, top will give you a "real-time" picture of your swap usage, among other things...
 
Old 03-27-2005, 03:53 PM   #19
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi all.

Have a look at what the kernel developers think:
http://kerneltrap.org/node/3000

Personally, I have 512MB of RAM, and 512MB of swap. That swap space has saved the day on more than one occasion when an app has had a serious memory leak.

Dave
 
Old 03-27-2005, 05:41 PM   #20
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,352

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
As I said earlier, swap is needed. The swappiness control is pretty gross - in that it affects the whole system.
For your average desktop user that want to bias their system one way or the other, it's possibly useful. I suspect most game players couldn't give a damn if O_office takes a while to swap back in, when they finish a game and have to get back to their homework.

There are kernel patch sets available that modify the current, and/or add new scheduler algorithms if you're feeling keen.
Not generally considered "stable", but features implemented will potentially make into the release stream at some point.
 
Old 03-27-2005, 05:46 PM   #21
AC97Conquerer
Member
 
Registered: Nov 2004
Location: US
Distribution: Debian Sid
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by syg00
...when they finish a game and have to get back to their homework.
That is soooo me lol
 
Old 03-28-2005, 07:21 PM   #22
Mr. New
Member
 
Registered: Oct 2004
Distribution: Kubuntu and Mac OS X
Posts: 80

Rep: Reputation: 15
my swap(512) is 8 times as large as my ram(64)
I use the swap all the time (I've been without it before, it goes slow and nothing opens)


sometimes I run both KDE and GNOME
side note- I think XFce4 panel gots a memory leaking problem, although it might have been a plugin for it that did. it was using 5 times more memory then it usually does earlier today.


but with 2 GBs of ram it would be so awesome 4 GB hardrive is plenty for me I'm only using 2.3 or so now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
REDHAT 9 SMP and more than 4GB RAM dukeoflinux Linux - Hardware 4 08-22-2007 10:33 PM
RH ES install - 2Gb ok, 4Gb not ok RedHatCat Red Hat 4 06-13-2005 10:14 AM
4GB RAM not showing eddie0uk Linux - Hardware 5 03-12-2005 07:08 AM
FC3 reboots if more than 4gb ram jmral23 Fedora 9 03-02-2005 03:55 PM
4GB hard disk is 2GB LinuxRam Linux - Newbie 7 08-25-2004 01:02 AM


All times are GMT -5. The time now is 05:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration