Re: Tracing allocators of virtual memory and main memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi validis

Actually i want to see how much total virtual pages it asked for and how many it actually used, how many were put to swap, how many major page faults happened and how many faults were handled from swap. 
In short whole page level analysis of thread. 

Regards
Sahil Aggarwal
Contact-9988439647

> On Mar 12, 2015, at 7:24 AM, Valdis.Kletnieks@xxxxxx wrote:
> 
> On Thu, 12 Mar 2015 07:09:32 +0530, SAHIL said:
> 
>> Yeah right, pidstat which read /proc gives me VSZ ans RSS but i need to
>> backtrace when VSZ/RSS is high which indicates process is allocating memory
>> which it is not even using.
> 
> Do you mean pages it isn't *currently* using, or has *never* used?
> 
> Also, note that VSZ refers to the virtual size, which may include
> pages currently out on swap, while RSS refers to actually resident pages.
> 
> And then there's the other great bugaboo, shared pages that are mapped by more
> than one process.
> 
> What exactly are you trying to do?

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux