13be6ef06SEitan Adler.\" $FreeBSD$ 2*9d6cce02SEitan Adler.Dd June 9, 2018 3*9d6cce02SEitan Adler.Dt TOP 1 4*9d6cce02SEitan Adler.Os 5*9d6cce02SEitan Adler.Sh NAME 6*9d6cce02SEitan Adler.Nm top 7*9d6cce02SEitan Adler.Nd display and update information about the top cpu processes 8*9d6cce02SEitan Adler.Sh SYNOPSIS 9*9d6cce02SEitan Adler.Nm 10*9d6cce02SEitan Adler.Op Fl CHIPSTabijnpqtuvxz 11*9d6cce02SEitan Adler.Op Fl J Ar jail 12*9d6cce02SEitan Adler.Op Fl U Ar uid 13*9d6cce02SEitan Adler.Op Fl d Ar count 14*9d6cce02SEitan Adler.Op Fl m Ar cpu|io 15*9d6cce02SEitan Adler.Op Fl s Ar time 16*9d6cce02SEitan Adler.Op Fl o Ar field 17*9d6cce02SEitan Adler.Op Fl p Ar pid 18*9d6cce02SEitan Adler.Op Ar count 19*9d6cce02SEitan Adler.Sh DESCRIPTION 20*9d6cce02SEitan Adler.Nm 213be6ef06SEitan Adlerdisplays the top 223be6ef06SEitan Adlerprocesses on the system and periodically updates this information. 233be6ef06SEitan AdlerIf standard output is an intelligent terminal (see below) then 243be6ef06SEitan Adleras many processes as will fit on the terminal screen are displayed 25*9d6cce02SEitan Adlerby default. 26*9d6cce02SEitan AdlerOtherwise, a good number of them are shown (around 20). 27*9d6cce02SEitan AdlerRaw cpu percentage is used to rank the processes. 28*9d6cce02SEitan AdlerIf 29*9d6cce02SEitan Adler.Ar number 303be6ef06SEitan Adleris given, then the top 31*9d6cce02SEitan Adler.Ar number 323be6ef06SEitan Adlerprocesses will be displayed instead of the default. 33*9d6cce02SEitan Adler.Pp 34*9d6cce02SEitan Adler.Nm 353be6ef06SEitan Adlermakes a distinction between terminals that support advanced capabilities 36*9d6cce02SEitan Adlerand those that do not. 37*9d6cce02SEitan AdlerThis distinction affects the choice of defaults for certain options. 38*9d6cce02SEitan AdlerIn the remainder of this document, an \*(lqintelligent\*(rq terminal is one that 393be6ef06SEitan Adlersupports cursor addressing, clear screen, and clear to end of line. 403be6ef06SEitan AdlerConversely, a \*(lqdumb\*(rq terminal is one that does not support such 41*9d6cce02SEitan Adlerfeatures. 42*9d6cce02SEitan AdlerIf the output of 43*9d6cce02SEitan Adler.Nm 443be6ef06SEitan Adleris redirected to a file, it acts as if it were being run on a dumb 453be6ef06SEitan Adlerterminal. 46*9d6cce02SEitan Adler.Bl -tag -width indent -compact 47*9d6cce02SEitan Adler.It Fl C 483be6ef06SEitan AdlerToggle CPU display mode. 493be6ef06SEitan AdlerBy default top displays the weighted CPU percentage in the WCPU column 503be6ef06SEitan Adler(this is the same value that 51*9d6cce02SEitan Adler.Xr ps 1 523be6ef06SEitan Adlerdisplays as CPU). 533be6ef06SEitan AdlerEach time 54*9d6cce02SEitan Adler.It Fl C 553be6ef06SEitan Adlerflag is passed it toggles between \*(lqraw cpu\*(rq mode 563be6ef06SEitan Adlerand \*(lqweighted cpu\*(rq mode, showing the \*(lqCPU\*(rq or 573be6ef06SEitan Adlerthe \*(lqWCPU\*(rq column respectively. 58*9d6cce02SEitan Adler.It Fl S 59*9d6cce02SEitan AdlerShow system processes in the display. 60*9d6cce02SEitan AdlerNormally, system processes such as the pager and the swapper are not shown. 61*9d6cce02SEitan AdlerThis option makes them visible. 62*9d6cce02SEitan Adler.It Fl a 633be6ef06SEitan AdlerDisplay command names derived from the argv[] vector, rather than real 64*9d6cce02SEitan Adlerexecutable name. 65*9d6cce02SEitan AdlerIt it useful when you want to watch applications, that 66*9d6cce02SEitan Adlerputs their status information there. 67*9d6cce02SEitan AdlerIf the real name differs from argv[0], 683be6ef06SEitan Adlerit will be displayed in parenthesis. 69*9d6cce02SEitan Adler.It Fl b 70*9d6cce02SEitan AdlerUse \*(lqbatch\*(rq mode. 71*9d6cce02SEitan AdlerIn this mode, all input from the terminal is 72*9d6cce02SEitan Adlerignored. 73*9d6cce02SEitan AdlerInterrupt characters (such as ^C and ^\e) still have an effect. 743be6ef06SEitan AdlerThis is the default on a dumb terminal, or when the output is not a terminal. 75*9d6cce02SEitan Adler.It Fl H 763be6ef06SEitan AdlerDisplay each thread for a multithreaded process individually. 773be6ef06SEitan AdlerBy default a single summary line is displayed for each process. 78*9d6cce02SEitan Adler.It Fl i 79*9d6cce02SEitan AdlerUse \*(lqinteractive\*(rq mode. 80*9d6cce02SEitan AdlerIn this mode, any input is immediately 81*9d6cce02SEitan Adlerread for processing. 82*9d6cce02SEitan AdlerSee the section on \*(lqInteractive Mode\*(rq 833be6ef06SEitan Adlerfor an explanation of 84*9d6cce02SEitan Adlerwhich keys perform what functions. 85*9d6cce02SEitan AdlerAfter the command is processed, the 863be6ef06SEitan Adlerscreen will immediately be updated, even if the command was not 87*9d6cce02SEitan Adlerunderstood. 88*9d6cce02SEitan AdlerThis mode is the default when standard output is an 893be6ef06SEitan Adlerintelligent terminal. 90*9d6cce02SEitan Adler.It Fl I 913be6ef06SEitan AdlerDo not display idle processes. 923be6ef06SEitan AdlerBy default, top displays both active and idle processes. 93*9d6cce02SEitan Adler.It Fl j 943be6ef06SEitan AdlerDisplay the 95*9d6cce02SEitan Adler.Xr jail 8 963be6ef06SEitan AdlerID. 97*9d6cce02SEitan Adler.It Fl T 98fc36f5a7SEitan AdlerToggle displaying thread ID (tid) instead of process id (pid). 99*9d6cce02SEitan Adler.It Fl t 1003be6ef06SEitan AdlerDo not display the 101*9d6cce02SEitan Adler.Nm 102*9d6cce02SEitan Adlerprocess itself. 103*9d6cce02SEitan Adler.It Fl display 104*9d6cce02SEitan AdlerDisplay either 'cpu' or 'io' statistics. 105*9d6cce02SEitan AdlerDefault is 'cpu'. 106*9d6cce02SEitan Adler.It Fl n 107*9d6cce02SEitan AdlerUse \*(lqnon-interactive\*(rq mode. 108*9d6cce02SEitan AdlerThis is identical to \*(lqbatch\*(rq 1093be6ef06SEitan Adlermode. 110*9d6cce02SEitan Adler.It Fl P 1113be6ef06SEitan AdlerDisplay per-cpu CPU usage statistics. 112*9d6cce02SEitan Adler.It Fl q 1133be6ef06SEitan AdlerRenice 114*9d6cce02SEitan Adler.Nm 115*9d6cce02SEitan Adlerto -20 so that it will run faster. 116*9d6cce02SEitan AdlerThis can be used when the system is 1173be6ef06SEitan Adlerbeing very sluggish to improve the possibility of discovering the problem. 1183be6ef06SEitan AdlerThis option can only be used by root. 119*9d6cce02SEitan Adler.It Fl u 120*9d6cce02SEitan AdlerDo not map uid numbers to usernames. 121*9d6cce02SEitan AdlerNormally, 122*9d6cce02SEitan Adler.Nm 1233be6ef06SEitan Adlerwill read as much of the file \*(lq/etc/passwd\*(rq as is necessary to map 124*9d6cce02SEitan Adlerall the user id numbers it encounters into login names. 125*9d6cce02SEitan AdlerThis option disables all that, while possibly decreasing execution time. 126*9d6cce02SEitan AdlerThe uid numbers are displayed instead of the names. 127*9d6cce02SEitan Adler.It Fl v 1283be6ef06SEitan AdlerWrite version number information to stderr then exit immediately. 129*9d6cce02SEitan Adler.It Fl w 1303be6ef06SEitan AdlerDisplay approximate swap usage for each process. 131*9d6cce02SEitan Adler.It Fl z 1323be6ef06SEitan AdlerDo not display the system idle process. 133*9d6cce02SEitan Adler.It Fl d Ar count 1343be6ef06SEitan AdlerShow only 135*9d6cce02SEitan Adler.Ar count 136*9d6cce02SEitan Adlerdisplays, then exit. 137*9d6cce02SEitan AdlerA display is considered to be one update of the 138*9d6cce02SEitan Adlerscreen. 139*9d6cce02SEitan AdlerThe default is 1 for dumb terminals. 140*9d6cce02SEitan AdlerNote that for 141*9d6cce02SEitan Adler.Ar count 142d4085250SEitan Adler= 1 143d4085250SEitan Adlerno information is available about the percentage of time spent by the CPU in every state. 144*9d6cce02SEitan Adler.It Fl s Ar time 1453be6ef06SEitan AdlerSet the delay between screen updates to 146*9d6cce02SEitan Adler.Ar time 147*9d6cce02SEitan Adlerseconds. 148*9d6cce02SEitan AdlerThe default delay between updates is 1 second. 149*9d6cce02SEitan Adler.It Fl o Ar field 150*9d6cce02SEitan AdlerSort the process display area on the specified field. 151*9d6cce02SEitan AdlerThe field name 1523be6ef06SEitan Adleris the name of the column as seen in the output, but in lower case: 1533be6ef06SEitan Adler\*(lqcpu\*(lq, \*(rqsize\*(lq, \*(rqres\*(lq, \*(rqtime\*(lq, 1543be6ef06SEitan Adler\*(rqpri\*(lq, \*(rqthreads\*(lq, \*(lqtotal\*(lq, \*(rqread\*(lq, 1553be6ef06SEitan Adler\*(rqwrite\*(lq, \*(rqfault\*(lq, \*(rqvcsw\*(lq, \*(rqivcsw\*(lq, 1563be6ef06SEitan Adler\*(lqjid\*(lq, \*(rqswap\*(lq or \*(rqpid\*(lq. 157*9d6cce02SEitan Adler.It Fl p Ar pid 15851b29cb7SRoman BogorodskiyShow only the process 159*9d6cce02SEitan Adler.Ar pid . 160*9d6cce02SEitan Adler.It Fl J Ar jail 1613be6ef06SEitan AdlerShow only those processes owned by 162*9d6cce02SEitan Adler.Ar jail . 1633be6ef06SEitan AdlerThis may be either the 164*9d6cce02SEitan Adler.Ar jid 1653be6ef06SEitan Adleror 166*9d6cce02SEitan Adler.Ar name 1673be6ef06SEitan Adlerof the jail. 1683be6ef06SEitan AdlerUse 169*9d6cce02SEitan Adler0 1703be6ef06SEitan Adlerto limit to host processes. 171*9d6cce02SEitan AdlerUsing this option implies 172*9d6cce02SEitan Adler.Fl j . 173*9d6cce02SEitan Adler.Pp 174*9d6cce02SEitan Adler.It Fl U Ar username 1753be6ef06SEitan AdlerShow only those processes owned by 176*9d6cce02SEitan Adler.Ar username . 1773be6ef06SEitan AdlerThis option currently only accepts usernames and will not understand 1783be6ef06SEitan Adleruid numbers. 179*9d6cce02SEitan Adler.El 180*9d6cce02SEitan Adler.Pp 1813be6ef06SEitan AdlerBoth 182*9d6cce02SEitan Adler.Ar count 1833be6ef06SEitan Adlerand 184*9d6cce02SEitan Adler.Ar number 1853be6ef06SEitan Adlerfields can be specified as \*(lqinfinite\*(rq, indicating that they can 186*9d6cce02SEitan Adlerstretch as far as possible. 187*9d6cce02SEitan AdlerThis is accomplished by using any proper 1883be6ef06SEitan Adlerprefix of the keywords 1893be6ef06SEitan Adler\*(lqinfinity\*(rq, 1903be6ef06SEitan Adler\*(lqmaximum\*(rq, 1913be6ef06SEitan Adleror 1923be6ef06SEitan Adler\*(lqall\*(rq. 193*9d6cce02SEitan AdlerBoolean flags are toggles. 194*9d6cce02SEitan AdlerA second specification of any of these options will negate the first. 195*9d6cce02SEitan Adler.Sh "INTERACTIVE MODE" 1963be6ef06SEitan AdlerWhen 197*9d6cce02SEitan Adler.Nm 1983be6ef06SEitan Adleris running in \*(lqinteractive mode\*(rq, it reads commands from the 199*9d6cce02SEitan Adlerterminal and acts upon them accordingly. 200*9d6cce02SEitan AdlerIn this mode, the terminal is 2013be6ef06SEitan Adlerput in \*(lqCBREAK\*(rq, so that a character will be 202*9d6cce02SEitan Adlerprocessed as soon as it is typed. 203*9d6cce02SEitan AdlerAlmost always, a key will be 2043be6ef06SEitan Adlerpressed when 205*9d6cce02SEitan Adler.Nm 2063be6ef06SEitan Adleris between displays; that is, while it is waiting for 207*9d6cce02SEitan Adler.Ar time 208*9d6cce02SEitan Adlerseconds to elapse. 209*9d6cce02SEitan AdlerIf this is the case, the command will be 2103be6ef06SEitan Adlerprocessed and the display will be updated immediately thereafter 211*9d6cce02SEitan Adler(reflecting any changes that the command may have specified). 212*9d6cce02SEitan AdlerThis 213*9d6cce02SEitan Adlerhappens even if the command was incorrect. 214*9d6cce02SEitan AdlerIf a key is pressed while 215*9d6cce02SEitan Adler.Nm 2163be6ef06SEitan Adleris in the middle of updating the display, it will finish the update and 217*9d6cce02SEitan Adlerthen process the command. 218*9d6cce02SEitan AdlerSome commands require additional information, 219*9d6cce02SEitan Adlerand the user will be prompted accordingly. 220*9d6cce02SEitan AdlerWhile typing this information 2213be6ef06SEitan Adlerin, the user's erase and kill keys (as set up by the command 222*9d6cce02SEitan Adler.Xr stty 1 ) 2233be6ef06SEitan Adlerare recognized, and a newline terminates the input. 224*9d6cce02SEitan Adler.Pp 2253be6ef06SEitan AdlerThese commands are currently recognized (^L refers to control-L): 226*9d6cce02SEitan Adler.Bl -tag -width indent 227*9d6cce02SEitan Adler.It ^L 2283be6ef06SEitan AdlerRedraw the screen. 229*9d6cce02SEitan Adler.It h 230*9d6cce02SEitan AdlerDisplay a summary of the commands (help screen). 231*9d6cce02SEitan AdlerVersion information 2323be6ef06SEitan Adleris included in this display. 233*9d6cce02SEitan Adler.It q 2343be6ef06SEitan AdlerQuit 235*9d6cce02SEitan Adler.Nm 236*9d6cce02SEitan Adler.It d 2373be6ef06SEitan AdlerChange the number of displays to show (prompt for new number). 2383be6ef06SEitan AdlerRemember that the next display counts as one, so typing 239*9d6cce02SEitan Adler.It d1 2403be6ef06SEitan Adlerwill make 241*9d6cce02SEitan Adler.Nm 2423be6ef06SEitan Adlershow one final display and then immediately exit. 243*9d6cce02SEitan Adler.It m 2443be6ef06SEitan AdlerToggle the display between 'cpu' and 'io' modes. 245*9d6cce02SEitan Adler.It n or # 2463be6ef06SEitan AdlerChange the number of processes to display (prompt for new number). 247*9d6cce02SEitan Adler.It s 2483be6ef06SEitan AdlerChange the number of seconds to delay between displays 2493be6ef06SEitan Adler(prompt for new number). 250*9d6cce02SEitan Adler.It S 2513be6ef06SEitan AdlerToggle the display of system processes. 252*9d6cce02SEitan Adler.It a 2533be6ef06SEitan AdlerToggle the display of process titles. 254*9d6cce02SEitan Adler.It k 255*9d6cce02SEitan AdlerSend a signal (\*(lqkill\*(rq by default) to a list of processes. 2563be6ef06SEitan AdlerThis acts similarly to the command 257*9d6cce02SEitan Adler.Xr kill 1 . 258*9d6cce02SEitan Adler.It r 259*9d6cce02SEitan AdlerChange the priority (the \*(lqnice\*(rq) of a list of processes. 260*9d6cce02SEitan AdlerThis acts similarly to 261*9d6cce02SEitan Adler.Xr renice 8 . 262*9d6cce02SEitan Adler.It u 2633be6ef06SEitan AdlerDisplay only processes owned by a specific set of usernames (prompt for 264*9d6cce02SEitan Adlerusername). 265*9d6cce02SEitan AdlerIf the username specified is simply \*(lq+\*(rq or \*(lq-\*(rq, 266*9d6cce02SEitan Adlerthen processes belonging to all users will be displayed. 267*9d6cce02SEitan AdlerUsernames can be added 2683be6ef06SEitan Adlerto and removed from the set by prepending them with \*(lq+\*(rq and 2693be6ef06SEitan Adler\*(lq-\*(rq, respectively. 270*9d6cce02SEitan Adler.It o 271*9d6cce02SEitan AdlerChange the order in which the display is sorted. 272*9d6cce02SEitan AdlerThe sort key names include 273*9d6cce02SEitan Adler\*(lqcpu\*(rq, \*(lqres\*(rq, \*(lqsize\*(rq, 274*9d6cce02SEitan Adler\*(lqtime\*(rq. 275*9d6cce02SEitan AdlerThe default is cpu. 276*9d6cce02SEitan Adler.It p 27751b29cb7SRoman BogorodskiyDisplay a specific process (prompt for pid). 27851b29cb7SRoman BogorodskiyIf the pid specified is simply \*(lq+\*(rq, then show all processes. 279*9d6cce02SEitan Adler.It e 2803be6ef06SEitan AdlerDisplay a list of system errors (if any) generated by the last 2813be6ef06SEitan Adlercommand. 282*9d6cce02SEitan Adler.It B H 2833be6ef06SEitan AdlerToggle the display of threads. 284*9d6cce02SEitan Adler.It i or I 2853be6ef06SEitan AdlerToggle the display of idle processes. 286*9d6cce02SEitan Adler.It j 2873be6ef06SEitan AdlerToggle the display of 288*9d6cce02SEitan Adler.Xr jail 8 2893be6ef06SEitan AdlerID. 290*9d6cce02SEitan Adler.It J 2913be6ef06SEitan AdlerDisplay only processes owned by a specific jail (prompt for jail). 2923be6ef06SEitan AdlerIf the jail specified is simply \*(lq+\*(rq, then processes belonging 2933be6ef06SEitan Adlerto all jails and the host will be displayed. 2943be6ef06SEitan AdlerThis will also enable the display of JID. 295*9d6cce02SEitan Adler.It P 2963be6ef06SEitan AdlerToggle the display of per-CPU statistics. 297*9d6cce02SEitan Adler.It T 298*9d6cce02SEitan AdlerToggle display of TID and PID 299*9d6cce02SEitan Adler.It t 3003be6ef06SEitan AdlerToggle the display of the 301*9d6cce02SEitan Adler.Nm 3023be6ef06SEitan Adlerprocess. 303*9d6cce02SEitan Adler.It w 3043be6ef06SEitan AdlerToggle the display of swap usage. 305*9d6cce02SEitan Adler.It z 3063be6ef06SEitan AdlerToggle the display of the system idle process. 307*9d6cce02SEitan Adler.El 308*9d6cce02SEitan Adler.Sh "THE DISPLAY" 3093be6ef06SEitan AdlerThe top few lines of the display show general information 3103be6ef06SEitan Adlerabout the state of the system, including 3113be6ef06SEitan Adlerthe last process id assigned to a process (on most systems), 3123be6ef06SEitan Adlerthe three load averages, 3133be6ef06SEitan Adlerthe current time, 3143be6ef06SEitan Adlerthe number of existing processes, 3153be6ef06SEitan Adlerthe number of processes in each state 3163be6ef06SEitan Adler(sleeping, running, starting, zombies, and stopped), 3173be6ef06SEitan Adlerand a percentage of time spent in each of the processor states 3183be6ef06SEitan Adler(user, nice, system, and idle). 3193be6ef06SEitan AdlerIt also includes information about physical and virtual memory allocation. 320*9d6cce02SEitan Adler.Pp 3213be6ef06SEitan AdlerThe remainder of the screen displays information about individual 322*9d6cce02SEitan Adlerprocesses. 323*9d6cce02SEitan AdlerThis display is similar in spirit to 324*9d6cce02SEitan Adler.Xr ps 1 325*9d6cce02SEitan Adlerbut it is not exactly the same. 326*9d6cce02SEitan AdlerPID is the process id, 3273be6ef06SEitan AdlerJID, when displayed, is the 328*9d6cce02SEitan Adler.Xr jail 8 3293be6ef06SEitan AdlerID corresponding to the process, 3303be6ef06SEitan AdlerUSERNAME is the name of the process's owner (if 331*9d6cce02SEitan Adler.Fl u 3323be6ef06SEitan Adleris specified, a UID column will be substituted for USERNAME), 3333be6ef06SEitan AdlerPRI is the current priority of the process, 334*9d6cce02SEitan AdlerNICE is the 335*9d6cce02SEitan Adler.Xr nice 1 336*9d6cce02SEitan Adleramount, 3373be6ef06SEitan AdlerSIZE is the total size of the process (text, data, and stack), 3383be6ef06SEitan AdlerRES is the current amount of resident memory, 3393be6ef06SEitan AdlerSWAP is the approximate amount of swap, if enabled 3403be6ef06SEitan Adler(SIZE, RES and SWAP are given in kilobytes), 3413be6ef06SEitan AdlerSTATE is the current state (one of \*(lqSTART\*(rq, \*(lqRUN\*(rq 3423be6ef06SEitan Adler(shown as \*(lqCPUn\*(rq on SMP systems), \*(lqSLEEP\*(rq, \*(lqSTOP\*(rq, 3433be6ef06SEitan Adler\*(lqZOMB\*(rq, \*(lqWAIT\*(rq, \*(lqLOCK\*(rq or the event on which the 3443be6ef06SEitan Adlerprocess waits), 3453be6ef06SEitan AdlerC is the processor number on which the process is executing 3463be6ef06SEitan Adler(visible only on SMP systems), 3473be6ef06SEitan AdlerTIME is the number of system and user cpu seconds that the process has used, 3483be6ef06SEitan AdlerWCPU, when displayed, is the weighted cpu percentage (this is the same 3493be6ef06SEitan Adlervalue that 350*9d6cce02SEitan Adler.Xr ps 1 3513be6ef06SEitan Adlerdisplays as CPU), 3523be6ef06SEitan AdlerCPU is the raw percentage and is the field that is sorted to determine 3533be6ef06SEitan Adlerthe order of the processes, and 3543be6ef06SEitan AdlerCOMMAND is the name of the command that the process is currently running 3553be6ef06SEitan Adler(if the process is swapped out, this column is marked \*(lq<swapped>\*(rq). 356*9d6cce02SEitan Adler.Pp 3573be6ef06SEitan AdlerIf a process is in the \*(lqSLEEP\*(rq or \*(lqLOCK\*(rq state, 3583be6ef06SEitan Adlerthe state column will report the name of the event or lock on which the 3593be6ef06SEitan Adlerprocess is waiting. 3603be6ef06SEitan AdlerLock names are prefixed with an asterisk \*(lq*\*(rq while sleep events 3613be6ef06SEitan Adlerare not. 362*9d6cce02SEitan Adler.Sh AUTHORS 363*9d6cce02SEitan Adler.An William LeFebvre, EECS Department, Northwestern University 364*9d6cce02SEitan Adler.Sh BUGS 3653be6ef06SEitan AdlerThe command name for swapped processes should be tracked down, but this 3663be6ef06SEitan Adlerwould make the program run slower. 367*9d6cce02SEitan Adler.Pp 3683be6ef06SEitan AdlerAs with 369*9d6cce02SEitan Adler.Xr ps 1 , 3703be6ef06SEitan Adlerthings can change while 371*9d6cce02SEitan Adler.Nm 372*9d6cce02SEitan Adleris collecting information for an update. 373*9d6cce02SEitan AdlerThe picture it gives is only a 3743be6ef06SEitan Adlerclose approximation to reality. 375*9d6cce02SEitan Adler.Sh ENVIRONMENT 376*9d6cce02SEitan Adler.Bl -tag -width TOP -compact 377*9d6cce02SEitan Adler.It Pa TOP 378*9d6cce02SEitan AdlerDefault set of arguments to 379*9d6cce02SEitan Adler.Nm . 380*9d6cce02SEitan Adler.El 381*9d6cce02SEitan Adler.Sh SEE ALSO 382*9d6cce02SEitan Adler.Xr kill 1 , 383*9d6cce02SEitan Adler.Xr ps 1 , 384*9d6cce02SEitan Adler.Xr stty 1 , 385*9d6cce02SEitan Adler.Xr getrusage 2 , 386*9d6cce02SEitan Adler.Xr humanize_number 3 , 387*9d6cce02SEitan Adler.Xr mem 4 , 388*9d6cce02SEitan Adler.Xr renice 8 389*9d6cce02SEitan Adler.Sh DESCRIPTION OF MEMORY 3903be6ef06SEitan AdlerMem: 61M Active, 86M Inact, 368K Laundry, 22G Wired, 102G Free 3913be6ef06SEitan AdlerARC: 15G Total, 9303M MFU, 6155M MRU, 1464K Anon, 98M Header, 35M Other 3923be6ef06SEitan Adler 15G Compressed, 27G Uncompressed, 1.75:1 Ratio, 174M Overhead 3933be6ef06SEitan AdlerSwap: 4096M Total, 532M Free, 13% Inuse, 80K In, 104K Out 394*9d6cce02SEitan Adler.Sh Physical Memory Stats 395*9d6cce02SEitan Adler.Bl -tag -width indent 396*9d6cce02SEitan Adler.It Active: 3973be6ef06SEitan Adlernumber of bytes active 398*9d6cce02SEitan Adler.It Inact: 3993be6ef06SEitan Adlernumber of clean bytes inactive 400*9d6cce02SEitan Adler.It Laundry: 4013be6ef06SEitan Adlernumber of dirty bytes queued for laundering 402*9d6cce02SEitan Adler.It Wired: 403*9d6cce02SEitan Adlernumber of bytes wired down, including IO-level cached file data pages 404*9d6cce02SEitan Adler.It Buf: 405*9d6cce02SEitan Adlernumber of bytes used for IO-level disk caching 406*9d6cce02SEitan Adler.It Free: 4073be6ef06SEitan Adlernumber of bytes free 408*9d6cce02SEitan Adler.It ZFS ARC Stats 4093be6ef06SEitan AdlerThese stats are only displayed when the ARC is in use. 410*9d6cce02SEitan Adler.It Total: 4113be6ef06SEitan Adlernumber of wired bytes used for the ZFS ARC 412*9d6cce02SEitan Adler.It MRU: 4133be6ef06SEitan Adlernumber of ARC bytes holding most recently used data 414*9d6cce02SEitan Adler.It MFU: 4153be6ef06SEitan Adlernumber of ARC bytes holding most frequently used data 416*9d6cce02SEitan Adler.It Anon: 4173be6ef06SEitan Adlernumber of ARC bytes holding in flight data 418*9d6cce02SEitan Adler.It Header: 4193be6ef06SEitan Adlernumber of ARC bytes holding headers 420*9d6cce02SEitan Adler.It Other: 4213be6ef06SEitan Adlermiscellaneous ARC bytes 422*9d6cce02SEitan Adler.It Compressed: 4233be6ef06SEitan Adlerbytes of memory used by ARC caches 424*9d6cce02SEitan Adler.It Uncompressed: 4253be6ef06SEitan Adlerbytes of data stored in ARC caches before compression 426*9d6cce02SEitan Adler.It Ratio: 4273be6ef06SEitan Adlercompression ratio of data cached in the ARC 428*9d6cce02SEitan Adler.It Swap Stats 429*9d6cce02SEitan Adler.It Total: 4303be6ef06SEitan Adlertotal available swap usage 431*9d6cce02SEitan Adler.It Free: 4323be6ef06SEitan Adlertotal free swap usage 433*9d6cce02SEitan Adler.It Inuse: 4343be6ef06SEitan Adlerswap usage 435*9d6cce02SEitan Adler.It In: 4363be6ef06SEitan Adlerbytes paged in from swap devices (last interval) 437*9d6cce02SEitan Adler.It Out: 4383be6ef06SEitan Adlerbytes paged out to swap devices (last interval) 439*9d6cce02SEitan Adler.El 440