LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-11-2003, 09:37 AM   #1
sparkplug55
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Swap file


I just installed Red Hat 9 and i want to check how much memory is in the swap file. How do i do this?
 
Old 08-11-2003, 09:47 AM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
in a terminal, try doing fdisk -l /dev/hda

look probably for the last entry, it should say linux swap

if u can't do it in a terminal, exit x windows by doing ctrl alt f2, login as root with only a console, and then do fdisk -l /dev/hda

*there might be a graphical tool that allows u to check, just look through the system tools menu, i'm pretty sure there is one
 
Old 08-11-2003, 10:09 AM   #3
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
If you're using a swap file (and not a swap partition), look in the fstab file to find out where it is. Then just look at the file's properties to find out how big it is. Run "free" to find out how it's being used.
 
  


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
what is a swap file...? zameer_india Linux - Newbie 8 01-09-2005 11:35 PM
swap file linuxhippy Linux - General 4 10-11-2004 05:07 PM
Swap File Cyric Slackware 13 10-05-2004 12:19 AM
Swap file not being used...why? ganja_guru Linux - General 6 12-08-2003 04:41 AM
No Swap File tarballedtux Slackware 4 01-09-2003 03:07 PM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
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