Hello, > El 17/03/2017, a las 05:04, Mihai Popescu <mih...@gmail.com> escribió: > > Hello, > > I am using top to show running programs activity on an OpenBSD system. > > Is there another better command to show in detail the memory used by programs?
Top is really a good command, you should see de man page for more options. > > My system has 8GB physical RAM. Looking at this, can someone tell me > if OpenBSD uses the "swap memory" model used by other OSes, basically > moving chunks from physical memory to the swap partition when they are > not used? Yes it does, you could use the #disklabel <disk> command to see it > > If a program ask for a memory allocation, is this request satisfied > imediately if there is enough physical RAM available or is it done at > the moment the program needs to do read/write on that memory? > > Expanding the first question, is there a command to show all these > details, like total memory used, static and dynamic, how much is > physical or swap, etc? > top is the command that you are looking for :) > Thank you. > I hope that information is useful for your needs, i recommend you to look at the Faq page https://www.openbsd.org/faq/index.html <https://www.openbsd.org/faq/index.html> they really did a great job explaining everything and most of what it has are practical examples, if you need expanded theory then you should get the book Absolute OpenBSD - By Michael W Lucas, it helped me a lot. http://www.nostarch.com/obenbsd2e <http://www.nostarch.com/obenbsd2e> Best reggards!!!!!!! Manuel