Hello again!!
Yes, indeed systat and vmstat are a good options too. Mihai Popescu, Please try one of these examples and see if they show you the information you are looking for: suggestion1: $ top |head -n5| tail -n1 suggestion2: $ vmstat -s|more suggestion3: $ vmstat -m|more suggestion4: $ systat I hope this information will help :) Manuel On Fri, Mar 17, 2017 at 9:19 AM, Edgar Pettijohn <ed...@pettijohn-web.com> wrote: > . > > > On Mar 17, 2017, at 9:21 AM, Manuel Solis <solis.man...@gmail.com> > wrote: > > > > 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 > > I think systat or vmstat may be helpful. > -- Ing. Manuel SolÃs Agüero Corporativo Los Solises Cel: (871) 108 6000 Tel: (871) 721 6303