LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux command for paging? (https://www.linuxquestions.org/questions/linux-newbie-8/linux-command-for-paging-797769/)

linuxunix 03-25-2010 06:00 AM

Linux command for paging?
 
Anyone who can help me with a command which can display linux paging(related to virtual memory)?

vinaytp 03-25-2010 06:14 AM

Are you looking at these commands ?

Code:

vmstat
top
free


linuxunix 03-25-2010 07:33 AM

How can I detect if paing is happening with that command?What pages-in and what pages-out?

omersattar 03-25-2010 08:12 AM

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

sreeharsha.t 03-25-2010 08:18 AM

The following is the top o/p from my desktop:
Quote:

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
Code:

swapon /dev/<harddisk_partition>
To decrease:
Code:

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

yash0307 11-07-2012 10:46 AM

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?

salasi 11-08-2012 01:28 PM

Maybe you were looking for this.


All times are GMT -5. The time now is 07:10 PM.