Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-25-2010, 06:00 AM   #1
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
Linux command for paging?

Anyone who can help me with a command which can display linux paging(related to virtual memory)?
Old 03-25-2010, 06:14 AM   #2
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Are you looking at these commands ?

Old 03-25-2010, 07:33 AM   #3
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
How can I detect if paing is happening with that command?What pages-in and what pages-out?
Old 03-25-2010, 08:12 AM   #4
LQ Newbie
Registered: Feb 2008
Posts: 14

Rep: Reputation: 1
linux uses swap space as paging file can we change swap space as we change in windows?like can we increase or decrease swap space while running linux in any runlevel??anybody please
Old 03-25-2010, 08:18 AM   #5
Registered: Jan 2009
Location: Mumbai, India
Distribution: Fedora 9, 10,11, RHEL 5
Posts: 67

Rep: Reputation: 18
The following is the top o/p from my desktop:
top - 18:42:39 up 5:33, 2 users, load average: 0.18, 0.17, 0.17
Tasks: 165 total, 3 running, 162 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.8%us, 2.5%sy, 0.0%ni, 94.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1914008k total, 1571400k used, 342608k free, 50984k buffers
Swap: 2047992k total, 27292k used, 2020700k free, 845296k cached
Here you can see that from the last line of the above quoted message that some part of the swap space is in use.

You can dynamically increase/decrease swap size. To increase
swapon /dev/<harddisk_partition>
To decrease:
swapoff /dev/<harddisk_partition>
Be careful while manually turning on the swap space as you may accidentally give some other hard disk partition which may corrupt all the data on that partition
Old 11-07-2012, 10:46 AM   #6
LQ Newbie
Registered: Jan 2012
Posts: 10

Rep: Reputation: Disabled
determine the virtual pages

how can I print the virtual pages allocated to the currently running processes on my system and also the page faults associated with them?
Old 11-08-2012, 01:28 PM   #7
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,065

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
Maybe you were looking for this.


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
Shadow paging on Linux VM? linuxunix Linux - Virtualization and Cloud 2 03-27-2010 02:51 PM
Help working with .ai files in linux/paging Illustrator users slackist Linux - General 0 07-29-2004 10:24 AM
linux paging algorithm - how are stale pages handled? DarkBeethoven Programming 3 05-26-2004 08:14 PM
how to step through paging in linux kernel? chansky Linux - General 2 01-31-2003 02:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 AM.

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