13be6ef06SEitan Adler.\" $FreeBSD$ 2fab44dc3SMateusz Piotrowski.Dd October 2, 2018 39d6cce02SEitan Adler.Dt TOP 1 49d6cce02SEitan Adler.Os 59d6cce02SEitan Adler.Sh NAME 69d6cce02SEitan Adler.Nm top 79d6cce02SEitan Adler.Nd display and update information about the top cpu processes 89d6cce02SEitan Adler.Sh SYNOPSIS 99d6cce02SEitan Adler.Nm 109d6cce02SEitan Adler.Op Fl CHIPSTabijnpqtuvxz 119d6cce02SEitan Adler.Op Fl J Ar jail 129d6cce02SEitan Adler.Op Fl U Ar uid 139d6cce02SEitan Adler.Op Fl d Ar count 149d6cce02SEitan Adler.Op Fl m Ar cpu|io 159d6cce02SEitan Adler.Op Fl s Ar time 169d6cce02SEitan Adler.Op Fl o Ar field 179d6cce02SEitan Adler.Op Fl p Ar pid 189d6cce02SEitan Adler.Op Ar count 199d6cce02SEitan Adler.Sh DESCRIPTION 209d6cce02SEitan 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 259d6cce02SEitan Adlerby default. 269d6cce02SEitan AdlerOtherwise, a good number of them are shown (around 20). 279d6cce02SEitan AdlerRaw cpu percentage is used to rank the processes. 289d6cce02SEitan AdlerIf 299d6cce02SEitan Adler.Ar number 303be6ef06SEitan Adleris given, then the top 319d6cce02SEitan Adler.Ar number 323be6ef06SEitan Adlerprocesses will be displayed instead of the default. 339d6cce02SEitan Adler.Pp 349d6cce02SEitan Adler.Nm 353be6ef06SEitan Adlermakes a distinction between terminals that support advanced capabilities 369d6cce02SEitan Adlerand those that do not. 379d6cce02SEitan AdlerThis distinction affects the choice of defaults for certain options. 389d6cce02SEitan 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 419d6cce02SEitan Adlerfeatures. 429d6cce02SEitan AdlerIf the output of 439d6cce02SEitan Adler.Nm 443be6ef06SEitan Adleris redirected to a file, it acts as if it were being run on a dumb 453be6ef06SEitan Adlerterminal. 469d6cce02SEitan Adler.Bl -tag -width indent -compact 479d6cce02SEitan 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 519d6cce02SEitan Adler.Xr ps 1 523be6ef06SEitan Adlerdisplays as CPU). 533be6ef06SEitan AdlerEach time 54*8fb2c7acSTijl Coosemans.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. 589d6cce02SEitan Adler.It Fl S 599d6cce02SEitan AdlerShow system processes in the display. 609d6cce02SEitan AdlerNormally, system processes such as the pager and the swapper are not shown. 619d6cce02SEitan AdlerThis option makes them visible. 629d6cce02SEitan Adler.It Fl a 633be6ef06SEitan AdlerDisplay command names derived from the argv[] vector, rather than real 649d6cce02SEitan Adlerexecutable name. 659d6cce02SEitan AdlerIt it useful when you want to watch applications, that 669d6cce02SEitan Adlerputs their status information there. 679d6cce02SEitan AdlerIf the real name differs from argv[0], 683be6ef06SEitan Adlerit will be displayed in parenthesis. 699d6cce02SEitan Adler.It Fl b 709d6cce02SEitan AdlerUse \*(lqbatch\*(rq mode. 719d6cce02SEitan AdlerIn this mode, all input from the terminal is 729d6cce02SEitan Adlerignored. 739d6cce02SEitan 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. 759d6cce02SEitan 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. 789d6cce02SEitan Adler.It Fl i 799d6cce02SEitan AdlerUse \*(lqinteractive\*(rq mode. 809d6cce02SEitan AdlerIn this mode, any input is immediately 819d6cce02SEitan Adlerread for processing. 829d6cce02SEitan AdlerSee the section on \*(lqInteractive Mode\*(rq 833be6ef06SEitan Adlerfor an explanation of 849d6cce02SEitan Adlerwhich keys perform what functions. 859d6cce02SEitan AdlerAfter the command is processed, the 863be6ef06SEitan Adlerscreen will immediately be updated, even if the command was not 879d6cce02SEitan Adlerunderstood. 889d6cce02SEitan AdlerThis mode is the default when standard output is an 893be6ef06SEitan Adlerintelligent terminal. 909d6cce02SEitan Adler.It Fl I 913be6ef06SEitan AdlerDo not display idle processes. 923be6ef06SEitan AdlerBy default, top displays both active and idle processes. 939d6cce02SEitan Adler.It Fl j 943be6ef06SEitan AdlerDisplay the 959d6cce02SEitan Adler.Xr jail 8 963be6ef06SEitan AdlerID. 979d6cce02SEitan Adler.It Fl T 98fc36f5a7SEitan AdlerToggle displaying thread ID (tid) instead of process id (pid). 999d6cce02SEitan Adler.It Fl t 1003be6ef06SEitan AdlerDo not display the 1019d6cce02SEitan Adler.Nm 1029d6cce02SEitan Adlerprocess itself. 1039d6cce02SEitan Adler.It Fl display 1049d6cce02SEitan AdlerDisplay either 'cpu' or 'io' statistics. 1059d6cce02SEitan AdlerDefault is 'cpu'. 1069d6cce02SEitan Adler.It Fl n 1079d6cce02SEitan AdlerUse \*(lqnon-interactive\*(rq mode. 1089d6cce02SEitan AdlerThis is identical to \*(lqbatch\*(rq 1093be6ef06SEitan Adlermode. 1109d6cce02SEitan Adler.It Fl P 1113be6ef06SEitan AdlerDisplay per-cpu CPU usage statistics. 1129d6cce02SEitan Adler.It Fl q 1133be6ef06SEitan AdlerRenice 1149d6cce02SEitan Adler.Nm 1159d6cce02SEitan Adlerto -20 so that it will run faster. 1169d6cce02SEitan 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. 1199d6cce02SEitan Adler.It Fl u 1209d6cce02SEitan AdlerDo not map uid numbers to usernames. 1219d6cce02SEitan AdlerNormally, 1229d6cce02SEitan Adler.Nm 1233be6ef06SEitan Adlerwill read as much of the file \*(lq/etc/passwd\*(rq as is necessary to map 1249d6cce02SEitan Adlerall the user id numbers it encounters into login names. 1259d6cce02SEitan AdlerThis option disables all that, while possibly decreasing execution time. 1269d6cce02SEitan AdlerThe uid numbers are displayed instead of the names. 1279d6cce02SEitan Adler.It Fl v 1283be6ef06SEitan AdlerWrite version number information to stderr then exit immediately. 1299d6cce02SEitan Adler.It Fl w 1303be6ef06SEitan AdlerDisplay approximate swap usage for each process. 1319d6cce02SEitan Adler.It Fl z 1323be6ef06SEitan AdlerDo not display the system idle process. 1339d6cce02SEitan Adler.It Fl d Ar count 1343be6ef06SEitan AdlerShow only 1359d6cce02SEitan Adler.Ar count 1369d6cce02SEitan Adlerdisplays, then exit. 1379d6cce02SEitan AdlerA display is considered to be one update of the 1389d6cce02SEitan Adlerscreen. 1399d6cce02SEitan AdlerThe default is 1 for dumb terminals. 1409d6cce02SEitan AdlerNote that for 1419d6cce02SEitan Adler.Ar count 142d4085250SEitan Adler= 1 143d4085250SEitan Adlerno information is available about the percentage of time spent by the CPU in every state. 1449d6cce02SEitan Adler.It Fl s Ar time 1453be6ef06SEitan AdlerSet the delay between screen updates to 1469d6cce02SEitan Adler.Ar time 1479d6cce02SEitan Adlerseconds. 1489d6cce02SEitan AdlerThe default delay between updates is 1 second. 1499d6cce02SEitan Adler.It Fl o Ar field 1509d6cce02SEitan AdlerSort the process display area on the specified field. 1519d6cce02SEitan 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. 1579d6cce02SEitan Adler.It Fl p Ar pid 15851b29cb7SRoman BogorodskiyShow only the process 1599d6cce02SEitan Adler.Ar pid . 1609d6cce02SEitan Adler.It Fl J Ar jail 1613be6ef06SEitan AdlerShow only those processes owned by 1629d6cce02SEitan Adler.Ar jail . 1633be6ef06SEitan AdlerThis may be either the 1649d6cce02SEitan Adler.Ar jid 1653be6ef06SEitan Adleror 1669d6cce02SEitan Adler.Ar name 1673be6ef06SEitan Adlerof the jail. 1683be6ef06SEitan AdlerUse 1699d6cce02SEitan Adler0 1703be6ef06SEitan Adlerto limit to host processes. 1719d6cce02SEitan AdlerUsing this option implies 1729d6cce02SEitan Adler.Fl j . 1739d6cce02SEitan Adler.Pp 1749d6cce02SEitan Adler.It Fl U Ar username 1753be6ef06SEitan AdlerShow only those processes owned by 1769d6cce02SEitan Adler.Ar username . 1773be6ef06SEitan AdlerThis option currently only accepts usernames and will not understand 1783be6ef06SEitan Adleruid numbers. 1799d6cce02SEitan Adler.El 1809d6cce02SEitan Adler.Pp 1813be6ef06SEitan AdlerBoth 1829d6cce02SEitan Adler.Ar count 1833be6ef06SEitan Adlerand 1849d6cce02SEitan Adler.Ar number 1853be6ef06SEitan Adlerfields can be specified as \*(lqinfinite\*(rq, indicating that they can 1869d6cce02SEitan Adlerstretch as far as possible. 1879d6cce02SEitan 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. 1939d6cce02SEitan AdlerBoolean flags are toggles. 1949d6cce02SEitan AdlerA second specification of any of these options will negate the first. 1959d6cce02SEitan Adler.Sh "INTERACTIVE MODE" 1963be6ef06SEitan AdlerWhen 1979d6cce02SEitan Adler.Nm 1983be6ef06SEitan Adleris running in \*(lqinteractive mode\*(rq, it reads commands from the 1999d6cce02SEitan Adlerterminal and acts upon them accordingly. 2009d6cce02SEitan AdlerIn this mode, the terminal is 2013be6ef06SEitan Adlerput in \*(lqCBREAK\*(rq, so that a character will be 2029d6cce02SEitan Adlerprocessed as soon as it is typed. 2039d6cce02SEitan AdlerAlmost always, a key will be 2043be6ef06SEitan Adlerpressed when 2059d6cce02SEitan Adler.Nm 2063be6ef06SEitan Adleris between displays; that is, while it is waiting for 2079d6cce02SEitan Adler.Ar time 2089d6cce02SEitan Adlerseconds to elapse. 2099d6cce02SEitan AdlerIf this is the case, the command will be 2103be6ef06SEitan Adlerprocessed and the display will be updated immediately thereafter 2119d6cce02SEitan Adler(reflecting any changes that the command may have specified). 2129d6cce02SEitan AdlerThis 2139d6cce02SEitan Adlerhappens even if the command was incorrect. 2149d6cce02SEitan AdlerIf a key is pressed while 2159d6cce02SEitan Adler.Nm 2163be6ef06SEitan Adleris in the middle of updating the display, it will finish the update and 2179d6cce02SEitan Adlerthen process the command. 2189d6cce02SEitan AdlerSome commands require additional information, 2199d6cce02SEitan Adlerand the user will be prompted accordingly. 2209d6cce02SEitan AdlerWhile typing this information 2213be6ef06SEitan Adlerin, the user's erase and kill keys (as set up by the command 2229d6cce02SEitan Adler.Xr stty 1 ) 2233be6ef06SEitan Adlerare recognized, and a newline terminates the input. 2249d6cce02SEitan Adler.Pp 2253be6ef06SEitan AdlerThese commands are currently recognized (^L refers to control-L): 2269d6cce02SEitan Adler.Bl -tag -width indent 2279d6cce02SEitan Adler.It ^L 2283be6ef06SEitan AdlerRedraw the screen. 2299d6cce02SEitan Adler.It h 2309d6cce02SEitan AdlerDisplay a summary of the commands (help screen). 2319d6cce02SEitan AdlerVersion information 2323be6ef06SEitan Adleris included in this display. 2339d6cce02SEitan Adler.It q 2343be6ef06SEitan AdlerQuit 2359d6cce02SEitan Adler.Nm 2369d6cce02SEitan 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 2399d6cce02SEitan Adler.It d1 2403be6ef06SEitan Adlerwill make 2419d6cce02SEitan Adler.Nm 2423be6ef06SEitan Adlershow one final display and then immediately exit. 2439d6cce02SEitan Adler.It m 2443be6ef06SEitan AdlerToggle the display between 'cpu' and 'io' modes. 2459d6cce02SEitan Adler.It n or # 2463be6ef06SEitan AdlerChange the number of processes to display (prompt for new number). 2479d6cce02SEitan Adler.It s 2483be6ef06SEitan AdlerChange the number of seconds to delay between displays 2493be6ef06SEitan Adler(prompt for new number). 2509d6cce02SEitan Adler.It S 2513be6ef06SEitan AdlerToggle the display of system processes. 2529d6cce02SEitan Adler.It a 2533be6ef06SEitan AdlerToggle the display of process titles. 2549d6cce02SEitan Adler.It k 2559d6cce02SEitan AdlerSend a signal (\*(lqkill\*(rq by default) to a list of processes. 2563be6ef06SEitan AdlerThis acts similarly to the command 2579d6cce02SEitan Adler.Xr kill 1 . 2589d6cce02SEitan Adler.It r 2599d6cce02SEitan AdlerChange the priority (the \*(lqnice\*(rq) of a list of processes. 2609d6cce02SEitan AdlerThis acts similarly to 2619d6cce02SEitan Adler.Xr renice 8 . 2629d6cce02SEitan Adler.It u 2633be6ef06SEitan AdlerDisplay only processes owned by a specific set of usernames (prompt for 2649d6cce02SEitan Adlerusername). 2659d6cce02SEitan AdlerIf the username specified is simply \*(lq+\*(rq or \*(lq-\*(rq, 2669d6cce02SEitan Adlerthen processes belonging to all users will be displayed. 2679d6cce02SEitan AdlerUsernames can be added 2683be6ef06SEitan Adlerto and removed from the set by prepending them with \*(lq+\*(rq and 2693be6ef06SEitan Adler\*(lq-\*(rq, respectively. 2709d6cce02SEitan Adler.It o 2719d6cce02SEitan AdlerChange the order in which the display is sorted. 2729d6cce02SEitan AdlerThe sort key names include 2739d6cce02SEitan Adler\*(lqcpu\*(rq, \*(lqres\*(rq, \*(lqsize\*(rq, 2749d6cce02SEitan Adler\*(lqtime\*(rq. 2759d6cce02SEitan AdlerThe default is cpu. 2769d6cce02SEitan Adler.It p 27751b29cb7SRoman BogorodskiyDisplay a specific process (prompt for pid). 27851b29cb7SRoman BogorodskiyIf the pid specified is simply \*(lq+\*(rq, then show all processes. 2799d6cce02SEitan Adler.It e 2803be6ef06SEitan AdlerDisplay a list of system errors (if any) generated by the last 2813be6ef06SEitan Adlercommand. 2829d6cce02SEitan Adler.It B H 2833be6ef06SEitan AdlerToggle the display of threads. 2849d6cce02SEitan Adler.It i or I 2853be6ef06SEitan AdlerToggle the display of idle processes. 2869d6cce02SEitan Adler.It j 2873be6ef06SEitan AdlerToggle the display of 2889d6cce02SEitan Adler.Xr jail 8 2893be6ef06SEitan AdlerID. 2909d6cce02SEitan 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. 2959d6cce02SEitan Adler.It P 2963be6ef06SEitan AdlerToggle the display of per-CPU statistics. 2979d6cce02SEitan Adler.It T 2989d6cce02SEitan AdlerToggle display of TID and PID 2999d6cce02SEitan Adler.It t 3003be6ef06SEitan AdlerToggle the display of the 3019d6cce02SEitan Adler.Nm 3023be6ef06SEitan Adlerprocess. 3039d6cce02SEitan Adler.It w 3043be6ef06SEitan AdlerToggle the display of swap usage. 3059d6cce02SEitan Adler.It z 3063be6ef06SEitan AdlerToggle the display of the system idle process. 3079d6cce02SEitan Adler.El 3089d6cce02SEitan 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. 3209d6cce02SEitan Adler.Pp 3213be6ef06SEitan AdlerThe remainder of the screen displays information about individual 3229d6cce02SEitan Adlerprocesses. 3239d6cce02SEitan AdlerThis display is similar in spirit to 3249d6cce02SEitan Adler.Xr ps 1 3259d6cce02SEitan Adlerbut it is not exactly the same. 3269d6cce02SEitan AdlerPID is the process id, 3273be6ef06SEitan AdlerJID, when displayed, is the 3289d6cce02SEitan Adler.Xr jail 8 3293be6ef06SEitan AdlerID corresponding to the process, 3303be6ef06SEitan AdlerUSERNAME is the name of the process's owner (if 3319d6cce02SEitan Adler.Fl u 3323be6ef06SEitan Adleris specified, a UID column will be substituted for USERNAME), 3333be6ef06SEitan AdlerPRI is the current priority of the process, 3349d6cce02SEitan AdlerNICE is the 3359d6cce02SEitan Adler.Xr nice 1 3369d6cce02SEitan 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 3509d6cce02SEitan 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). 3569d6cce02SEitan 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. 362fab44dc3SMateusz Piotrowski.Sh DESCRIPTION OF MEMORY 363fab44dc3SMateusz Piotrowski.Bd -literal 364fab44dc3SMateusz PiotrowskiMem: 61M Active, 86M Inact, 368K Laundry, 22G Wired, 102G Free 365fab44dc3SMateusz PiotrowskiARC: 15G Total, 9303M MFU, 6155M MRU, 1464K Anon, 98M Header, 35M Other 366fab44dc3SMateusz Piotrowski 15G Compressed, 27G Uncompressed, 1.75:1 Ratio, 174M Overhead 367fab44dc3SMateusz PiotrowskiSwap: 4096M Total, 532M Free, 13% Inuse, 80K In, 104K Out 368fab44dc3SMateusz Piotrowski.Ed 369fab44dc3SMateusz Piotrowski.Ss Physical Memory Stats 370fab44dc3SMateusz Piotrowski.Bl -tag -width "Uncompressed" -compact 371fab44dc3SMateusz Piotrowski.It Em Active 372fab44dc3SMateusz Piotrowskinumber of bytes active 373fab44dc3SMateusz Piotrowski.It Em Inact 374fab44dc3SMateusz Piotrowskinumber of clean bytes inactive 375fab44dc3SMateusz Piotrowski.It Em Laundry 376fab44dc3SMateusz Piotrowskinumber of dirty bytes queued for laundering 377fab44dc3SMateusz Piotrowski.It Em Wired 378fab44dc3SMateusz Piotrowskinumber of bytes wired down, including IO-level cached file data pages 379fab44dc3SMateusz Piotrowski.It Em Buf 380fab44dc3SMateusz Piotrowskinumber of bytes used for IO-level disk caching 381fab44dc3SMateusz Piotrowski.It Em Free 382fab44dc3SMateusz Piotrowskinumber of bytes free 383fab44dc3SMateusz Piotrowski.El 384fab44dc3SMateusz Piotrowski.Ss ZFS ARC Stats 385fab44dc3SMateusz PiotrowskiThese stats are only displayed when the ARC is in use. 3869d6cce02SEitan Adler.Pp 387fab44dc3SMateusz Piotrowski.Bl -tag -width "Uncompressed" -compact 388fab44dc3SMateusz Piotrowski.It Em Total 389fab44dc3SMateusz Piotrowskinumber of wired bytes used for the ZFS ARC 390fab44dc3SMateusz Piotrowski.It Em MRU 391fab44dc3SMateusz Piotrowskinumber of ARC bytes holding most recently used data 392fab44dc3SMateusz Piotrowski.It Em MFU 393fab44dc3SMateusz Piotrowskinumber of ARC bytes holding most frequently used data 394fab44dc3SMateusz Piotrowski.It Em Anon 395fab44dc3SMateusz Piotrowskinumber of ARC bytes holding in flight data 396fab44dc3SMateusz Piotrowski.It Em Header 397fab44dc3SMateusz Piotrowskinumber of ARC bytes holding headers 398fab44dc3SMateusz Piotrowski.It Em Other 399fab44dc3SMateusz Piotrowskimiscellaneous ARC bytes 400fab44dc3SMateusz Piotrowski.It Em Compressed 401fab44dc3SMateusz Piotrowskibytes of memory used by ARC caches 402fab44dc3SMateusz Piotrowski.It Em Uncompressed 403fab44dc3SMateusz Piotrowskibytes of data stored in ARC caches before compression 404fab44dc3SMateusz Piotrowski.It Em Ratio 405fab44dc3SMateusz Piotrowskicompression ratio of data cached in the ARC 406fab44dc3SMateusz Piotrowski.El 407fab44dc3SMateusz Piotrowski.Ss Swap Stats 408fab44dc3SMateusz Piotrowski.Bl -tag -width "Uncompressed" -compact 409fab44dc3SMateusz Piotrowski.It Em Total 410fab44dc3SMateusz Piotrowskitotal available swap usage 411fab44dc3SMateusz Piotrowski.It Em Free 412fab44dc3SMateusz Piotrowskitotal free swap usage 413fab44dc3SMateusz Piotrowski.It Em Inuse 414fab44dc3SMateusz Piotrowskiswap usage 415fab44dc3SMateusz Piotrowski.It Em \&In 416fab44dc3SMateusz Piotrowskibytes paged in from swap devices (last interval) 417fab44dc3SMateusz Piotrowski.It Em Out 418fab44dc3SMateusz Piotrowskibytes paged out to swap devices (last interval) 419fab44dc3SMateusz Piotrowski.El 4209d6cce02SEitan Adler.Sh ENVIRONMENT 421fab44dc3SMateusz Piotrowski.Bl -tag -width "Uncompressed" 422fab44dc3SMateusz Piotrowski.It Ev TOP 4239d6cce02SEitan AdlerDefault set of arguments to 4249d6cce02SEitan Adler.Nm . 4259d6cce02SEitan Adler.El 4269d6cce02SEitan Adler.Sh SEE ALSO 4279d6cce02SEitan Adler.Xr kill 1 , 4289d6cce02SEitan Adler.Xr ps 1 , 4299d6cce02SEitan Adler.Xr stty 1 , 4309d6cce02SEitan Adler.Xr getrusage 2 , 4319d6cce02SEitan Adler.Xr humanize_number 3 , 4329d6cce02SEitan Adler.Xr mem 4 , 4339d6cce02SEitan Adler.Xr renice 8 434fab44dc3SMateusz Piotrowski.Sh AUTHORS 435fab44dc3SMateusz Piotrowski.An William LeFebvre, EECS Department, Northwestern University 436fab44dc3SMateusz Piotrowski.Sh BUGS 437fab44dc3SMateusz PiotrowskiThe command name for swapped processes should be tracked down, but this 438fab44dc3SMateusz Piotrowskiwould make the program run slower. 439fab44dc3SMateusz Piotrowski.Pp 440fab44dc3SMateusz PiotrowskiAs with 441fab44dc3SMateusz Piotrowski.Xr ps 1 , 442fab44dc3SMateusz Piotrowskithings can change while 443fab44dc3SMateusz Piotrowski.Nm 444fab44dc3SMateusz Piotrowskiis collecting information for an update. 445fab44dc3SMateusz PiotrowskiThe picture it gives is only a close approximation to reality. 446