227:
sleeping, 0 stopped, 0 zombie %Cpu(s): 9.6 us, 0.7 sy, 0.0 ni, 89.5 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st | | | | | | | '------. <user> <system> <nice> <idle> <IOWait> <hardware/software interrupt> <steal time> MiB Mem : 1031911.+total, 368915.2 free, 172285.0 used, 490711.5 buff/cache MiB Swap: 2048.0 total, 2048.0 free, 0.0 used. 807110.1 avail Mem
134:
1503:
27:
1525:
125:
The program produces an ordered list of running processes selected by user-specified criteria, and updates it periodically. Default ordering is by CPU usage, and only the top CPU consumers are shown. top shows how much processing power and memory are being used, as well as other information about the
298:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 20 0 2456 1612 1500 S 0.0 0.0 0:00.07 init(Ubuntu) 4 root 20 0 2456 4 0 S 0.0 0.0 0:00.00 init 656403 user2 20 0 80.0g 3.6g 370000 S 100.0 0.4
226:
top - 14:21:23 up 2 days, 21:40, 44 users, load average: 14.44, 14.13, 14.64 | | | | <time> <system uptime> <user count> <load average for the past 1, 5, 15 minutes> Tasks: 1552 total, 8 running, 1544
281:. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. In this snapshot, there's a total of 2048 MiB of swap, all free, indicating that no swapping is occurring, which is good for performance.
236:
is the exponential moving average of the run-queue length over the past 1/5/15 minutes. The run-queue includes both processes being run and waiting to be run. At complete utilization with no task switching, the load average is equal to the number of CPUs.
351:
of the task, manually set by users and administrators to influence the real-time priority. A lower nice value tends to favor the process, and a higher nice value tends to disfavor the process. It ranges from -20 (most favored) to 19 (least
187:
The load average numbers in Linux refers to the sum of the number of processes waiting in the run-queue plus the number currently executing. The number is absolute, not relative. And thus it can be
299:
1594:38 python3 2024198 longnam+ 20 0 50.5g 4.7g 609200 S 1.6 0.5 204:46.85 long-name-proc 2056804 longnam+ 20 0 237.1g 31.1g 23.1g S 136.8 3.1 69:54.11 python3
287:: The amount of memory available for new applications, without swapping. This considers not just the unused RAM, but also the memory that can be reclaimed from RAM caches.
362:
size of the process. This includes all memory that the process can access, including memory that is swapped out, memory that is allocated but not used, and shared memory.
1556:
214:(number of iterations) option can product a similar result, causing the program to run the specified number of iterations, then exit after printing its output.
146:
There are several different versions of top. The traditional Unix version was written by
William LeFebvre and originally copyrighted in 1984. It is hosted on
126:
running processes. Some versions of top allow extensive customization of the display, such as choice of columns or sorting method. top is useful for
339:
PR numbers are considered more important by the scheduler and more likely to be scheduled, which means it tends to have more CPU-time per real-time.
154:
891:
702:
157:
group of tools. It was originally written by Roger Binns and released in early 1992 but shortly thereafter taken over by others.
294:, with the following columns often used out of many possible columns (the choice and ordering of columns are configurable):
599:
84:
569:
1516:
1511:
1561:
210:
program is similar to top, but instead produces a snapshot of processes taken at the time of invocation. top's
1551:
758:
869:
1352:
884:
161:
1488:
1458:
1566:
1473:
130:, as it shows which users and processes are consuming the most system resources at any given time.
65:
114:
1077:
1067:
1571:
1529:
1234:
903:
877:
332:
200:
173:
775:
1404:
127:
8:
291:
852:
677:
628:
445:
433:
308:
826:
709:
369:
268:
264:
196:
165:
1304:
1209:
1204:
318:
232:
188:
72:
386:
size: how much of the RAM claimed by the process is sharable with other processes.
1483:
1427:
1332:
1133:
1036:
1422:
1357:
1342:
1279:
1239:
1118:
1082:
976:
423:
359:
106:
90:
1545:
1463:
1324:
1259:
1031:
1006:
907:
383:
192:
191:; unlike utilization. The instant variations of the number of processes are
133:
1437:
1337:
1254:
1249:
1153:
1062:
1026:
981:
899:
734:
321:
who started the process. If the username is too long, it is cut-off with a
102:
607:
468:: The total CPU time the task has used since it started. This is shown in
1373:
1347:
1284:
1274:
1264:
1229:
1219:
1214:
1097:
1087:
1041:
346:
147:
1189:
1148:
951:
921:
577:
548:
522:
372:, the portion of a process's memory that is held in RAM. Compared with
181:
34:
1478:
1432:
1412:
1309:
1289:
1244:
1092:
1016:
1001:
986:
971:
966:
961:
956:
456:: The percentage of the CPU time that the process is currently using.
207:
110:
77:
26:
376:, this excludes memory that is swapped out, not yet used, or shared.
1394:
1174:
819:
802:
785:
543:
441:
278:
256:
169:
1199:
1123:
798:
781:
652:
249:
counts the percentage of CPU usage, broken down into categories.
177:
792:
180:
has an updating running processes list as part of the topas and
1184:
926:
527:
16:
Task manager program found in many Unix-like operating systems
1417:
1314:
1294:
1224:
1143:
1046:
1021:
996:
946:
941:
936:
931:
815:
517:
486:: The command line argument that started the process. Unlike
290:
The rest of the text provides a table with each row being a
1468:
1442:
1378:
1299:
1194:
1179:
1138:
1128:
1072:
900:
809:
538:
532:
511:
505:
1269:
1169:
1113:
1011:
462:: The percentage of the physical RAM used by the process.
991:
490:, if the command is too long, it is cut-off without a
476:
means that it is accurate to 0.01 second. If it shows
137:
Top on Linux with altered preferences for better view
703:"UNIX Load Average Part 2: Not Your Average Average"
311:, a unique number identifying each running process.
113:operating systems, that displays information about
1557:Unix process- and task-management-related software
1543:
335:of the task, computed by the system scheduler.
885:
222:The first 5 rows overview the entire system.
164:, the roughly equivalent program is prstat.
1524:
892:
878:
700:
426:(terminated but not reaped by its parent)
150:, and release 3.7 was announced in 2008.
853:"How to customize the Linux top command"
694:
597:
392:: Status of process. The status can be:
153:The Linux version of top is part of the
132:
1544:
732:
726:
873:
850:
243:counts the processes their statuses.
841:. A deep dive into the mechanics of
514:interactive system-monitor for Linux
827:"Decoded: The top utility (procps)"
678:"Linux Top Origins | Roger's world"
13:
199:formula which is calculated using
141:
14:
1583:
767:
675:
1523:
1502:
1501:
653:"top(1): tasks - Linux man page"
598:LeFebvre, William (2014-09-16).
535:system-monitor for AIX and Linux
480:then it is accurate to 1 second.
416:for disk sleep (uninterruptible)
25:
733:Walker, Ray (1 December 2006).
708:. teamquest.com. Archived from
277:: Swap space usage in units of
752:
669:
645:
621:
591:
562:
508:bandwidth monitoring for Linux
1:
555:
851:James, Hayden (2019-09-18).
7:
498:
255:: Memory usage in units of
120:
49:; 40 years ago
10:
1588:
217:
172:command and the graphical
101:(table of processes) is a
1497:
1451:
1403:
1387:
1366:
1323:
1162:
1106:
1055:
914:
701:J. Gunther, Neil (2010).
83:
71:
61:
43:
33:
24:
735:"Examining Load Average"
296:
224:
117:and memory utilization.
759:top(1) - Linux man page
109:program, found in many
1517:Unix SUS2008 utilities
1512:Standard Unix programs
904:command-line interface
263:is for memory used by
138:
1562:System administration
136:
128:system administrators
1552:Console applications
1405:Software development
657:Linux Documentation
472:. The plus sign in
21:
434:job control signal
139:
35:Original author(s)
19:
1539:
1538:
801:General Commands
784:General Commands
432:for stopped by a
370:Resident set size
197:exponential decay
166:Microsoft Windows
96:
95:
89:Process viewer /
1579:
1527:
1526:
1505:
1504:
1107:User environment
894:
887:
880:
871:
870:
866:
864:
863:
844:
840:
838:
837:
813:
812:
796:
795:
779:
778:
761:
756:
750:
749:
747:
745:
730:
724:
723:
721:
720:
714:
707:
698:
692:
691:
689:
688:
673:
667:
666:
664:
663:
649:
643:
642:
640:
639:
625:
619:
618:
616:
615:
606:. Archived from
595:
589:
588:
586:
585:
576:. Archived from
566:
493:
489:
485:
479:
475:
471:
467:
461:
455:
439:
431:
421:
415:
409:
403:
397:
391:
381:
375:
367:
357:
344:
330:
324:
316:
306:
286:
276:
262:
254:
248:
242:
235:
213:
73:Operating system
57:
55:
50:
39:William LeFebvre
29:
22:
18:
1587:
1586:
1582:
1581:
1580:
1578:
1577:
1576:
1567:System monitors
1542:
1541:
1540:
1535:
1493:
1447:
1399:
1383:
1362:
1319:
1163:Text processing
1158:
1102:
1051:
910:
898:
861:
859:
842:
835:
833:
831:www.maizure.org
825:
822:– User Commands
808:
807:
791:
790:
774:
773:
770:
765:
764:
757:
753:
743:
741:
731:
727:
718:
716:
712:
705:
699:
695:
686:
684:
674:
670:
661:
659:
651:
650:
646:
637:
635:
627:
626:
622:
613:
611:
596:
592:
583:
581:
570:"Documentation"
568:
567:
563:
558:
553:
501:
491:
487:
483:
477:
473:
470:minutes:seconds
469:
465:
459:
453:
440:for stopped by
437:
429:
419:
413:
407:
401:
395:
389:
379:
373:
365:
355:
342:
328:
322:
314:
304:
301:
300:
284:
274:
260:
252:
246:
240:
231:
229:
228:
220:
211:
144:
142:Implementations
123:
53:
51:
48:
44:Initial release
17:
12:
11:
5:
1585:
1575:
1574:
1569:
1564:
1559:
1554:
1537:
1536:
1534:
1533:
1521:
1520:
1519:
1514:
1498:
1495:
1494:
1492:
1491:
1489:true and false
1486:
1481:
1476:
1471:
1466:
1461:
1455:
1453:
1449:
1448:
1446:
1445:
1440:
1435:
1430:
1425:
1420:
1415:
1409:
1407:
1401:
1400:
1398:
1397:
1391:
1389:
1385:
1384:
1382:
1381:
1376:
1370:
1368:
1364:
1363:
1361:
1360:
1355:
1350:
1345:
1340:
1335:
1329:
1327:
1325:Shell builtins
1321:
1320:
1318:
1317:
1312:
1307:
1302:
1297:
1292:
1287:
1282:
1277:
1272:
1267:
1262:
1257:
1252:
1247:
1242:
1237:
1232:
1227:
1222:
1217:
1212:
1207:
1202:
1197:
1192:
1187:
1182:
1177:
1172:
1166:
1164:
1160:
1159:
1157:
1156:
1151:
1146:
1141:
1136:
1131:
1126:
1121:
1116:
1110:
1108:
1104:
1103:
1101:
1100:
1095:
1090:
1085:
1080:
1075:
1070:
1065:
1059:
1057:
1053:
1052:
1050:
1049:
1044:
1039:
1034:
1029:
1024:
1019:
1014:
1009:
1004:
999:
994:
989:
984:
979:
974:
969:
964:
959:
954:
949:
944:
939:
934:
929:
924:
918:
916:
912:
911:
908:shell builtins
897:
896:
889:
882:
874:
868:
867:
857:www.redhat.com
848:
846:
823:
805:
788:
769:
768:External links
766:
763:
762:
751:
725:
693:
676:Binns, Roger.
668:
644:
620:
590:
560:
559:
557:
554:
552:
551:
546:
541:
536:
530:
525:
520:
515:
509:
502:
500:
497:
496:
495:
481:
463:
457:
451:
450:
449:
427:
417:
411:
405:
399:
387:
377:
363:
360:Virtual memory
353:
340:
326:
312:
297:
225:
219:
216:
143:
140:
122:
119:
107:system monitor
94:
93:
91:System monitor
87:
81:
80:
75:
69:
68:
63:
59:
58:
45:
41:
40:
37:
31:
30:
15:
9:
6:
4:
3:
2:
1584:
1573:
1572:Task managers
1570:
1568:
1565:
1563:
1560:
1558:
1555:
1553:
1550:
1549:
1547:
1532:
1531:
1522:
1518:
1515:
1513:
1510:
1509:
1508:
1500:
1499:
1496:
1490:
1487:
1485:
1482:
1480:
1477:
1475:
1472:
1470:
1467:
1465:
1462:
1460:
1457:
1456:
1454:
1452:Miscellaneous
1450:
1444:
1441:
1439:
1436:
1434:
1431:
1429:
1426:
1424:
1421:
1419:
1416:
1414:
1411:
1410:
1408:
1406:
1402:
1396:
1393:
1392:
1390:
1388:Documentation
1386:
1380:
1377:
1375:
1372:
1371:
1369:
1365:
1359:
1356:
1354:
1351:
1349:
1346:
1344:
1341:
1339:
1336:
1334:
1331:
1330:
1328:
1326:
1322:
1316:
1313:
1311:
1308:
1306:
1303:
1301:
1298:
1296:
1293:
1291:
1288:
1286:
1283:
1281:
1278:
1276:
1273:
1271:
1268:
1266:
1263:
1261:
1258:
1256:
1253:
1251:
1248:
1246:
1243:
1241:
1238:
1236:
1233:
1231:
1228:
1226:
1223:
1221:
1218:
1216:
1213:
1211:
1208:
1206:
1203:
1201:
1198:
1196:
1193:
1191:
1188:
1186:
1183:
1181:
1178:
1176:
1173:
1171:
1168:
1167:
1165:
1161:
1155:
1152:
1150:
1147:
1145:
1142:
1140:
1137:
1135:
1132:
1130:
1127:
1125:
1122:
1120:
1117:
1115:
1112:
1111:
1109:
1105:
1099:
1096:
1094:
1091:
1089:
1086:
1084:
1081:
1079:
1076:
1074:
1071:
1069:
1066:
1064:
1061:
1060:
1058:
1054:
1048:
1045:
1043:
1040:
1038:
1035:
1033:
1030:
1028:
1025:
1023:
1020:
1018:
1015:
1013:
1010:
1008:
1005:
1003:
1000:
998:
995:
993:
990:
988:
985:
983:
980:
978:
975:
973:
970:
968:
965:
963:
960:
958:
955:
953:
950:
948:
945:
943:
940:
938:
935:
933:
930:
928:
925:
923:
920:
919:
917:
913:
909:
906:programs and
905:
902:
895:
890:
888:
883:
881:
876:
875:
872:
858:
854:
849:
847:
832:
828:
824:
821:
817:
814: –
811:
806:
804:
800:
797: –
794:
789:
787:
783:
780: –
777:
772:
771:
760:
755:
740:
739:Linux Journal
736:
729:
715:on 2012-06-02
711:
704:
697:
683:
682:Roger's world
679:
672:
658:
654:
648:
634:
630:
624:
610:on 2004-04-20
609:
605:
601:
594:
580:on 2008-04-13
579:
575:
571:
565:
561:
550:
547:
545:
542:
540:
537:
534:
531:
529:
526:
524:
521:
519:
516:
513:
510:
507:
504:
503:
482:
464:
458:
452:
447:
443:
435:
428:
425:
418:
412:
406:
400:
394:
393:
388:
385:
384:Shared memory
378:
371:
364:
361:
354:
350:
349:
341:
338:
334:
327:
320:
313:
310:
303:
302:
295:
293:
288:
282:
280:
272:
270:
266:
258:
250:
244:
238:
234:
223:
215:
209:
204:
202:
198:
194:
190:
185:
183:
179:
175:
171:
167:
163:
158:
156:
151:
149:
135:
131:
129:
118:
116:
112:
108:
104:
100:
92:
88:
86:
82:
79:
76:
74:
70:
67:
64:
60:
46:
42:
38:
36:
32:
28:
23:
1528:
1506:
860:. Retrieved
856:
834:. Retrieved
830:
754:
742:. Retrieved
738:
728:
717:. Retrieved
710:the original
696:
685:. Retrieved
681:
671:
660:. Retrieved
656:
647:
636:. Retrieved
632:
629:"Top / News"
623:
612:. Retrieved
608:the original
603:
593:
582:. Retrieved
578:the original
573:
564:
404:for sleeping
347:
336:
331:: Real-time
289:
283:
273:
251:
245:
239:
233:load average
230:
221:
205:
186:
174:Task Manager
159:
152:
145:
124:
103:task manager
98:
97:
915:File system
633:SourceForge
600:"About Top"
494:at the end.
398:for running
325:at the end.
201:fixed point
148:SourceForge
1546:Categories
1507:Categories
862:2024-02-11
836:2024-02-11
719:2013-06-10
687:2016-05-22
662:2016-05-22
638:2016-05-22
614:2016-05-22
584:2016-05-22
556:References
549:sar (Unix)
523:LatencyTOP
309:Process ID
261:buff/cache
184:commands.
182:topas_nmon
62:Written in
1367:Searching
1056:Processes
352:favored).
285:avail Mem
189:unbounded
176:utility.
155:procps-ng
111:Unix-like
78:Unix-like
1175:basename
744:13 March
604:Unix Top
574:Unix Top
544:PowerTOP
499:See also
442:debugger
410:for idle
348:niceness
333:priority
279:mebibyte
275:MiB Swap
257:mebibyte
195:with an
170:tasklist
168:has the
121:Overview
1280:strings
1200:dirname
1124:logname
1073:crontab
799:OpenBSD
782:FreeBSD
484:COMMAND
446:tracing
444:during
292:process
265:buffers
253:MiB Mem
247:%Cpu(s)
218:Example
178:IBM AIX
162:Solaris
52: (
1260:printf
1185:csplit
927:chattr
820:Manual
810:top(1)
803:Manual
793:top(1)
786:Manual
776:top(1)
528:mpstat
424:zombie
345:: The
317:: The
259:. The
203:math.
193:damped
1484:sleep
1438:strip
1418:ctags
1353:unset
1333:alias
1315:xargs
1295:troff
1255:patch
1250:paste
1225:iconv
1154:write
1144:uname
1047:umask
1037:touch
1027:split
1022:rmdir
997:mkdir
982:fuser
947:cksum
942:chgrp
937:chown
932:chmod
818:User
816:Linux
713:(PDF)
706:(PDF)
518:iftop
474:TIME+
466:TIME+
337:Lower
269:cache
241:Tasks
1530:List
1469:expr
1443:yacc
1428:make
1379:grep
1374:find
1358:wait
1348:test
1343:echo
1300:uniq
1285:tail
1275:sort
1265:read
1240:more
1230:join
1220:head
1215:fold
1195:diff
1180:comm
1139:tput
1134:talk
1129:mesg
1119:exit
1098:time
1088:nice
1083:kill
1042:type
977:file
901:Unix
746:2012
539:ntop
533:nmon
512:htop
506:Bmon
488:USER
478:TIME
460:%MEM
454:%CPU
422:for
374:VIRT
356:VIRT
319:user
315:USER
267:and
206:The
85:Type
54:1984
47:1984
1464:cal
1423:lex
1395:man
1270:sed
1190:cut
1170:awk
1149:who
1114:env
1032:tee
1012:pwd
1007:pax
952:cmp
922:cat
843:top
436:or
380:SHR
366:RES
305:PID
160:On
115:CPU
105:or
99:top
20:top
1548::
1479:od
1474:lp
1459:bc
1433:nm
1413:ar
1338:cd
1310:wc
1305:vi
1290:tr
1245:nl
1235:m4
1210:ex
1205:ed
1093:ps
1078:fg
1068:bg
1063:at
1017:rm
1002:mv
992:ls
987:ln
972:df
967:du
962:dd
957:cp
855:.
829:.
737:.
680:.
655:.
631:.
602:.
572:.
382::
368::
358::
343:NI
329:PR
307::
271:.
208:ps
893:e
886:t
879:v
865:.
845:.
839:.
748:.
722:.
690:.
665:.
641:.
617:.
587:.
492:+
448:.
438:t
430:T
420:Z
414:D
408:I
402:S
396:R
390:S
323:+
212:n
66:C
56:)
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.