To fix a wine bug I need to egt (From userland) the number of
    physical pages
    in use. Is there any way to do this ?


<already answered this in  private mail>

Total physical pages:           sysconf(_SC_PHYS_PAGES)
available physical pages:       sysconf(_SC_AVPHYS_PAGES)
total and avail. virtual mem:   swapctl(SC_AINFO, ...)

- Bart

Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to