> +# grab the top five memory consuming processes, returning them in a string of > +# of the format: > +# > +# name1:kB1,name2:kB2,...,name5:kB5 > +def topProcesses(): > + output = Popen(["ps", "-eo", "comm,rss", "--sort", "-rss", "--no-headers"], stdout=PIPE).communicate()[0] [snip] RSS (Resident Set Size) is interesting, but [heap].Size from /proc/*/smaps might be more important in determining the minimum system RAM required for install, particularly when there is no swap space. An RSS page can be a known copy of a page in the filesystem, and if so then the kernel can reclaim the physical RAM for another use because the filesystem has a copy. Such a page is as good as swappable, even when there is no swap space. Processes such as anaconda, Xserver, metacity [window manager] typically have thousands of resident pages from dozens (or even hundreds) of shared libraries. -- _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list