{
    "componentChunkName": "component---src-templates-issues-tsx",
    "path": "/issues/57",
    "result": {"data":{"issuesJson":{"id":"281038c4-d591-5d53-9f81-5969aa281c54","title":"aristocratos/btop: 系统资源监视器显示处理器、内存、磁盘、网络和进程的使用情况和统计​​信息","number":57,"bodyHTML":"<div align=\"center\" dir=\"auto\">\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/a15b413168923d02e21292705ceaf86b92675f98e250c5c896a02ba7504a6eae/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f657279616a662f7475406d61696e2f696d672f696d6167655f32303234303432305f3231343430382e676966\"><img src=\"https://camo.githubusercontent.com/a15b413168923d02e21292705ceaf86b92675f98e250c5c896a02ba7504a6eae/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f657279616a662f7475406d61696e2f696d672f696d6167655f32303234303432305f3231343430382e676966\" width=\"100%\" height=\"3\" data-animated-image=\"\" data-canonical-src=\"https://cdn.jsdelivr.net/gh/eryajf/tu@main/img/image_20240420_214408.gif\" style=\"max-width: 100%; height: auto; max-height: 3px;\"></a><br><br></p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th align=\"right\">Repos</th>\n<th align=\"left\"><a href=\"https://github.com/aristocratos/btop\">aristocratos/btop</a></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td align=\"right\"><strong>Views</strong></td>\n<td align=\"left\"><a href=\"https://github.com/opsre/awesome-ops\"><img src=\"https://camo.githubusercontent.com/4e268fcc821ae13620b2d34bded3fa6b1cc5b7dd2833823c2ba4eac404942cc0/68747470733a2f2f76696577732e77686174696c656172656e65642e746f6461792f76696577732f6769746875622f61726973746f637261746f732f62746f702e737667\" alt=\"views\" data-canonical-src=\"https://views.whatilearened.today/views/github/aristocratos/btop.svg\" style=\"max-width: 100%;\"></a></td>\n</tr>\n<tr>\n<td align=\"right\"><strong>Stars</strong></td>\n<td align=\"left\"><a href=\"https://github.com/opsre/awesome-ops\"><img src=\"https://camo.githubusercontent.com/e27db9f0330f6bf9ba492d447d4ec27dd19c762a26a26265a97c6b182d35a63d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f61726973746f637261746f732f62746f703f636f6c6f723d663266303864266c6f676f3d556e64657274616c65266c6f676f436f6c6f723d656234363330\" alt=\"stars\" data-canonical-src=\"https://img.shields.io/github/stars/aristocratos/btop?color=f2f08d&amp;logo=Undertale&amp;logoColor=eb4630\" style=\"max-width: 100%;\"></a></td>\n</tr>\n<tr>\n<td align=\"right\"><strong>Forks</strong></td>\n<td align=\"left\"><a href=\"https://github.com/opsre/awesome-ops\"><img src=\"https://camo.githubusercontent.com/e4475692417dcb599c0dccd9a0d39c012d0c12eb22a4c1b3c568fa2cd9fcdec2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f61726973746f637261746f732f62746f703f636f6c6f723d626138366562266c6f676f3d48616e647368616b65266c6f676f436f6c6f723d656136616136\" alt=\"forks\" data-canonical-src=\"https://img.shields.io/github/forks/aristocratos/btop?color=ba86eb&amp;logo=Handshake&amp;logoColor=ea6aa6\" style=\"max-width: 100%;\"></a></td>\n</tr>\n<tr>\n<td align=\"right\"><strong>License</strong></td>\n<td align=\"left\"><a href=\"https://github.com/opsre/awesome-ops\"><img src=\"https://camo.githubusercontent.com/a28562c793dd32093d596237b9ab3c54c9eae49fcef8e4b5365bded5d69d69b3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f61726973746f637261746f732f62746f703f6c6f676f3d64617461253341696d616765253246706e672533426261736536342532436956424f5277304b47676f414141414e53556845556741414144414141414177434159414141425841766d48414141414358424957584d41414173544141414c457745416d70775941414144336b6c45515652346e4f335953557a5555426748384a726f57567255474a66456d3773584e63534446784d544c327069347348456778654e526f77586770455742445552522532424e414e4f4b4f4b36366f6f4b4a4742586545475263574163455646475152484677516d483525324630774861655748493944554455354c356b6e6568644f62377a66652532423139636e434a47495243516945596c514237594a4979474c38616f73756c565a36695246516a69474b6b7564576735614c6c704f70704e586e665071773555304459524a6d56786a4367464633424c755a476d416f5655694b4541726d583744375553677351706f72674761336748664b34483663754262435644334771683141352532424c6745253242467749656e514d306a6f446f66714c6f48564e7742796d384370546e416d327a51713073676478624964515a556c416b7150415a3664676a303541446f59526f6f66792532466f5869726f376b3551586a4c6f70677a4b69514e6c4c4461716f4967754577426a7a7150355066446a45394479495879493633464d547751464d43567271774e61763451666f52673538514625324266724d485172454b3844546f434d714e4179574e4866786d54526f4c4f726d5352566747744466714345715a4f4851727a6f34706243557341333431365169364551394b476a6345465267484f724f4b6e5536574162396247455459656b4b7843766a546167394534706a653534446b3551503862624d4859762532464333756541654a6b50304f4778422532424a70426e4172595238455951516e6f4e31414e4661426e5050356c385372736559514c303641646b30464a5938484f5761424d6c6541486a683068506f73497a6c6f3876304125324633345a694f6548726130714b52504d5653493774762532423932747725324676687855654252713456454c674d376642714b354770526d6f514c584e7075625475367a6f4e52706754386e5051627138347764253246494375767978694b4871694e41664933774d367549684271476b4c696977414f734b44714f68743749747239567938536a52424557667941627225324668523142667056514664484a42253246423268683778376a36517077435665655951326b72554235436c636a3641326d3067576a25324244306d4c34397a573563517943484c4e37726a6c6d6d6174457958582532464372547a412532466f51785a6b576c39474a5443566f25324279546a3837253242346769504b6376307149486f344156344430565a727251493334706e70524d36357875652532467a417265453425324654253246536f676c664542794d7369517441546c4c3352414a355948725378365a44665337307337754d486842705225324659423573305057366f455270316236253246667252684b3353444c35546965364f515548516c5133735644752532427a50636b397657453973747225324236496a533967486d5750616861444a25324277434b364e494242587348423948796b587378774470686c436d416476706c6162554a4e6e5a504239342532464e7436784f6538587a4562503257684d335741673147756236744825324233513150673337365239713475716c6e6f36676448476a444f5139306562303141484d3672596975554a314f713472344656756a35765239427a4d3957674e764f7977446869495951467667626366774166774d764863615067425041253246447948476a50624e394138616d6562636477416444354e6633373574787165774e5552656f797677424958594c645170576c6877465771745061435044334173467541535636717171496c62304a766b564331464c39576b4c55556c55574b337a585a4c46432532423125324642726f46746f364f7358497545594a5034447a7a5732594656316f4a614141414141456c46546b5375516d4343\" alt=\"license\" data-canonical-src=\"https://img.shields.io/github/license/aristocratos/btop?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAD3klEQVR4nO3YSUzUUBgH8JroWVrUGJfEm7sXNcSDFxMTL2pi4sHEgxeNRowXgpEWBDURR%2BNANOKOK66ooKJGBXeEGRcWAcEVFGQRHFwQmH5%2F0wHaeWHI9DUDU5L5knehdOb7zfe%2B19cnCJGIRCQiEYlQB7YJIyGL8aosulVZ6iRFQjiGKkudWg5aLlpOppNXnfPqw5U0DYRJmVxjCgFF3BLuZGmAoVUiKEArmX7D7USgsQporgGa3gHfK4H6cuBbCVD3Gqh1A5%2BLgE%2BFwIenQM0joDofqLoHVNwBym8CpTnAm2zQq0sgdxbIdQZUlAkqPAZ6dgj05ADoYRoofy%2FoXiro7k5QXjLopgzKiQNlLDaqoIguEwBjzqP5PfDjE9DyIXyI63FMTwQFMCVrqwNav4QfoRg58QF%2BfrMHQrEK8DToCMqNAyWNHfxmTRoLOrmSRVgGtDfqCEqZOHQrzo4pbCUsA3416Qi6EQ9KGjcEFRgHOrOKnU6WAb9bGETYekKxCvjTag9E4pje54Dk5QP8bbMHYv%2FC3ueAeJkP0OGxB%2BJpBnArYR8EYQQnoN1ANFaBnPP5l8SrseYQL06Adk0FJY8HOWaBMleAHjh0hPosIzlo8v0A%2F34ZiOeHra0qKRPMVSI7tv%2B92tw%2FvhxUeBRq4VELgM7fBqK5GpRmoQLXNpubTu6zoNRpgT8nPQbq84wd%2FICuvyxiKHqiNAfI3wM6uIhBqGkLiiwAOsKDqOht7Itr9Vy8SjRBEWfyAbr%2FhR1BfpVQFdHJB%2FB2hh7x7j6QpwCVeeYQ2krUB5Clcj6A2m0gWj%2BD0mL49zW5cQyCHLN7rjlmmatEyXX%2FCrTzA%2FoQxZkWl9GJTCVo%2ByTj87%2B4giPKcv0qIHo4AV4D0VZrrQI34pnpRM65xue%2FzAreE4%2FT%2FSoglfEByMsiQtATlL3RAJ5YHrSx6ZDfS70s7uMHhBpR%2FYB5s0PW6oERp1b6%2FfrRhK3SDL5Tie6OQUHQlQ3sVDu%2BzPck9vWE9str%2B6IjS9gHmWPahaDJ%2BwCK6NIBBXsHB9HykXsxwDphlCmAdvplabUJNnZPB94%2FNt6xOe8XzEbP2WhM3WAg1Gub6tH%2B3Q1Pg376R9q4uqlno6gdHGjDOQ90eb01AHM6rYiuUJ1Oq4r4FVuj5vR9BzM9WgNvOywDhiIYQFvgbcfwAfwMvHcaPgBPA%2FDyHGjPbN9A8amebcdwAdD5Nf375txqewNUReoyvwBIXYLdQpWlhwFWqtPaCPD3AsFuASV6qqqIlb0JvkVC1FL9WkLUUlUWK3zXZLFC%2B1%2FBroFto6OsXIuEYJP4DzzW2YFV1oJaAAAAAElFTkSuQmCC\" style=\"max-width: 100%;\"></a></td>\n</tr>\n<tr>\n<td align=\"right\"><strong>UpdatedAt</strong></td>\n<td align=\"left\"><a href=\"https://github.com/opsre/awesome-ops\"><img src=\"https://camo.githubusercontent.com/b5fa134a6b6d3ac6e4027ca23d903390169511187527718a03280a9ae2a2ee87/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f61726973746f637261746f732f62746f703f646973706c61795f74696d657374616d703d636f6d6d6974746572266c6f676f3d64617461253341696d616765253246706e672533426261736536342532436956424f5277304b47676f414141414e5355684555674141414234414141416543415941414141374d4b3669414141414358424957584d41414173544141414c457745416d7077594141414648556c45515652346e4c5658375539615678776d3236646c582532466468627825324232253246516e626b7655627264554151674a4a496655444e574454546d4f76314651554661504a346b7573725630314a7431734e70637453327533626f745a746d786439744a5346536f714b71494635625944464c436f76436c656673747a4a387758524c445a4c7a6e6b634f343535376e3364332532466e655a3472454f515a74315771462532423858467234253242664f4c4565326a6f59307a776638546f795a50766a45676b4c592532426b306d6d72584f36644b696e787a476b30666a5430782532425279723055716e6359637a4d317263347451253242497270324c4758646f344e4334567657715453373277716c632532427231334f527269364b6458646e624f484c6c776c7a4a70524b6e3657342532424b36706f4f434e6e494166486a253246253242776168495a4234764b6e715a6630714a704e49716c2532467638545530634e6c3572627963337730516e54703379324c54614a374d314e617844723266526e315370504736476961323174664533345463614f617931694d55564f5146624659714957536f31573854694156616e43306576584f4542375770313448466232327a453566714c4f433545524c515769644e614e49347545636339693768634a6c644868324e57725135674464624f6c7061756d49754c62326174415144506e7a3062384e6257636d785656524a33486d7870536377777a4f4a6d4b44524765384c6c435a444c4739673754496e5631516c376462586256316533675430574b697243466f6d6b5079767758466c5a474a4f6a563625324253743634757564445a4f55354555636f782532464d455144567674364d62634e3237593341797a687633737061557242365a3971724a534f3139657a6a387032704c426b4a792532426343484a7857493567573574636652527a31645531394766476b6f7539505a4f34736d52396a4746777065783444793362766e6d4b79706f74625531335669646a71595a68726a343972764d457425324625324659714c7a396430304e6a57253246637a67796f394f35317a7336614e6c6f354644747530445a675146686c47584a30644241446f4e6864367576703657686f617967374e394c564748386d443462253246486e667455516f4e4734764c51306769784d716c5725324234714f6a744e48446733723166365969525347785279375576714c62395534716b716e78504f4e7661356c447048723125324279794b524e4b57425a793565644d554842326d3572792532422532424551772532427a6766347a6f39253246306f634e3357527a4c4277344a2532424a7950574372716d4967475974554f735744346f785a46516f50556a4770564871493425324661666b51504336665a5165654d31253242764c7549516e6a754257514444437363726d485039656f4e5041744271664f6e5875614b25324268364a45624772732532427076764d6d78654962683836336162565065597953456f39464a48704e4d464a59253242503563575a6b6667374f3174537759436553514c54593345385130392532464256504a556c78516a7368543142736343593032723955445542667643484236367063665041336c794165336e6772332532463437584467614a7a736c7937787741364e5a746c555550437541487161536a5549502532427375653842525741432532464e6651374a5a505a35397330476a3756747049537a34685125324243706658474d4b685a63764c70554b7866574d386f68766637702532464f446a4842666356463849736b383267314648796b63564645253242555a414158343761452532464d6c34504f3530506e75683025324678346e6d637957507364774468427836436d6b4c562532466746446a594b784f4a4f4674623077517949684c39527943774b33414f664947703159464542686e4d4a634c525745624b644b516f55366e63545a6b494544696341792532463831645675454d3552775066657934784f7830496b25324649324e6e466b692532425761664f6f464959466367595a43797864376543556a626334416d46363566742532466b4d686b336f25324235686337734d4a79716a4a45477659466151464972375930775077384246415925324236253242766d6b3377367a7a5275444d6d5a5652736668385274413075455453443775434254364459514e36697665553066706b594c6a453671725672744f78654e4b553954484c5a4a396b4255324a427342685635416976422532466f4b61514e4b675043427744596149665a4334616454684f71463457454e56694c4a77566f586f62664c424b56773637414f6154734c6336355461564b32317651344c613939654b6359673576627873624f627a5451394e37554b4467554f3177446a6944494942736868357a746733396e514d4c535a4248344f7a424f55444551586d323036643366634c67737762585141345068634b336e6873775531427a3877765130395248472532466f597933656a6677424e6d746f59714c4130586741414141424a52553545726b4a676767253344253344266c6162656c3d557064617465644174\" alt=\"last-commit\" data-canonical-src=\"https://img.shields.io/github/last-commit/aristocratos/btop?display_timestamp=committer&amp;logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHUlEQVR4nLVX7U9aVxwm26dlX%2Fdhbx%2B2%2FQnbkvUbrdUAQgJJIfUDNWDTTmOv1FQUFaPJ4kusrV01Jt1sNpctS2u3botZtmxd9tJSFSoqKqIF5bYDFLCovClefstzJ8wXRLDZLznkcO4557n3d3%2FneZ4rEOQZt1WqF%2B8XFr4%2BfOLEe2joY0zwf8ToyZPvjEgkLY%2Bk0mmrXO6dKinxzGk0fjT0x%2BRyr0UqncYczM1rc4tQ%2BIrp2LGXdo4NC4VvWqTS72wqlc%2Br13ORri6KdXdnbOHLlwlzJpRKn6W4%2BK6poOCNnIAfHj%2F%2BwahIZB4vKnqZf0qJpNIql%2Fv8TU0cNl5rbyc3w0QnTp3y2LTaJ7M1NaxDr2fRn1SpPG6Gia21tfE34TcaOay1iMUVOQFbFYqIWSo1W8TiAVanC0evXOEB7Wp14HFb22zE5fqLOC5ERLQWidNaNI4uEcc9i7hcJldHh2NWrQ5gDdbOlpaumIuLb2atAQDPnz0b8NbWcmxVVRJ3HmxpScwwzOJmKDRGe8LlCZDLG9g7TInV1Ql7dbXbV1e3gT0WKirCFomkPyvwXFlZGJOjV6%2BSt64uudDZOU5EUcox%2FMEQDVvt6MbcN27Y3Ayzhv3spaUrB6Z9qrJSO19ezj8p2pLBkJy%2BcCHJxWI5gW5tcfRRz1dU19GfGkou9PZO4smR9jGFwpex4Dy3bvnmKypotbU13VidjqYZhrj49rvMEt%2F%2FYqLz9d00NjW%2Fczgyo9O51zs6aNlo5FDtu0DZgQFhlGXJ0dBADoNhd6uvp6Whoayg7N9LVGH8mD4b%2FHnftUQoNG4vLQ0gixMqlW%2B4qOjtNHDg3r1f6YiRSGxRy7UvqLb9U4qkqnxPONva5lDpHr1%2ByyKRNKWBZy5edMUHB2m5ry%2B%2BEQw%2Bzgf4zo9%2F0ocN3WRzLBw4J%2BJyPWCrqmIgGYtUOsWD4oxZFQoPUjGpVHqI4%2FafkQPC6fZQeeM1%2BvLuIQnjuBWQDDCscrmHP9eoNPAtBqfOnXuaK%2Bh6JEbGrs%2BpvvMmxeIbh863abVPeYySEo9FJHpNMFJY%2BP5cWZkfg7O1tSwYCeSQLTY3E8Q09%2FBVPJUlxQjshT1BscCY02r9UDUBfvCHB66pcfPA3lyAe3ngr3%2F47XDgaJzsly7xwA6NZtlUUPCuAHqaSjUIP%2Bsue8BRWAC%2FNfQ7JZPZ59s0Gj7VtpISz4hQ%2BCpfXGMKhZcvLpUKxfWM8ohvf7p%2FODjHBfcVF8Isk82g1FHykcVFE%2BUZAAX47aE%2FMl4PO50Pnuh0%2Fx4nmcyWPsdwDhBx6CmkLV%2FgFDjYKxOJOFtb0wQyIhL9RyCwK3AOfIGp1YFEBhnMJcLRWEbKdKQoU6ncTZkIEDicAy%2F81dVuEM5RwPfey4xOx0Ik%2FI2NnFki%2BWafOoFIYFcgYZCyxd7eCUjbc4AmF65ft%2FkMhk3o%2B5hc7sMJyqjJEGvYFaQFIr7Y0wPw8BFAY%2B6%2Bvmk3w6zzRuDMmZVRsfh8RtA0uETSD7uCBT6DYQN6iveU0fpkYLjE6qrVrtOxeNKU9THLZJ9kBU2JBsBhV5AivB%2FoKaQNKgPCBwDYaIfZC4adThOqF4WENViLJwVoXobfLBKVw67AOaTsLc65TaVK21vQ4La99eKcYg5vbxsbObzTQ9N7UKDgUO1wDjiDIIBshh5ztg39nQMLSZBH4OzBOUDEQXm206d3fcLgswbXQA4PhcK3nhswU1Bz8wvQ09RHG%2FoYy3ejfwBNmtoYqLA0XgAAAABJRU5ErkJggg%3D%3D&amp;label=UpdatedAt\" style=\"max-width: 100%;\"></a></td>\n</tr>\n<tr>\n<td align=\"right\"><strong>CreatedAt</strong></td>\n<td align=\"left\"><a href=\"https://github.com/opsre/awesome-ops\"><img src=\"https://camo.githubusercontent.com/13e99b54468fd9cc1fcfe92cbaac0feee7fec54a2fe1e69c16666c1009d0db23/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f637265617465642d61742f61726973746f637261746f732f62746f703f6c6f676f3d64617461253341696d616765253246706e672533426261736536342532436956424f5277304b47676f414141414e5355684555674141414234414141416543415941414141374d4b3669414141414358424957584d41414173544141414c457745416d7077594141414648556c45515652346e4c5658375539615678776d3236646c582532466468627825324232253246516e626b7655627264554151674a4a496655444e574454546d4f76314651554661504a346b7573725630314a7431734e70637453327533626f745a746d786439744a5346536f714b71494635625944464c436f76436c656673747a4a387758524c445a4c7a6e6b634f343535376e3364332532466e655a3472454f515a74315771462532423858467234253242664f4c4565326a6f59307a776638546f795a50766a45676b4c592532426b306d6d72584f36644b696e787a476b30666a5430782532425279723055716e6359637a4d317263347451253242497270324c4758646f344e4334567657715453373277716c632532427231334f527269364b6458646e624f484c6c776c7a4a70524b6e3657342532424b36706f4f434e6e494166486a253246253242776168495a4234764b6e715a6630714a704e49716c2532467638545530634e6c3572627963337730516e54703379324c54614a374d314e617844723266526e315370504736476961323174664533345463614f617931694d55564f5146624659714957536f31573854694156616e43306576584f4542375770313448466232327a453566714c4f433545524c515769644e614e49347545636339693768634a6c644868324e57725135674464624f6c7061756d49754c62326174415144506e7a3062384e6257636d785656524a33486d7870536377777a4f4a6d4b44524765384c6c435a444c4739673754496e5631516c376462586256316533675430574b697243466f6d6b5079767758466c5a474a4f6a563625324253743634757564445a4f55354555636f782532464d455144567674364d62634e3237593341797a687633737061557242365a3971724a534f3139657a6a387032704c426b4a792532426343484a7857493567573574636652527a31645531394766476b6f7539505a4f34736d52396a4746777065783444793362766e6d4b79706f74625531335669646a71595a68726a343972764d457425324625324659714c7a396430304e6a57253246637a67796f394f35317a7336614e6c6f354644747530445a675146686c47584a30644241446f4e6864367576703657686f617967374e394c564748386d443462253246486e667455516f4e4734764c51306769784d716c5725324234714f6a744e48446733723166365969525347785279375576714c62395534716b716e78504f4e7661356c447048723125324279794b524e4b57425a793565644d554842326d3572792532422532424551772532427a6766347a6f39253246306f634e3357527a4c4277344a2532424a7950574372716d4967475974554f735744346f785a46516f50556a4770564871493425324661666b51504336665a5165654d31253242764c7549516e6a754257514444437363726d485039656f4e5041744271664f6e5875614b25324268364a45624772732532427076764d6d78654962683836336162565065597953456f39464a48704e4d464a59253242503563575a6b6667374f3174537759436553514c54593345385130392532464256504a556c78516a7368543142736343593032723955445542667643484236367063665041336c794165336e6772332532463437584467614a7a736c7937787741364e5a746c555550437541487161536a5549502532427375653842525741432532464e6651374a5a505a35397330476a3756747049537a34685125324243706658474d4b685a63764c70554b7866574d386f68766637702532464f446a4842666356463849736b383267314648796b63564645253242555a414158343761452532464d6c34504f3530506e75683025324678346e6d637957507364774468427836436d6b4c562532466746446a594b784f4a4f4674623077517949684c39527943774b33414f664947703159464542686e4d4a634c525745624b644b516f55366e63545a6b494544696341792532463831645675454d3552775066657934784f7830496b25324649324e6e466b692532425761664f6f464959466367595a43797864376543556a626334416d46363566742532466b4d686b336f25324235686337734d4a79716a4a45477659466151464972375930775077384246415925324236253242766d6b3377367a7a5275444d6d5a5652736668385274413075455453443775434254364459514e36697665553066706b594c6a453671725672744f78654e4b553954484c5a4a396b4255324a427342685635416976422532466f4b61514e4b675043427744596149665a4334616454684f71463457454e56694c4a77566f586f62664c424b56773637414f6154734c6336355461564b32317651344c613939654b6359673576627873624f627a5451394e37554b4467554f3177446a6944494942736868357a746733396e514d4c535a4248344f7a424f55444551586d323036643366634c67737762585141345068634b336e6873775531427a3877765130395248472532466f597933656a6677424e6d746f59714c4130586741414141424a52553545726b4a676767253344253344266c6162656c3d437265617465644174\" alt=\"create-at\" data-canonical-src=\"https://img.shields.io/github/created-at/aristocratos/btop?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHUlEQVR4nLVX7U9aVxwm26dlX%2Fdhbx%2B2%2FQnbkvUbrdUAQgJJIfUDNWDTTmOv1FQUFaPJ4kusrV01Jt1sNpctS2u3botZtmxd9tJSFSoqKqIF5bYDFLCovClefstzJ8wXRLDZLznkcO4557n3d3%2FneZ4rEOQZt1WqF%2B8XFr4%2BfOLEe2joY0zwf8ToyZPvjEgkLY%2Bk0mmrXO6dKinxzGk0fjT0x%2BRyr0UqncYczM1rc4tQ%2BIrp2LGXdo4NC4VvWqTS72wqlc%2Br13ORri6KdXdnbOHLlwlzJpRKn6W4%2BK6poOCNnIAfHj%2F%2BwahIZB4vKnqZf0qJpNIql%2Fv8TU0cNl5rbyc3w0QnTp3y2LTaJ7M1NaxDr2fRn1SpPG6Gia21tfE34TcaOay1iMUVOQFbFYqIWSo1W8TiAVanC0evXOEB7Wp14HFb22zE5fqLOC5ERLQWidNaNI4uEcc9i7hcJldHh2NWrQ5gDdbOlpaumIuLb2atAQDPnz0b8NbWcmxVVRJ3HmxpScwwzOJmKDRGe8LlCZDLG9g7TInV1Ql7dbXbV1e3gT0WKirCFomkPyvwXFlZGJOjV6%2BSt64uudDZOU5EUcox%2FMEQDVvt6MbcN27Y3Ayzhv3spaUrB6Z9qrJSO19ezj8p2pLBkJy%2BcCHJxWI5gW5tcfRRz1dU19GfGkou9PZO4smR9jGFwpex4Dy3bvnmKypotbU13VidjqYZhrj49rvMEt%2F%2FYqLz9d00NjW%2Fczgyo9O51zs6aNlo5FDtu0DZgQFhlGXJ0dBADoNhd6uvp6Whoayg7N9LVGH8mD4b%2FHnftUQoNG4vLQ0gixMqlW%2B4qOjtNHDg3r1f6YiRSGxRy7UvqLb9U4qkqnxPONva5lDpHr1%2ByyKRNKWBZy5edMUHB2m5ry%2B%2BEQw%2Bzgf4zo9%2F0ocN3WRzLBw4J%2BJyPWCrqmIgGYtUOsWD4oxZFQoPUjGpVHqI4%2FafkQPC6fZQeeM1%2BvLuIQnjuBWQDDCscrmHP9eoNPAtBqfOnXuaK%2Bh6JEbGrs%2BpvvMmxeIbh863abVPeYySEo9FJHpNMFJY%2BP5cWZkfg7O1tSwYCeSQLTY3E8Q09%2FBVPJUlxQjshT1BscCY02r9UDUBfvCHB66pcfPA3lyAe3ngr3%2F47XDgaJzsly7xwA6NZtlUUPCuAHqaSjUIP%2Bsue8BRWAC%2FNfQ7JZPZ59s0Gj7VtpISz4hQ%2BCpfXGMKhZcvLpUKxfWM8ohvf7p%2FODjHBfcVF8Isk82g1FHykcVFE%2BUZAAX47aE%2FMl4PO50Pnuh0%2Fx4nmcyWPsdwDhBx6CmkLV%2FgFDjYKxOJOFtb0wQyIhL9RyCwK3AOfIGp1YFEBhnMJcLRWEbKdKQoU6ncTZkIEDicAy%2F81dVuEM5RwPfey4xOx0Ik%2FI2NnFki%2BWafOoFIYFcgYZCyxd7eCUjbc4AmF65ft%2FkMhk3o%2B5hc7sMJyqjJEGvYFaQFIr7Y0wPw8BFAY%2B6%2Bvmk3w6zzRuDMmZVRsfh8RtA0uETSD7uCBT6DYQN6iveU0fpkYLjE6qrVrtOxeNKU9THLZJ9kBU2JBsBhV5AivB%2FoKaQNKgPCBwDYaIfZC4adThOqF4WENViLJwVoXobfLBKVw67AOaTsLc65TaVK21vQ4La99eKcYg5vbxsbObzTQ9N7UKDgUO1wDjiDIIBshh5ztg39nQMLSZBH4OzBOUDEQXm206d3fcLgswbXQA4PhcK3nhswU1Bz8wvQ09RHG%2FoYy3ejfwBNmtoYqLA0XgAAAABJRU5ErkJggg%3D%3D&amp;label=CreatedAt\" style=\"max-width: 100%;\"></a></td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<a href=\"https://github.com/opsre/awesome-ops\">\n</a><p dir=\"auto\"><a href=\"https://github.com/opsre/awesome-ops\"><img src=\"https://camo.githubusercontent.com/b964a36ea4078c39f603d46a29436371c7541a2f26e0228d7b21b9d9805b43d3/68747470733a2f2f736f6369616c6966792e6769742e63692f6f707372652f617765736f6d652d6f70732f696d6167653f6465736372697074696f6e3d3126666f6e743d42697474657226666f726b733d31266973737565733d31266c616e67756167653d31266c6f676f3d6874747073253341253246253246617661746172732e67697468756275736572636f6e74656e742e636f6d25324675253246313838353638303230266e616d653d31266f776e65723d31267061747465726e3d436972637569742b426f6172642670756c6c733d31267374617267617a6572733d31267468656d653d4c69676874\" alt=\"\" data-canonical-src=\"https://socialify.git.ci/opsre/awesome-ops/image?description=1&amp;font=Bitter&amp;forks=1&amp;issues=1&amp;language=1&amp;logo=https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F188568020&amp;name=1&amp;owner=1&amp;pattern=Circuit+Board&amp;pulls=1&amp;stargazers=1&amp;theme=Light\" style=\"max-width: 100%;\"></a></p>\n<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/a15b413168923d02e21292705ceaf86b92675f98e250c5c896a02ba7504a6eae/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f657279616a662f7475406d61696e2f696d672f696d6167655f32303234303432305f3231343430382e676966\"><img src=\"https://camo.githubusercontent.com/a15b413168923d02e21292705ceaf86b92675f98e250c5c896a02ba7504a6eae/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f657279616a662f7475406d61696e2f696d672f696d6167655f32303234303432305f3231343430382e676966\" width=\"100%\" height=\"3\" data-animated-image=\"\" data-canonical-src=\"https://cdn.jsdelivr.net/gh/eryajf/tu@main/img/image_20240420_214408.gif\" style=\"max-width: 100%; height: auto; max-height: 3px;\"></a>\n</div>\n<h1 dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"Img/logo.png\"><img src=\"Img/logo.png\" alt=\"btop++\" style=\"max-width: 100%;\"></a></h1>\n<a href=\"https://repology.org/project/btop/versions\" rel=\"nofollow\">\n    <img src=\"https://camo.githubusercontent.com/c57e0fdf96fd53aea79dc450bd157cb48dec08206b098afda43f67e014048269/68747470733a2f2f7265706f6c6f67792e6f72672f62616467652f766572746963616c2d616c6c7265706f732f62746f702e737667\" alt=\"Packaging status\" align=\"right\" data-canonical-src=\"https://repology.org/badge/vertical-allrepos/btop.svg\" style=\"max-width: 100%;\">\n</a>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/e6d28433c0c1041770537fc7f5af3110f9d9cb0b8e8aded756769aebdba81135/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e75782d677265793f6c6f676f3d6c696e7578\"><img src=\"https://camo.githubusercontent.com/e6d28433c0c1041770537fc7f5af3110f9d9cb0b8e8aded756769aebdba81135/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e75782d677265793f6c6f676f3d6c696e7578\" alt=\"Linux\" data-canonical-src=\"https://img.shields.io/badge/-Linux-grey?logo=linux\" style=\"max-width: 100%;\"></a><br>\n<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/e3f5cc40287954bd7669e0fa45d81273536e73fc77f349d757d8532bb2d4e029/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4f53582d626c61636b3f6c6f676f3d6170706c65\"><img src=\"https://camo.githubusercontent.com/e3f5cc40287954bd7669e0fa45d81273536e73fc77f349d757d8532bb2d4e029/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4f53582d626c61636b3f6c6f676f3d6170706c65\" alt=\"macOS\" data-canonical-src=\"https://img.shields.io/badge/-OSX-black?logo=apple\" style=\"max-width: 100%;\"></a><br>\n<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/6b625780cbbd1b58f58dd748a8386586ca8fdb7bc4fd1dbc95e65e9e2958e88c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d467265654253442d7265643f6c6f676f3d66726565627364\"><img src=\"https://camo.githubusercontent.com/6b625780cbbd1b58f58dd748a8386586ca8fdb7bc4fd1dbc95e65e9e2958e88c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d467265654253442d7265643f6c6f676f3d66726565627364\" alt=\"FreeBSD\" data-canonical-src=\"https://img.shields.io/badge/-FreeBSD-red?logo=freebsd\" style=\"max-width: 100%;\"></a><br>\n<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/93230f052fdc9b66bb24e448898d39312bc1b26727d4f6361449d5157b46db0f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4e65744253442d626c61636b3f6c6f676f3d6e6574627364\"><img src=\"https://camo.githubusercontent.com/93230f052fdc9b66bb24e448898d39312bc1b26727d4f6361449d5157b46db0f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4e65744253442d626c61636b3f6c6f676f3d6e6574627364\" alt=\"NetBSD\" data-canonical-src=\"https://img.shields.io/badge/-NetBSD-black?logo=netbsd\" style=\"max-width: 100%;\"></a><br>\n<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/25ec9c2cc90e56027fc5dce88e9b5ca620828d62fdf55c36c3d56e1cc0550422/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4f70656e4253442d626c61636b3f6c6f676f3d6f70656e627364\"><img src=\"https://camo.githubusercontent.com/25ec9c2cc90e56027fc5dce88e9b5ca620828d62fdf55c36c3d56e1cc0550422/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4f70656e4253442d626c61636b3f6c6f676f3d6f70656e627364\" alt=\"OpenBSD\" data-canonical-src=\"https://img.shields.io/badge/-OpenBSD-black?logo=openbsd\" style=\"max-width: 100%;\"></a><br>\n<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/780da9df012c6bde7f45b4c359d9fc1cfb78164253f9a4d8b374f77e4f60f1ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f55736167652d53797374656d2532307265736f757263652532306d6f6e69746f722d79656c6c6f77\"><img src=\"https://camo.githubusercontent.com/780da9df012c6bde7f45b4c359d9fc1cfb78164253f9a4d8b374f77e4f60f1ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f55736167652d53797374656d2532307265736f757263652532306d6f6e69746f722d79656c6c6f77\" alt=\"Usage\" data-canonical-src=\"https://img.shields.io/badge/Usage-System%20resource%20monitor-yellow\" style=\"max-width: 100%;\"></a><br>\n<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/be05e99cc6d45a95a9517c4a53042a902a4186c1627c7de1a7643df4a8414f6c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6370702d6325324225324232302d677265656e\"><img src=\"https://camo.githubusercontent.com/be05e99cc6d45a95a9517c4a53042a902a4186c1627c7de1a7643df4a8414f6c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6370702d6325324225324232302d677265656e\" alt=\"c++20\" data-canonical-src=\"https://img.shields.io/badge/cpp-c%2B%2B20-green\" style=\"max-width: 100%;\"></a><br>\n<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://camo.githubusercontent.com/039d03e2c08f32fa7cf11931df21def697fc1e02986f36792b7b92ed7cc2265b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f61726973746f637261746f732f62746f703f6c6162656c3d72656c65617365\"><img src=\"https://camo.githubusercontent.com/039d03e2c08f32fa7cf11931df21def697fc1e02986f36792b7b92ed7cc2265b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f61726973746f637261746f732f62746f703f6c6162656c3d72656c65617365\" alt=\"latest_release\" data-canonical-src=\"https://img.shields.io/github/v/tag/aristocratos/btop?label=release\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://paypal.me/aristocratos\" rel=\"nofollow\"><img src=\"https://camo.githubusercontent.com/c54890188ab5353a1415d5e9520fd2bed44d3d6abc009d67d5c2116dd25c9d43/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d446f6e6174652d79656c6c6f773f6c6f676f3d70617970616c\" alt=\"Donate\" data-canonical-src=\"https://img.shields.io/badge/-Donate-yellow?logo=paypal\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://github.com/sponsors/aristocratos\"><img src=\"https://camo.githubusercontent.com/cd8550cfa8c7a0b4cf626d76089623a2d74e4f25eeb888b85cb48a7ff0fb45f3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d53706f6e736f722d7265643f6c6f676f3d676974687562\" alt=\"Sponsor\" data-canonical-src=\"https://img.shields.io/badge/-Sponsor-red?logo=github\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://ko-fi.com/aristocratos\" rel=\"nofollow\"><img src=\"https://camo.githubusercontent.com/a895a4ef87779e34e10a19eb1f2660fb8bfe197abe5a9c4e8cc2bf51ab1a5390/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4275792532306d6525323061253230436f666665652d677265793f6c6f676f3d4b6f2d6669\" alt=\"Coffee\" data-canonical-src=\"https://img.shields.io/badge/-Buy%20me%20a%20Coffee-grey?logo=Ko-fi\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://snapcraft.io/btop\" rel=\"nofollow\"><img src=\"https://camo.githubusercontent.com/b88772a4b6b7c82ffd182bd49512ffeef0fb622f14abe0c2f10c555230cec3a5/68747470733a2f2f736e617063726166742e696f2f62746f702f62616467652e737667\" alt=\"btop\" data-canonical-src=\"https://snapcraft.io/btop/badge.svg\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-linux.yml\"><img src=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-linux.yml/badge.svg\" alt=\"Continuous Build Linux\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-macos.yml\"><img src=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-macos.yml/badge.svg\" alt=\"Continuous Build macOS\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-freebsd.yml\"><img src=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-freebsd.yml/badge.svg\" alt=\"Continuous Build FreeBSD\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-netbsd.yml\"><img src=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-netbsd.yml/badge.svg\" alt=\"Continuous Build NetBSD\" style=\"max-width: 100%;\"></a><br>\n<a href=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-openbsd.yml\"><img src=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-openbsd.yml/badge.svg\" alt=\"Continuous Build OpenBSD\" style=\"max-width: 100%;\"></a></p>\n<h2 dir=\"auto\">Index</h2>\n<ul dir=\"auto\">\n<li><a href=\"#news\">News</a></li>\n<li><a href=\"#documents\">Documents</a></li>\n<li><a href=\"#description\">Description</a></li>\n<li><a href=\"#features\">Features</a></li>\n<li><a href=\"#themes\">Themes</a></li>\n<li><a href=\"#support-and-funding\">Support and funding</a></li>\n<li><a href=\"#prerequisites\">Prerequisites</a> (Read this if you are having issues!)</li>\n<li><a href=\"#screenshots\">Screenshots</a></li>\n<li><a href=\"#help-menu\">Keybindings</a></li>\n<li><a href=\"#installation\">Installation Linux/macOS</a></li>\n<li><a href=\"#compilation-linux\">Compilation Linux</a></li>\n<li><a href=\"#compilation-macos-osx\">Compilation macOS</a></li>\n<li><a href=\"#compilation-freebsd\">Compilation FreeBSD</a></li>\n<li><a href=\"#compilation-netbsd\">Compilation NetBSD</a></li>\n<li><a href=\"#compilation-openbsd\">Compilation OpenBSD</a></li>\n<li><a href=\"#gpu-compatibility\">GPU compatibility</a></li>\n<li><a href=\"#installing-the-snap\">Installing the snap</a></li>\n<li><a href=\"#configurability\">Configurability</a></li>\n<li><a href=\"#license\">License</a></li>\n</ul>\n<h2 dir=\"auto\">News</h2>\n<h5 dir=\"auto\">22 September 2024</h5>\n<p dir=\"auto\">Btop release v1.4.0</p>\n<p dir=\"auto\">Intel GPU support added, note that only GPU utilization, power usage and clock speed available to monitor. Thanks to <a href=\"https://github.com/bjia56\">@bjia56</a> for contributions.</p>\n<p dir=\"auto\">NetBSD support added. Thanks to <a href=\"https://github.com/fraggerfox\">@fraggerfox</a> for contributions.</p>\n<p dir=\"auto\">See <a href=\"CHANGELOG.md\">CHANGELOG.md</a> and latest <a href=\"https://github.com/aristocratos/btop/releases/latest\">release</a> for detailed list of new features, bug fixes and new themes.</p>\n<h5 dir=\"auto\">7 January 2024</h5>\n<p dir=\"auto\">Btop release v1.3.0</p>\n<p dir=\"auto\">Big release with GPU support added for Linux and platform support for OpenBSD. Big thanks to <a href=\"https://github.com/romner-set\">@romner-set</a> (GPU support) and <a href=\"https://github.com/joske\">@joske</a> (OpenBSD support) for contributions.<br>\nAnd a multitude of bugfixes and small changes, see <a href=\"CHANGELOG.md\">CHANGELOG.md</a> and latest <a href=\"https://github.com/aristocratos/btop/releases/latest\">release</a> for detailed list and attributions.</p>\n<p dir=\"auto\">See news entry below for more information regarding GPU support.</p>\n<h5 dir=\"auto\">25 November 2023</h5>\n<p dir=\"auto\">GPU monitoring added for Linux!</p>\n<p dir=\"auto\">Compile from git main to try it out.</p>\n<p dir=\"auto\">Use keys <code class=\"notranslate\">5</code>, <code class=\"notranslate\">6</code>, <code class=\"notranslate\">7</code> and <code class=\"notranslate\">0</code> to show/hide the gpu monitoring boxes. <code class=\"notranslate\">5</code> = Gpu 1, <code class=\"notranslate\">6</code> = Gpu 2, etc.</p>\n<p dir=\"auto\">Gpu stats/graphs can also be displayed in the \"Cpu box\" (not as verbose), see the cpu options menu for info and configuration.</p>\n<p dir=\"auto\">Note that the binaries provided on the release page (when released) and the continuous builds will not have gpu support enabled.</p>\n<p dir=\"auto\">Because the GPU support relies on loading of dynamic gpu libraries, gpu support will not work when also static linking.</p>\n<p dir=\"auto\">See <a href=\"#compilation-linux\">Compilation Linux</a> for more info on how to compile with gpu monitoring support.</p>\n<p dir=\"auto\">Many thanks to <a href=\"https://github.com/romner-set\">@romner-set</a> who wrote the vast majority of the implementation for GPU support.</p>\n<p dir=\"auto\">Big update with version bump to 1.3 coming soon.</p>\n<h5 dir=\"auto\">28 August 2022</h5>\n<p dir=\"auto\"><a href=\"https://github.com/aristocratos/btop4win\"><img src=\"https://github.com/aristocratos/btop4win/raw/master/Img/logo.png\" alt=\"btop4win\" style=\"max-width: 100%;\"></a></p>\n<p dir=\"auto\">First release of btop4win available at <a href=\"https://github.com/aristocratos/btop4win\">https://github.com/aristocratos/btop4win</a></p>\n<details>\n<summary>More...</summary>\n<h5 dir=\"auto\">16 January 2022</h5>\n<p dir=\"auto\">Release v1.2.0 with FreeBSD support. No release binaries for FreeBSD provided as of yet.</p>\n<p dir=\"auto\">Again a big thanks to <a href=\"https://github.com/joske\">@joske</a> for his porting efforts!</p>\n<p dir=\"auto\">Since compatibility with Linux, macOS and FreeBSD are done, the focus going forward will be on new features like GPU monitoring.</p>\n<h5 dir=\"auto\">13 November 2021</h5>\n<p dir=\"auto\">Release v1.1.0 with macOS support. Binaries in <a href=\"https://github.com/aristocratos/btop/actions/workflows/continuous-build-macos.yml\">continuous-build-macos</a> are only x86 for now.<br>\nmacOS binaries + installer are included for both x86 and ARM64 (Apple Silicon) in the releases.</p>\n<p dir=\"auto\">Big thank you to <a href=\"https://github.com/joske\">@joske</a> who wrote the vast majority of the implementation!</p>\n<h5 dir=\"auto\">30 October 2021</h5>\n<p dir=\"auto\">Work on the OSX [macOS] and FreeBSD branches, both initiated and mostly worked on by <a href=\"https://github.com/joske\">@joske</a>, will likely be completed in the coming weeks.<br>\nThe OSX [macOS] branch has some memory leaks that needs to be sorted out and both have some issues with the processes cpu usage calculation and other smaller issues that needs fixing.</p>\n<p dir=\"auto\">If you want to help out, test for bugs/fix bugs or just try out the branches:</p>\n<p dir=\"auto\"><strong>macOS / OSX</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Install and use Homebrew or MacPorts package managers for easy dependency installation\nbrew install coreutils make gcc@11 lowdown\ngit clone https://github.com/aristocratos/btop.git\ncd btop\ngit checkout OSX\ngmake\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> Install and use Homebrew or MacPorts package managers for easy dependency installation</span>\nbrew install coreutils make gcc@11 lowdown\ngit clone https://github.com/aristocratos/btop.git\n<span class=\"pl-c1\">cd</span> btop\ngit checkout OSX\ngmake</pre></div>\n<p dir=\"auto\"><strong>FreeBSD</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo pkg install gmake gcc11 coreutils git lowdown\ngit clone https://github.com/aristocratos/btop.git\ncd btop\ngit checkout freebsd\ngmake\"><pre class=\"notranslate\">sudo pkg install gmake gcc11 coreutils git lowdown\ngit clone https://github.com/aristocratos/btop.git\n<span class=\"pl-c1\">cd</span> btop\ngit checkout freebsd\ngmake</pre></div>\n<p dir=\"auto\">Note that GNU make (<code class=\"notranslate\">gmake</code>) is recommended but not required for macOS/OSX but it is required on FreeBSD.</p>\n<h5 dir=\"auto\">6 October 2021</h5>\n<p dir=\"auto\">macOS development have been started by <a href=\"https://github.com/joske\">@joske</a>, big thanks :)<br>\nSee branch <a href=\"https://github.com/aristocratos/btop/tree/OSX\">OSX</a> for current progress.</p>\n<h5 dir=\"auto\">18 September 2021</h5>\n<p dir=\"auto\">The Linux version of btop++ is complete. Released as version 1.0.0</p>\n<p dir=\"auto\">I will be providing statically compiled binaries for a range of architectures in every release for those having problems compiling.</p>\n<p dir=\"auto\">For compilation GCC 11 is required.</p>\n<p dir=\"auto\">Please report any bugs to the <a href=\"https://github.com/aristocratos/btop/issues/new?assignees=aristocratos&amp;labels=bug&amp;template=bug_report.md&amp;title=%5BBUG%5D\">Issues</a> page.</p>\n<p dir=\"auto\">The development plan right now:</p>\n<ul dir=\"auto\">\n<li>1.1.0 macOS [OSX] support</li>\n<li>1.2.0 FreeBSD support</li>\n<li>1.3.0 Support for GPU monitoring</li>\n<li>1.X.0 Other platforms and features...</li>\n</ul>\n<p dir=\"auto\">Windows support is not in the plans as of now, but if anyone else wants to take it on, I will try to help.</p>\n<h5 dir=\"auto\">5 May 2021</h5>\n<p dir=\"auto\">This project is gonna take some time until it has complete feature parity with bpytop, since all system information gathering will have to be written from scratch without any external libraries.<br>\nAnd will need some help in the form of code contributions to get complete support for BSD and macOS/OSX.</p>\n</details>\n<h2 dir=\"auto\">Documents</h2>\n<p dir=\"auto\"><strong><a href=\"CHANGELOG.md\">CHANGELOG.md</a></strong></p>\n<p dir=\"auto\"><strong><a href=\"CONTRIBUTING.md\">CONTRIBUTING.md</a></strong></p>\n<p dir=\"auto\"><strong><a href=\"CODE_OF_CONDUCT.md\">CODE_OF_CONDUCT.md</a></strong></p>\n<h2 dir=\"auto\">Description</h2>\n<p dir=\"auto\">Resource monitor that shows usage and stats for processor, memory, disks, network and processes.</p>\n<p dir=\"auto\">C++ version and continuation of <a href=\"https://github.com/aristocratos/bashtop\">bashtop</a> and <a href=\"https://github.com/aristocratos/bpytop\">bpytop</a>.</p>\n<h2 dir=\"auto\">Features</h2>\n<ul dir=\"auto\">\n<li>Easy to use, with a game inspired menu system.</li>\n<li>Full mouse support, all buttons with a highlighted key is clickable and mouse scroll works in process list and menu boxes.</li>\n<li>Fast and responsive UI with UP, DOWN keys process selection.</li>\n<li>Function for showing detailed stats for selected process.</li>\n<li>Ability to filter processes.</li>\n<li>Easy switching between sorting options.</li>\n<li>Tree view of processes.</li>\n<li>Send any signal to selected process.</li>\n<li>UI menu for changing all config file options.</li>\n<li>Auto scaling graph for network usage.</li>\n<li>Shows IO activity and speeds for disks.</li>\n<li>Battery meter</li>\n<li>Selectable symbols for the graphs.</li>\n<li>Custom presets</li>\n<li>And more...</li>\n</ul>\n<h2 dir=\"auto\">Themes</h2>\n<p dir=\"auto\">Btop++ uses the same theme files as bpytop and bashtop (some color values missing in bashtop themes) .</p>\n<p dir=\"auto\">See <a href=\"https://github.com/aristocratos/btop/tree/main/themes\">themes</a> folder for available themes.</p>\n<p dir=\"auto\">The <code class=\"notranslate\">make install</code> command places the default themes in <code class=\"notranslate\">[$PREFIX or /usr/local]/share/btop/themes</code>.<br>\nUser created themes should be placed in <code class=\"notranslate\">$XDG_CONFIG_HOME/btop/themes</code> or <code class=\"notranslate\">$HOME/.config/btop/themes</code>.</p>\n<p dir=\"auto\">Let me know if you want to contribute with new themes.</p>\n<h2 dir=\"auto\">Support and funding</h2>\n<p dir=\"auto\">You can sponsor this project through github, see <a href=\"https://github.com/sponsors/aristocratos\">my sponsors page</a> for options.</p>\n<p dir=\"auto\">Or donate through <a href=\"https://paypal.me/aristocratos\" rel=\"nofollow\">paypal</a> or <a href=\"https://ko-fi.com/aristocratos\" rel=\"nofollow\">ko-fi</a>.</p>\n<p dir=\"auto\">Any support is greatly appreciated!</p>\n<h2 dir=\"auto\">Prerequisites</h2>\n<p dir=\"auto\">For best experience, a terminal with support for:</p>\n<ul dir=\"auto\">\n<li>24-bit truecolor (<a href=\"https://github.com/termstandard/colors\">See list of terminals with truecolor support</a>)</li>\n<li>256-color terminals are supported through 24-bit to 256-color conversion when setting \"truecolor\" to False in the options or with \"-lc/--low-color\" arguments.</li>\n<li>16 color TTY mode will be activated if a real tty device is detected. Can be forced with \"-t/--tty_on\" arguments.</li>\n<li>Wide characters (Are sometimes problematic in web-based terminals)</li>\n</ul>\n<p dir=\"auto\">Also needs a UTF8 locale and a font that covers:</p>\n<ul dir=\"auto\">\n<li>Unicode Block “Braille Patterns” U+2800 - U+28FF (Not needed in TTY mode or with graphs set to type: block or tty.)</li>\n<li>Unicode Block “Geometric Shapes” U+25A0 - U+25FF</li>\n<li>Unicode Block \"Box Drawing\" and \"Block Elements\" U+2500 - U+259F</li>\n</ul>\n<h3 dir=\"auto\"><strong>Optional Dependencies (Needed for GPU monitoring) (Only Linux)</strong></h3>\n<p dir=\"auto\">GPU monitoring also requires a btop binary built with GPU support (<code class=\"notranslate\">GPU_SUPPORT=true</code> flag).</p>\n<p dir=\"auto\">See <a href=\"#gpu-compatibility\">GPU compatibility</a> section for more about compiling with GPU support.</p>\n<ul dir=\"auto\">\n<li><strong>NVIDIA</strong></li>\n</ul>\n<p dir=\"auto\">If you have an NVIDIA GPU you must use an official NVIDIA driver, both the closed-source and open-source ones have been verified to work.</p>\n<p dir=\"auto\">In addition to that you must also have the nvidia-ml dynamic library installed, which should be included with the driver package of your distribution.</p>\n<ul dir=\"auto\">\n<li><strong>AMD</strong></li>\n</ul>\n<p dir=\"auto\">If you have an AMD GPU <code class=\"notranslate\">rocm_smi_lib</code> is required, which may or may not be packaged for your distribution.</p>\n<ul dir=\"auto\">\n<li><strong>INTEL</strong></li>\n</ul>\n<p dir=\"auto\">Requires a working C compiler if compiling from source - tested with GCC12 and Clang16.</p>\n<p dir=\"auto\">Also requires the user to have permission to read from SYSFS.</p>\n<p dir=\"auto\">Can be set with <code class=\"notranslate\">make setcap</code> (preferred) or <code class=\"notranslate\">make setuid</code> or by running btop with <code class=\"notranslate\">sudo</code> or equivalent.</p>\n<h3 dir=\"auto\"><strong>Notice (Text rendering issues)</strong></h3>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\">If you are having problems with the characters in the graphs not looking like they do in the screenshots, it's likely a problem with your systems configured fallback font not having support for braille characters.</p>\n</li>\n<li>\n<p dir=\"auto\">See <a href=\"https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/Terminus/TerminessNerdFontMono-Regular.ttf\">Terminess Powerline</a> for an example of a font that includes the braille symbols.</p>\n</li>\n<li>\n<p dir=\"auto\">See comments by <a class=\"user-mention notranslate\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/sgleizes/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"https://github.com/sgleizes\">@sgleizes</a> <a href=\"https://github.com/aristocratos/bpytop/issues/100#issuecomment-684036827\" data-hovercard-type=\"issue\" data-hovercard-url=\"/aristocratos/bpytop/issues/100/hovercard\">link</a> and <a class=\"user-mention notranslate\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/XenHat/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"https://github.com/XenHat\">@XenHat</a> <a href=\"https://github.com/aristocratos/bpytop/issues/100#issuecomment-691585587\" data-hovercard-type=\"issue\" data-hovercard-url=\"/aristocratos/bpytop/issues/100/hovercard\">link</a> in issue <a class=\"issue-link js-issue-link\" data-error-text=\"Failed to load title\" data-id=\"3080724253\" data-permission-text=\"Title is private\" data-url=\"https://github.com/awesome-ops/awesome-ops.github.io/issues/100\" data-hovercard-type=\"issue\" data-hovercard-url=\"/awesome-ops/awesome-ops.github.io/issues/100/hovercard\" href=\"https://github.com/awesome-ops/awesome-ops.github.io/issues/100\">#100</a> for possible solutions.</p>\n</li>\n<li>\n<p dir=\"auto\">If text is misaligned and you use Konsole or Yakuake, turning off \"Bi-Directional text rendering\" is a possible fix.</p>\n</li>\n<li>\n<p dir=\"auto\">Characters clipping into each other or text/border misalignments are not bugs caused by btop, but most likely a fontconfig or terminal problem where the braille characters making up the graphs aren't rendered correctly.</p>\n</li>\n<li>\n<p dir=\"auto\">Look to the creators of the terminal emulator you use to fix these issues if the previously mentioned fixes don't work for you.</p>\n</li>\n</ul>\n<h2 dir=\"auto\">Screenshots</h2>\n<h4 dir=\"auto\">Main UI showing details for a selected process</h4>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"Img/normal.png\"><img src=\"Img/normal.png\" alt=\"Screenshot 1\" style=\"max-width: 100%;\"></a></p>\n<h4 dir=\"auto\">Main UI in TTY mode</h4>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"Img/tty.png\"><img src=\"Img/tty.png\" alt=\"Screenshot 2\" style=\"max-width: 100%;\"></a></p>\n<h4 dir=\"auto\">Main UI with custom options</h4>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"Img/alt.png\"><img src=\"Img/alt.png\" alt=\"Screenshot 3\" style=\"max-width: 100%;\"></a></p>\n<h4 dir=\"auto\">Main-menu</h4>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"Img/main-menu.png\"><img src=\"Img/main-menu.png\" alt=\"Screenshot 3\" style=\"max-width: 100%;\"></a></p>\n<h4 dir=\"auto\">Options-menu</h4>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"Img/options-menu.png\"><img src=\"Img/options-menu.png\" alt=\"Screenshot 4\" style=\"max-width: 100%;\"></a></p>\n<h4 dir=\"auto\">Help-menu</h4>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"Img/help-menu.png\"><img src=\"Img/help-menu.png\" alt=\"Screenshot 5\" style=\"max-width: 100%;\"></a></p>\n<h2 dir=\"auto\">Installation</h2>\n<p dir=\"auto\"><strong>Binaries for Linux are statically compiled with musl and works on kernel 2.6.39 and newer</strong></p>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Download btop-(VERSION)-(ARCH)-(PLATFORM).tbz from <a href=\"https://github.com/aristocratos/btop/releases/latest\">latest release</a> and unpack to a new folder</strong></p>\n<p dir=\"auto\"><strong>Notice! Use x86_64 for 64-bit x86 systems, i486 and i686 are 32-bit!</strong></p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install (from created folder)</strong></p>\n<ul dir=\"auto\">\n<li><strong>Run:</strong></li>\n</ul>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# use &quot;make install PREFIX=/target/dir&quot; to set target, default: /usr/local\n# only use &quot;sudo&quot; when installing to a NON user owned directory\nsudo make install\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> use \"make install PREFIX=/target/dir\" to set target, default: /usr/local</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> only use \"sudo\" when installing to a NON user owned directory</span>\nsudo make install</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>(Optional/Required for Intel GPU) Set extended capabilities or suid bit to btop</strong></p>\n<p dir=\"auto\">Enables signal sending to any process without starting with <code class=\"notranslate\">sudo</code> and can prevent /proc read permissions problems on some systems.</p>\n<p dir=\"auto\">Is required for Intel GPU support.</p>\n<ul dir=\"auto\">\n<li><strong>Run:</strong></li>\n</ul>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# run after make install and use same PREFIX if any was used at install\nsudo make setcap\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> run after make install and use same PREFIX if any was used at install</span>\nsudo make setcap</pre></div>\n<ul dir=\"auto\">\n<li><strong>or</strong></li>\n</ul>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# run after make install and use same PREFIX if any was used at install\n# set SU_USER and SU_GROUP to select user and group, default is root:root\nsudo make setuid\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> run after make install and use same PREFIX if any was used at install</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> set SU_USER and SU_GROUP to select user and group, default is root:root</span>\nsudo make setuid</pre></div>\n</li>\n</ol>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<ul dir=\"auto\">\n<li><strong>Run:</strong></li>\n</ul>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo make uninstall\"><pre class=\"notranslate\">sudo make uninstall</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Show help</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"make help\"><pre class=\"notranslate\">make <span class=\"pl-c1\">help</span></pre></div>\n</li>\n</ul>\n<p dir=\"auto\"><strong>Binary release (from native os repo)</strong></p>\n<ul dir=\"auto\">\n<li><strong>openSUSE</strong>\n<ul dir=\"auto\">\n<li><strong>Tumbleweed:</strong>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo zypper in btop\"><pre class=\"notranslate\">sudo zypper <span class=\"pl-k\">in</span> btop</pre></div>\n</li>\n<li>For all other versions, see <a href=\"https://software.opensuse.org/package/btop\" rel=\"nofollow\">openSUSE Software: btop</a></li>\n</ul>\n</li>\n<li><strong>Fedora</strong>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo dnf install btop\"><pre class=\"notranslate\">sudo dnf install btop</pre></div>\n</li>\n<li><strong>RHEL/AlmaLinux 8+</strong>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo dnf install epel-release\nsudo dnf install btop\"><pre class=\"notranslate\">sudo dnf install epel-release\nsudo dnf install btop</pre></div>\n</li>\n<li><strong>FreeBSD</strong>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\" pkg install btop\"><pre class=\"notranslate\"> pkg install btop</pre></div>\n</li>\n<li><strong>NetBSD</strong>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\" pkg_add btop\"><pre class=\"notranslate\"> pkg_add btop</pre></div>\n</li>\n</ul>\n<p dir=\"auto\"><strong>Binary release on Homebrew (macOS (x86_64 &amp; ARM64) / Linux (x86_64))</strong></p>\n<ul dir=\"auto\">\n<li><strong><a href=\"https://formulae.brew.sh/formula/btop\" rel=\"nofollow\">Homebrew</a></strong>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"brew install btop\"><pre class=\"notranslate\">brew install btop</pre></div>\n</li>\n</ul>\n<h2 dir=\"auto\">Compilation Linux</h2>\n<p dir=\"auto\">Requires at least GCC 11 or Clang 16.</p>\n<p dir=\"auto\">The makefile also needs GNU coreutils and <code class=\"notranslate\">sed</code> (should already be installed on any modern distribution).</p>\n<h3 dir=\"auto\">GPU compatibility</h3>\n<p dir=\"auto\">Btop++ supports Nvidia and AMD GPUs and Intel IGPUs out of the box on Linux x86_64, provided you have the correct drivers and libraries.</p>\n<p dir=\"auto\">Gpu support for Nvidia or AMD will not work when static linking glibc (or musl, etc.)!</p>\n<p dir=\"auto\">For x86_64 Linux the flag <code class=\"notranslate\">GPU_SUPPORT</code> is automatically set to <code class=\"notranslate\">true</code>, to manually disable gpu support set the flag to false, like:</p>\n<p dir=\"auto\"><code class=\"notranslate\">make GPU_SUPPORT=false</code> (or <code class=\"notranslate\">cmake -DBTOP_GPU=false</code> with CMake)</p>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>NVIDIA</strong></p>\n<p dir=\"auto\">You must use an official NVIDIA driver, both the closed-source and <a href=\"https://github.com/NVIDIA/open-gpu-kernel-modules\">open-source</a> ones have been verified to work.</p>\n<p dir=\"auto\">In addition to that you must also have the <code class=\"notranslate\">nvidia-ml</code> dynamic library installed, which should be included with the driver package of your distribution.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>AMD</strong></p>\n<p dir=\"auto\">AMDGPU data is queried using the <a href=\"https://github.com/rocm/rocm_smi_lib\">ROCm SMI</a> library, which may or may not be packaged for your distribution. If your distribution doesn't provide a package, btop++ is statically linked to ROCm SMI with the <code class=\"notranslate\">RSMI_STATIC=true</code> make flag.</p>\n<p dir=\"auto\">This flag expects the ROCm SMI source code in <code class=\"notranslate\">lib/rocm_smi_lib</code>, and compilation will fail if it's not there. The latest tested version is 5.6.x, which can be obtained with the following command:</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/rocm/rocm_smi_lib.git --depth 1 -b rocm-5.6.x lib/rocm_smi_lib\"><pre class=\"notranslate\">git clone https://github.com/rocm/rocm_smi_lib.git --depth 1 -b rocm-5.6.x lib/rocm_smi_lib</pre></div>\n</li>\n</ul>\n<details>\n<summary>\n<h3 dir=\"auto\">With Make</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install dependencies (example for Ubuntu 21.04 Hirsute)</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo apt install coreutils sed git build-essential gcc-11 g++-11 lowdown\"><pre class=\"notranslate\">sudo apt install coreutils sed git build-essential gcc-11 g++-11 lowdown</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git\ncd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git\n<span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"make\"><pre class=\"notranslate\">make</pre></div>\n<p dir=\"auto\">Options for make:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">VERBOSE=true</code></td>\n<td>To display full compiler/linker commands</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STATIC=true</code></td>\n<td>For static compilation</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">QUIET=true</code></td>\n<td>For less verbose output</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STRIP=true</code></td>\n<td>To force stripping of debug symbols (adds <code class=\"notranslate\">-s</code> linker flag)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">DEBUG=true</code></td>\n<td>Sets OPTFLAGS to <code class=\"notranslate\">-O0 -g</code> and enables more verbose debug logging</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ARCH=&lt;architecture&gt;</code></td>\n<td>To manually set the target architecture</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">GPU_SUPPORT=&lt;true|false&gt;</code></td>\n<td>Enable/disable GPU support (Enabled by default on X86_64 Linux)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">RSMI_STATIC=true</code></td>\n<td>To statically link the ROCm SMI library used for querying AMDGPU</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ADDFLAGS=&lt;flags&gt;</code></td>\n<td>For appending flags to both compiler and linker</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">CXX=&lt;compiler&gt;</code></td>\n<td>Manually set which compiler to use</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">Example: <code class=\"notranslate\">make ADDFLAGS=-march=native</code> might give a performance boost if compiling only for your own system.</p>\n<p dir=\"auto\">Notice! If using LDAP Authentication, usernames will show as UID number for LDAP users if compiling statically with glibc.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo make install\"><pre class=\"notranslate\">sudo make install</pre></div>\n<p dir=\"auto\">Append <code class=\"notranslate\">PREFIX=/target/dir</code> to set target, default: <code class=\"notranslate\">/usr/local</code></p>\n<p dir=\"auto\">Notice! Only use \"sudo\" when installing to a NON user owned directory.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>(Optional/Required for Intel GPU support) Set extended capabilities or suid bit to btop</strong></p>\n<p dir=\"auto\">No need for <code class=\"notranslate\">sudo</code> to enable signal sending to any process and to prevent /proc read permissions problems on some systems.</p>\n<p dir=\"auto\">Also required for Intel GPU monitoring.</p>\n<p dir=\"auto\">Run after make install and use same PREFIX if any was used at install.</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo make setcap\"><pre class=\"notranslate\">sudo make setcap</pre></div>\n<p dir=\"auto\">or</p>\n<p dir=\"auto\">Set <code class=\"notranslate\">SU_USER</code> and <code class=\"notranslate\">SU_GROUP</code> to select user and group, default is <code class=\"notranslate\">root</code> and <code class=\"notranslate\">root</code></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo make setuid\"><pre class=\"notranslate\">sudo make setuid</pre></div>\n</li>\n</ol>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo make uninstall\"><pre class=\"notranslate\">sudo make uninstall</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove any object files from source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"make clean\"><pre class=\"notranslate\">make clean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove all object files, binaries and created directories in source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"make distclean\"><pre class=\"notranslate\">make distclean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Show help</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"make help\"><pre class=\"notranslate\">make <span class=\"pl-c1\">help</span></pre></div>\n</li>\n</ul>\n</details>\n<details>\n<summary>\n<h3 dir=\"auto\">With CMake (Community maintained)</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install build dependencies</strong></p>\n<p dir=\"auto\">Requires Clang / GCC, CMake, Ninja, Lowdown and Git</p>\n<p dir=\"auto\">For example, with Debian Bookworm:</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo apt install cmake git g++ ninja-build lowdown\"><pre class=\"notranslate\">sudo apt install cmake git g++ ninja-build lowdown</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone the repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git &amp;&amp; cd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git <span class=\"pl-k\">&amp;&amp;</span> <span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Configure\ncmake -B build -G Ninja\n# Build\ncmake --build build\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> Configure</span>\ncmake -B build -G Ninja\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Build</span>\ncmake --build build</pre></div>\n<p dir=\"auto\">This will automatically build a release version of btop.</p>\n<p dir=\"auto\">Some useful options to pass to the configure step:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Configure flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_STATIC=&lt;ON|OFF&gt;</code></td>\n<td>Enables static linking (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_LTO=&lt;ON|OFF&gt;</code></td>\n<td>Enables link time optimization (ON by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_PEDANTIC=&lt;ON|OFF&gt;</code></td>\n<td>Compile with additional warnings (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_WERROR=&lt;ON|OFF&gt;</code></td>\n<td>Compile with warnings as errors (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_GPU=&lt;ON|OFF&gt;</code></td>\n<td>Enable GPU support (ON by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_RSMI_STATIC=&lt;ON|OFF&gt;</code></td>\n<td>Build and link the ROCm SMI library statically (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DCMAKE_INSTALL_PREFIX=&lt;path&gt;</code></td>\n<td>The installation prefix ('/usr/local' by default)</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">To force any other compiler, run <code class=\"notranslate\">CXX=&lt;compiler&gt; cmake -B build -G Ninja</code></p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --install build\"><pre class=\"notranslate\">cmake --install build</pre></div>\n<p dir=\"auto\">May require root privileges</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<p dir=\"auto\">CMake doesn't generate an uninstall target by default. To remove installed files, run</p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"cat build/install_manifest.txt | xargs rm -irv\"><pre class=\"notranslate\"><code class=\"notranslate\">cat build/install_manifest.txt | xargs rm -irv\n</code></pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Cleanup build directory</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --build build -t clean\"><pre class=\"notranslate\">cmake --build build -t clean</pre></div>\n</li>\n</ol>\n</details>\n<h2 dir=\"auto\">Compilation macOS OSX</h2>\n<p dir=\"auto\">Requires at least GCC 12 or Clang 16.</p>\n<p dir=\"auto\">With GCC, version 12 (or better) is needed for macOS Ventura. If you get linker errors on Ventura you'll need to upgrade your command line tools (Version 14.0) is bugged.</p>\n<p dir=\"auto\">The makefile also needs GNU coreutils and <code class=\"notranslate\">sed</code>.</p>\n<p dir=\"auto\">Install and use Homebrew or MacPorts package managers for easy dependency installation</p>\n<details>\n<summary>\n<h3 dir=\"auto\">With Make</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install dependencies (example for Homebrew)</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"brew install coreutils make gcc@12 lowdown\"><pre class=\"notranslate\">brew install coreutils make gcc@12 lowdown</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git\ncd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git\n<span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake\"><pre class=\"notranslate\">gmake</pre></div>\n<p dir=\"auto\">Options for make:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">VERBOSE=true</code></td>\n<td>To display full compiler/linker commands</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STATIC=true</code></td>\n<td>For static compilation (only libgcc and libstdc++)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">QUIET=true</code></td>\n<td>For less verbose output</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STRIP=true</code></td>\n<td>To force stripping of debug symbols (adds <code class=\"notranslate\">-s</code> linker flag)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">DEBUG=true</code></td>\n<td>Sets OPTFLAGS to <code class=\"notranslate\">-O0 -g</code> and enables more verbose debug logging</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ARCH=&lt;architecture&gt;</code></td>\n<td>To manually set the target architecture</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ADDFLAGS=&lt;flags&gt;</code></td>\n<td>For appending flags to both compiler and linker</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">CXX=&lt;compiler&gt;</code></td>\n<td>Manually set which compiler to use</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">Example: <code class=\"notranslate\">gmake ADDFLAGS=-march=native</code> might give a performance boost if compiling only for your own system.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake install\"><pre class=\"notranslate\">sudo gmake install</pre></div>\n<p dir=\"auto\">Append <code class=\"notranslate\">PREFIX=/target/dir</code> to set target, default: <code class=\"notranslate\">/usr/local</code></p>\n<p dir=\"auto\">Notice! Only use \"sudo\" when installing to a NON user owned directory.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>(Recommended) Set suid bit to make btop always run as root (or other user)</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake setuid\"><pre class=\"notranslate\">sudo gmake setuid</pre></div>\n<p dir=\"auto\">No need for <code class=\"notranslate\">sudo</code> to see information for non user owned processes and to enable signal sending to any process.</p>\n<p dir=\"auto\">Run after make install and use same PREFIX if any was used at install.</p>\n<p dir=\"auto\">Set <code class=\"notranslate\">SU_USER</code> and <code class=\"notranslate\">SU_GROUP</code> to select user and group, default is <code class=\"notranslate\">root</code> and <code class=\"notranslate\">wheel</code></p>\n</li>\n</ol>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake uninstall\"><pre class=\"notranslate\">sudo gmake uninstall</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove any object files from source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake clean\"><pre class=\"notranslate\">gmake clean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove all object files, binaries and created directories in source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake distclean\"><pre class=\"notranslate\">gmake distclean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Show help</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake help\"><pre class=\"notranslate\">gmake <span class=\"pl-c1\">help</span></pre></div>\n</li>\n</ul>\n</details>\n<details>\n<summary>\n<h3 dir=\"auto\">With CMake (Community maintained)</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install build dependencies</strong></p>\n<p dir=\"auto\">Requires Clang, CMake, Ninja, Lowdown and Git</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"brew update --quiet\nbrew install cmake git llvm ninja lowdown\"><pre class=\"notranslate\">brew update --quiet\nbrew install cmake git llvm ninja lowdown</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone the repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git &amp;&amp; cd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git <span class=\"pl-k\">&amp;&amp;</span> <span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Configure\nexport LLVM_PREFIX=&quot;$(brew --prefix llvm)&quot;\nexport CXX=&quot;$LLVM_PREFIX/bin/clang++&quot;\nexport CPPFLAGS=&quot;-I$LLVM_PREFIX/include&quot;\nexport LDFLAGS=&quot;-L$LLVM_PREFIX/lib -L$LLVM_PREFIX/lib/c++ -Wl,-rpath,$LLVM_PREFIX/lib/c++ -fuse-ld=$LLVM_PREFIX/bin/ld64.lld&quot;\ncmake -B build -G Ninja\n# Build\ncmake --build build\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> Configure</span>\n<span class=\"pl-k\">export</span> LLVM_PREFIX=<span class=\"pl-s\"><span class=\"pl-pds\">\"</span><span class=\"pl-s\"><span class=\"pl-pds\">$(</span>brew --prefix llvm<span class=\"pl-pds\">)</span></span><span class=\"pl-pds\">\"</span></span>\n<span class=\"pl-k\">export</span> CXX=<span class=\"pl-s\"><span class=\"pl-pds\">\"</span><span class=\"pl-smi\">$LLVM_PREFIX</span>/bin/clang++<span class=\"pl-pds\">\"</span></span>\n<span class=\"pl-k\">export</span> CPPFLAGS=<span class=\"pl-s\"><span class=\"pl-pds\">\"</span>-I<span class=\"pl-smi\">$LLVM_PREFIX</span>/include<span class=\"pl-pds\">\"</span></span>\n<span class=\"pl-k\">export</span> LDFLAGS=<span class=\"pl-s\"><span class=\"pl-pds\">\"</span>-L<span class=\"pl-smi\">$LLVM_PREFIX</span>/lib -L<span class=\"pl-smi\">$LLVM_PREFIX</span>/lib/c++ -Wl,-rpath,<span class=\"pl-smi\">$LLVM_PREFIX</span>/lib/c++ -fuse-ld=<span class=\"pl-smi\">$LLVM_PREFIX</span>/bin/ld64.lld<span class=\"pl-pds\">\"</span></span>\ncmake -B build -G Ninja\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Build</span>\ncmake --build build</pre></div>\n<p dir=\"auto\"><em><strong>Note:</strong> btop uses lots of C++ 20 features, so it's necessary to be specific about the compiler and the standard library. If you get a compile with Apple-Clang or GCC, feel free to add the instructions here.</em></p>\n<p dir=\"auto\">This will automatically build a release version of btop.</p>\n<p dir=\"auto\">Some useful options to pass to the configure step:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Configure flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_LTO=&lt;ON|OFF&gt;</code></td>\n<td>Enables link time optimization (ON by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_PEDANTIC=&lt;ON|OFF&gt;</code></td>\n<td>Compile with additional warnings (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_WERROR=&lt;ON|OFF&gt;</code></td>\n<td>Compile with warnings as errors (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DCMAKE_INSTALL_PREFIX=&lt;path&gt;</code></td>\n<td>The installation prefix ('/usr/local' by default)</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">To force any specific compiler, run <code class=\"notranslate\">CXX=&lt;compiler&gt; cmake -B build -G Ninja</code></p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --install build\"><pre class=\"notranslate\">cmake --install build</pre></div>\n<p dir=\"auto\">May require root privileges</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<p dir=\"auto\">CMake doesn't generate an uninstall target by default. To remove installed files, run</p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"cat build/install_manifest.txt | xargs rm -irv\"><pre class=\"notranslate\"><code class=\"notranslate\">cat build/install_manifest.txt | xargs rm -irv\n</code></pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Cleanup build directory</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --build build -t clean\"><pre class=\"notranslate\">cmake --build build -t clean</pre></div>\n</li>\n</ol>\n</details>\n<h2 dir=\"auto\">Compilation FreeBSD</h2>\n<p dir=\"auto\">Requires at least GCC 11 or Clang 16.</p>\n<p dir=\"auto\">Note that GNU make (<code class=\"notranslate\">gmake</code>) is required to compile on FreeBSD.</p>\n<details>\n<summary>\n<h3 dir=\"auto\">With gmake</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install dependencies</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo pkg install gmake gcc11 coreutils git lowdown\"><pre class=\"notranslate\">sudo pkg install gmake gcc11 coreutils git lowdown</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git\ncd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git\n<span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake\"><pre class=\"notranslate\">gmake</pre></div>\n<p dir=\"auto\">Options for make:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">VERBOSE=true</code></td>\n<td>To display full compiler/linker commands</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STATIC=true</code></td>\n<td>For static compilation (only libgcc and libstdc++)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">QUIET=true</code></td>\n<td>For less verbose output</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STRIP=true</code></td>\n<td>To force stripping of debug symbols (adds <code class=\"notranslate\">-s</code> linker flag)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">DEBUG=true</code></td>\n<td>Sets OPTFLAGS to <code class=\"notranslate\">-O0 -g</code> and enables more verbose debug logging</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ARCH=&lt;architecture&gt;</code></td>\n<td>To manually set the target architecture</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ADDFLAGS=&lt;flags&gt;</code></td>\n<td>For appending flags to both compiler and linker</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">CXX=&lt;compiler&gt;</code></td>\n<td>Manually set which compiler to use</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">Example: <code class=\"notranslate\">gmake ADDFLAGS=-march=native</code> might give a performance boost if compiling only for your own system.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake install\"><pre class=\"notranslate\">sudo gmake install</pre></div>\n<p dir=\"auto\">Append <code class=\"notranslate\">PREFIX=/target/dir</code> to set target, default: <code class=\"notranslate\">/usr/local</code></p>\n<p dir=\"auto\">Notice! Only use \"sudo\" when installing to a NON user owned directory.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>(Recommended) Set suid bit to make btop always run as root (or other user)</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake setuid\"><pre class=\"notranslate\">sudo gmake setuid</pre></div>\n<p dir=\"auto\">No need for <code class=\"notranslate\">sudo</code> to see information for non user owned processes and to enable signal sending to any process.</p>\n<p dir=\"auto\">Run after make install and use same PREFIX if any was used at install.</p>\n<p dir=\"auto\">Set <code class=\"notranslate\">SU_USER</code> and <code class=\"notranslate\">SU_GROUP</code> to select user and group, default is <code class=\"notranslate\">root</code> and <code class=\"notranslate\">wheel</code></p>\n</li>\n</ol>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake uninstall\"><pre class=\"notranslate\">sudo gmake uninstall</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove any object files from source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake clean\"><pre class=\"notranslate\">gmake clean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove all object files, binaries and created directories in source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake distclean\"><pre class=\"notranslate\">gmake distclean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Show help</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake help\"><pre class=\"notranslate\">gmake <span class=\"pl-c1\">help</span></pre></div>\n</li>\n</ul>\n</details>\n<details>\n<summary>\n<h3 dir=\"auto\">With CMake (Community maintained)</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install build dependencies</strong></p>\n<p dir=\"auto\">Requires Clang / GCC, CMake, Ninja, Lowdown and Git</p>\n<p dir=\"auto\"><em><strong>Note:</strong> LLVM's libc++ shipped with FreeBSD 13 is too old and cannot compile btop.</em></p>\n<p dir=\"auto\">FreeBSD 14 and later:</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"pkg install cmake ninja lowdown\"><pre class=\"notranslate\">pkg install cmake ninja lowdown</pre></div>\n<p dir=\"auto\">FreeBSD 13:</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"pkg install cmake gcc13 ninja lowdown\"><pre class=\"notranslate\">pkg install cmake gcc13 ninja lowdown</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone the repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git &amp;&amp; cd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git <span class=\"pl-k\">&amp;&amp;</span> <span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<p dir=\"auto\">FreeBSD 14 and later:</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Configure\ncmake -B build -G Ninja\n# Build\ncmake --build build\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> Configure</span>\ncmake -B build -G Ninja\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Build</span>\ncmake --build build</pre></div>\n<p dir=\"auto\">FreeBSD 13:</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Configure\nCXX=g++13 cmake -B build -G Ninja\n# Build\ncmake --build build\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> Configure</span>\nCXX=g++13 cmake -B build -G Ninja\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Build</span>\ncmake --build build</pre></div>\n<p dir=\"auto\">This will automatically build a release version of btop.</p>\n<p dir=\"auto\">Some useful options to pass to the configure step:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Configure flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_STATIC=&lt;ON|OFF&gt;</code></td>\n<td>Enables static linking (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_LTO=&lt;ON|OFF&gt;</code></td>\n<td>Enables link time optimization (ON by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_PEDANTIC=&lt;ON|OFF&gt;</code></td>\n<td>Compile with additional warnings (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_WERROR=&lt;ON|OFF&gt;</code></td>\n<td>Compile with warnings as errors (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DCMAKE_INSTALL_PREFIX=&lt;path&gt;</code></td>\n<td>The installation prefix ('/usr/local' by default)</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\"><em><strong>Note:</strong> Static linking does not work with GCC.</em></p>\n<p dir=\"auto\">To force any other compiler, run <code class=\"notranslate\">CXX=&lt;compiler&gt; cmake -B build -G Ninja</code></p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --install build\"><pre class=\"notranslate\">cmake --install build</pre></div>\n<p dir=\"auto\">May require root privileges</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<p dir=\"auto\">CMake doesn't generate an uninstall target by default. To remove installed files, run</p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"cat build/install_manifest.txt | xargs rm -irv\"><pre class=\"notranslate\"><code class=\"notranslate\">cat build/install_manifest.txt | xargs rm -irv\n</code></pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Cleanup build directory</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --build build -t clean\"><pre class=\"notranslate\">cmake --build build -t clean</pre></div>\n</li>\n</ol>\n</details>\n<h2 dir=\"auto\">Compilation NetBSD</h2>\n<p dir=\"auto\">Requires at least GCC 11.</p>\n<p dir=\"auto\">Note that GNU make (<code class=\"notranslate\">gmake</code>) is required to compile on NetBSD.</p>\n<details>\n<summary>\n<h3 dir=\"auto\">With gmake</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install dependencies</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"pkg_add gmake gcc11 coreutils git\"><pre class=\"notranslate\">pkg_add gmake gcc11 coreutils git</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git\ncd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git\n<span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake CXXFLAGS=&quot;-DNDEBUG&quot;\"><pre class=\"notranslate\">gmake CXXFLAGS=<span class=\"pl-s\"><span class=\"pl-pds\">\"</span>-DNDEBUG<span class=\"pl-pds\">\"</span></span></pre></div>\n<p dir=\"auto\">Options for make:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">VERBOSE=true</code></td>\n<td>To display full compiler/linker commands</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STATIC=true</code></td>\n<td>For static compilation (only libgcc and libstdc++)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">QUIET=true</code></td>\n<td>For less verbose output</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STRIP=true</code></td>\n<td>To force stripping of debug symbols (adds <code class=\"notranslate\">-s</code> linker flag)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">DEBUG=true</code></td>\n<td>Sets OPTFLAGS to <code class=\"notranslate\">-O0 -g</code> and enables more verbose debug logging</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ARCH=&lt;architecture&gt;</code></td>\n<td>To manually set the target architecture</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ADDFLAGS=&lt;flags&gt;</code></td>\n<td>For appending flags to both compiler and linker</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">CXX=&lt;compiler&gt;</code></td>\n<td>Manually set which compiler to use</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">Example: <code class=\"notranslate\">gmake ADDFLAGS=-march=native</code> might give a performance boost if compiling only for your own system.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake install\"><pre class=\"notranslate\">sudo gmake install</pre></div>\n<p dir=\"auto\">Append <code class=\"notranslate\">PREFIX=/target/dir</code> to set target, default: <code class=\"notranslate\">/usr/local</code></p>\n<p dir=\"auto\">Notice! Only use \"sudo\" when installing to a NON user owned directory.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>(Recommended) Set suid bit to make btop always run as root (or other user)</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake setuid\"><pre class=\"notranslate\">sudo gmake setuid</pre></div>\n<p dir=\"auto\">No need for <code class=\"notranslate\">sudo</code> to see information for non user owned processes and to enable signal sending to any process.</p>\n<p dir=\"auto\">Run after make install and use same PREFIX if any was used at install.</p>\n<p dir=\"auto\">Set <code class=\"notranslate\">SU_USER</code> and <code class=\"notranslate\">SU_GROUP</code> to select user and group, default is <code class=\"notranslate\">root</code> and <code class=\"notranslate\">wheel</code></p>\n</li>\n</ol>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake uninstall\"><pre class=\"notranslate\">sudo gmake uninstall</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove any object files from source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake clean\"><pre class=\"notranslate\">gmake clean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove all object files, binaries and created directories in source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake distclean\"><pre class=\"notranslate\">gmake distclean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Show help</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake help\"><pre class=\"notranslate\">gmake <span class=\"pl-c1\">help</span></pre></div>\n</li>\n</ul>\n</details>\n<details>\n<summary>\n<h3 dir=\"auto\">With CMake (Community maintained)</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install build dependencies</strong></p>\n<p dir=\"auto\">Requires GCC, CMake, Ninja and Git</p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"pkg_add cmake ninja-build gcc11 coreutils git\"><pre class=\"notranslate\">pkg_add cmake ninja-build gcc11 coreutils git</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone the repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git &amp;&amp; cd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git <span class=\"pl-k\">&amp;&amp;</span> <span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Configure\ncmake -DCMAKE_CXX_COMPILER=&quot;/usr/pkg/gcc11/bin/g++&quot; -B build -G Ninja\n# Build\ncmake --build build\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> Configure</span>\ncmake -DCMAKE_CXX_COMPILER=<span class=\"pl-s\"><span class=\"pl-pds\">\"</span>/usr/pkg/gcc11/bin/g++<span class=\"pl-pds\">\"</span></span> -B build -G Ninja\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Build</span>\ncmake --build build</pre></div>\n<p dir=\"auto\">This will automatically build a release version of btop.</p>\n<p dir=\"auto\">Some useful options to pass to the configure step:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Configure flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_LTO=&lt;ON|OFF&gt;</code></td>\n<td>Enables link time optimization (ON by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_PEDANTIC=&lt;ON|OFF&gt;</code></td>\n<td>Compile with additional warnings (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_WERROR=&lt;ON|OFF&gt;</code></td>\n<td>Compile with warnings as errors (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DCMAKE_INSTALL_PREFIX=&lt;path&gt;</code></td>\n<td>The installation prefix ('/usr/local' by default)</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">To force any other compiler, run <code class=\"notranslate\">CXX=&lt;compiler&gt; cmake -B build -G Ninja</code></p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --install build\"><pre class=\"notranslate\">cmake --install build</pre></div>\n<p dir=\"auto\">May require root privileges</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<p dir=\"auto\">CMake doesn't generate an uninstall target by default. To remove installed files, run</p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"cat build/install_manifest.txt | xargs rm -irv\"><pre class=\"notranslate\"><code class=\"notranslate\">cat build/install_manifest.txt | xargs rm -irv\n</code></pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Cleanup build directory</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --build build -t clean\"><pre class=\"notranslate\">cmake --build build -t clean</pre></div>\n</li>\n</ol>\n</details>\n<h2 dir=\"auto\">Compilation OpenBSD</h2>\n<p dir=\"auto\">Requires at least GCC 11.</p>\n<p dir=\"auto\">Note that GNU make (<code class=\"notranslate\">gmake</code>) is required to compile on OpenBSD.</p>\n<details>\n<summary>\n<h3 dir=\"auto\">With gmake</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install dependencies</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"pkg_add gmake gcc%11 g++%11 coreutils git lowdown\"><pre class=\"notranslate\">pkg_add gmake gcc%11 g++%11 coreutils git lowdown</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git\ncd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git\n<span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake CXX=eg++\"><pre class=\"notranslate\">gmake CXX=eg++</pre></div>\n<p dir=\"auto\">Options for make:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">VERBOSE=true</code></td>\n<td>To display full compiler/linker commands</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STATIC=true</code></td>\n<td>For static compilation (only libgcc and libstdc++)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">QUIET=true</code></td>\n<td>For less verbose output</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">STRIP=true</code></td>\n<td>To force stripping of debug symbols (adds <code class=\"notranslate\">-s</code> linker flag)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">DEBUG=true</code></td>\n<td>Sets OPTFLAGS to <code class=\"notranslate\">-O0 -g</code> and enables more verbose debug logging</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ARCH=&lt;architecture&gt;</code></td>\n<td>To manually set the target architecture</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">ADDFLAGS=&lt;flags&gt;</code></td>\n<td>For appending flags to both compiler and linker</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">CXX=&lt;compiler&gt;</code></td>\n<td>Manually set which compiler to use</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">Example: <code class=\"notranslate\">gmake ADDFLAGS=-march=native</code> might give a performance boost if compiling only for your own system.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake install\"><pre class=\"notranslate\">sudo gmake install</pre></div>\n<p dir=\"auto\">Append <code class=\"notranslate\">PREFIX=/target/dir</code> to set target, default: <code class=\"notranslate\">/usr/local</code></p>\n<p dir=\"auto\">Notice! Only use \"sudo\" when installing to a NON user owned directory.</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>(Recommended) Set suid bit to make btop always run as root (or other user)</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake setuid\"><pre class=\"notranslate\">sudo gmake setuid</pre></div>\n<p dir=\"auto\">No need for <code class=\"notranslate\">sudo</code> to see information for non user owned processes and to enable signal sending to any process.</p>\n<p dir=\"auto\">Run after make install and use same PREFIX if any was used at install.</p>\n<p dir=\"auto\">Set <code class=\"notranslate\">SU_USER</code> and <code class=\"notranslate\">SU_GROUP</code> to select user and group, default is <code class=\"notranslate\">root</code> and <code class=\"notranslate\">wheel</code></p>\n</li>\n</ol>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo gmake uninstall\"><pre class=\"notranslate\">sudo gmake uninstall</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove any object files from source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake clean\"><pre class=\"notranslate\">gmake clean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Remove all object files, binaries and created directories in source dir</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake distclean\"><pre class=\"notranslate\">gmake distclean</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Show help</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gmake help\"><pre class=\"notranslate\">gmake <span class=\"pl-c1\">help</span></pre></div>\n</li>\n</ul>\n</details>\n<details>\n<summary>\n<h3 dir=\"auto\">With CMake (Community maintained)</h3>\n</summary>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install build dependencies</strong></p>\n<p dir=\"auto\">Requires GCC, CMake, Ninja, Lowdown and Git</p>\n<p dir=\"auto\"><em><strong>Note:</strong> LLVM's libc++ shipped with OpenBSD 7.4 is too old and cannot compile btop.</em></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"pkg_add cmake g++%11 git ninja lowdown\"><pre class=\"notranslate\">pkg_add cmake g++%11 git ninja lowdown</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Clone the repository</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https://github.com/aristocratos/btop.git &amp;&amp; cd btop\"><pre class=\"notranslate\">git clone https://github.com/aristocratos/btop.git <span class=\"pl-k\">&amp;&amp;</span> <span class=\"pl-c1\">cd</span> btop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Compile</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Configure\nCXX=eg++ cmake -B build -G Ninja\n# Build\ncmake --build build\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span> Configure</span>\nCXX=eg++ cmake -B build -G Ninja\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Build</span>\ncmake --build build</pre></div>\n<p dir=\"auto\">This will automatically build a release version of btop.</p>\n<p dir=\"auto\">Some useful options to pass to the configure step:</p>\n<markdown-accessiblity-table><table role=\"table\">\n<thead>\n<tr>\n<th>Configure flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_LTO=&lt;ON|OFF&gt;</code></td>\n<td>Enables link time optimization (ON by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_PEDANTIC=&lt;ON|OFF&gt;</code></td>\n<td>Compile with additional warnings (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DBTOP_WERROR=&lt;ON|OFF&gt;</code></td>\n<td>Compile with warnings as errors (OFF by default)</td>\n</tr>\n<tr>\n<td><code class=\"notranslate\">-DCMAKE_INSTALL_PREFIX=&lt;path&gt;</code></td>\n<td>The installation prefix ('/usr/local' by default)</td>\n</tr>\n</tbody>\n</table></markdown-accessiblity-table>\n<p dir=\"auto\">To force any other compiler, run <code class=\"notranslate\">CXX=&lt;compiler&gt; cmake -B build -G Ninja</code></p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --install build\"><pre class=\"notranslate\">cmake --install build</pre></div>\n<p dir=\"auto\">May require root privileges</p>\n</li>\n<li>\n<p dir=\"auto\"><strong>Uninstall</strong></p>\n<p dir=\"auto\">CMake doesn't generate an uninstall target by default. To remove installed files, run</p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"cat build/install_manifest.txt | xargs rm -irv\"><pre class=\"notranslate\"><code class=\"notranslate\">cat build/install_manifest.txt | xargs rm -irv\n</code></pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Cleanup build directory</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cmake --build build -t clean\"><pre class=\"notranslate\">cmake --build build -t clean</pre></div>\n</li>\n</ol>\n</details>\n<h2 dir=\"auto\">Installing the snap</h2>\n<p dir=\"auto\"><a href=\"https://snapcraft.io/btop\" rel=\"nofollow\"><img src=\"https://camo.githubusercontent.com/b88772a4b6b7c82ffd182bd49512ffeef0fb622f14abe0c2f10c555230cec3a5/68747470733a2f2f736e617063726166742e696f2f62746f702f62616467652e737667\" alt=\"btop\" data-canonical-src=\"https://snapcraft.io/btop/badge.svg\" style=\"max-width: 100%;\"></a></p>\n<h3 dir=\"auto\">Note: there are now two snaps available: <code class=\"notranslate\">btop</code> and <code class=\"notranslate\">btop-desktop</code>. The desktop version is much larger and includes the desktop entries needed to allow for launching <code class=\"notranslate\">btop</code> with a click.</h3>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\"><strong>Install the snap</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo snap install btop\nor\nsudo snap install btop-desktop\"><pre class=\"notranslate\">sudo snap install btop\nor\nsudo snap install btop-desktop</pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Install the latest snap from the edge channel</strong></p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"sudo snap install btop --edge\nor\nsudo snap install btop-desktop --edge\"><pre class=\"notranslate\"><code class=\"notranslate\">sudo snap install btop --edge\nor\nsudo snap install btop-desktop --edge\n</code></pre></div>\n</li>\n<li>\n<p dir=\"auto\"><strong>Connect the interface</strong></p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"sudo snap connect btop:removable-media\nor\nsudo snap connect btop-desktop:removable-media\"><pre class=\"notranslate\">sudo snap connect btop:removable-media\nor\nsudo snap connect btop-desktop:removable-media</pre></div>\n</li>\n</ul>\n<h2 dir=\"auto\">Configurability</h2>\n<p dir=\"auto\">All options changeable from within UI.<br>\nConfig and log files stored in <code class=\"notranslate\">$XDG_CONFIG_HOME/btop</code> or <code class=\"notranslate\">$HOME/.config/btop</code> folder</p>\n<h4 dir=\"auto\">btop.conf: (auto generated if not found)</h4>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"#? Config file for btop v. 1.2.2\n\n#* Name of a btop++/bpytop/bashtop formatted &quot;.theme&quot; file, &quot;Default&quot; and &quot;TTY&quot; for builtin themes.\n#* Themes should be placed in &quot;../share/btop/themes&quot; relative to binary or &quot;$HOME/.config/btop/themes&quot;\ncolor_theme = &quot;Default&quot;\n\n#* If the theme set background should be shown, set to False if you want terminal background transparency.\ntheme_background = True\n\n#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.\ntruecolor = True\n\n#* Set to true to force tty mode regardless if a real tty has been detected or not.\n#* Will force 16-color mode and TTY theme, set all graph symbols to &quot;tty&quot; and swap out other non tty friendly symbols.\nforce_tty = False\n\n#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.\n#* Format: &quot;box_name:P:G,box_name:P:G&quot; P=(0 or 1) for alternate positions, G=graph symbol to use for box.\n#* Use whitespace &quot; &quot; as separator between different presets.\n#* Example: &quot;cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty&quot;\npresets = &quot;cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty&quot;\n\n#* Set to True to enable &quot;h,j,k,l,g,G&quot; keys for directional control in lists.\n#* Conflicting keys for h:&quot;help&quot; and k:&quot;kill&quot; is accessible while holding shift.\nvim_keys = False\n\n#* Rounded corners on boxes, is ignored if TTY mode is ON.\nrounded_corners = True\n\n#* Default symbols to use for graph creation, &quot;braille&quot;, &quot;block&quot; or &quot;tty&quot;.\n#* &quot;braille&quot; offers the highest resolution but might not be included in all fonts.\n#* &quot;block&quot; has half the resolution of braille but uses more common characters.\n#* &quot;tty&quot; uses only 3 different symbols but will work with most fonts and should work in a real TTY.\n#* Note that &quot;tty&quot; only has half the horizontal resolution of the other two, so will show a shorter historical view.\ngraph_symbol = &quot;braille&quot;\n\n# Graph symbol to use for graphs in cpu box, &quot;default&quot;, &quot;braille&quot;, &quot;block&quot; or &quot;tty&quot;.\ngraph_symbol_cpu = &quot;default&quot;\n\n# Graph symbol to use for graphs in cpu box, &quot;default&quot;, &quot;braille&quot;, &quot;block&quot; or &quot;tty&quot;.\ngraph_symbol_mem = &quot;default&quot;\n\n# Graph symbol to use for graphs in cpu box, &quot;default&quot;, &quot;braille&quot;, &quot;block&quot; or &quot;tty&quot;.\ngraph_symbol_net = &quot;default&quot;\n\n# Graph symbol to use for graphs in cpu box, &quot;default&quot;, &quot;braille&quot;, &quot;block&quot; or &quot;tty&quot;.\ngraph_symbol_proc = &quot;default&quot;\n\n#* Manually set which boxes to show. Available values are &quot;cpu mem net proc&quot; and &quot;gpu0&quot; through &quot;gpu5&quot;, separate values with whitespace.\nshown_boxes = &quot;proc cpu mem net&quot;\n\n#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.\nupdate_ms = 1500\n\n#* Processes sorting, &quot;pid&quot; &quot;program&quot; &quot;arguments&quot; &quot;threads&quot; &quot;user&quot; &quot;memory&quot; &quot;cpu lazy&quot; &quot;cpu responsive&quot;,\n#* &quot;cpu lazy&quot; sorts top process over time (easier to follow), &quot;cpu responsive&quot; updates top process directly.\nproc_sorting = &quot;cpu lazy&quot;\n\n#* Reverse sorting order, True or False.\nproc_reversed = False\n\n#* Show processes as a tree.\nproc_tree = False\n\n#* Use the cpu graph colors in the process list.\nproc_colors = True\n\n#* Use a darkening gradient in the process list.\nproc_gradient = True\n\n#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.\nproc_per_core = True\n\n#* Show process memory as bytes instead of percent.\nproc_mem_bytes = True\n\n#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)\nproc_info_smaps = False\n\n#* Show proc box on left side of screen instead of right.\nproc_left = False\n\n#* Sets the CPU stat shown in upper half of the CPU graph, &quot;total&quot; is always available.\n#* Select from a list of detected attributes from the options menu.\ncpu_graph_upper = &quot;total&quot;\n\n#* Sets the CPU stat shown in lower half of the CPU graph, &quot;total&quot; is always available.\n#* Select from a list of detected attributes from the options menu.\ncpu_graph_lower = &quot;total&quot;\n\n#* Toggles if the lower CPU graph should be inverted.\ncpu_invert_lower = True\n\n#* Set to True to completely disable the lower CPU graph.\ncpu_single_graph = False\n\n#* Show cpu box at bottom of screen instead of top.\ncpu_bottom = False\n\n#* Shows the system uptime in the CPU box.\nshow_uptime = True\n\n#* Show cpu temperature.\ncheck_temp = True\n\n#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.\ncpu_sensor = &quot;Auto&quot;\n\n#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.\nshow_coretemp = True\n\n#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.\n#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.\n#* Format &quot;x:y&quot; x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.\n#* Example: &quot;4:0 5:1 6:3&quot;\ncpu_core_map = &quot;&quot;\n\n#* Which temperature scale to use, available values: &quot;celsius&quot;, &quot;fahrenheit&quot;, &quot;kelvin&quot; and &quot;rankine&quot;.\ntemp_scale = &quot;celsius&quot;\n\n#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.\nbase_10_sizes = False\n\n#* Show CPU frequency.\nshow_cpu_freq = True\n\n#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.\n#* Special formatting: /host = hostname | /user = username | /uptime = system uptime\nclock_format = &quot;%H:%M&quot;\n\n#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.\nbackground_update = True\n\n#* Custom cpu model name, empty string to disable.\ncustom_cpu_name = &quot;&quot;\n\n#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace &quot; &quot;.\n#* Begin line with &quot;exclude=&quot; to change to exclude filter, otherwise defaults to &quot;most include&quot; filter. Example: disks_filter=&quot;exclude=/boot /home/user&quot;.\ndisks_filter = &quot;exclude=/boot&quot;\n\n#* Show graphs instead of meters for memory values.\nmem_graphs = True\n\n#* Show mem box below net box instead of above.\nmem_below_net = False\n\n#* Count ZFS ARC in cached and available memory.\nzfs_arc_cached = True\n\n#* If swap memory should be shown in memory box.\nshow_swap = True\n\n#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.\nswap_disk = True\n\n#* If mem box should be split to also show disks info.\nshow_disks = True\n\n#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.\nonly_physical = True\n\n#* Read disks list from /etc/fstab. This also disables only_physical.\nuse_fstab = False\n\n#* Set to true to show available disk space for privileged users.\ndisk_free_priv = False\n\n#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.\nshow_io_stat = True\n\n#* Toggles io mode for disks, showing big graphs for disk read/write speeds.\nio_mode = False\n\n#* Set to True to show combined read/write io graphs in io mode.\nio_graph_combined = False\n\n#* Set the top speed for the io graphs in MiB/s (100 by default), use format &quot;mountpoint:speed&quot; separate disks with whitespace &quot; &quot;.\n#* Example: &quot;/mnt/media:100 /:20 /boot:1&quot;.\nio_graph_speeds = &quot;&quot;\n\n#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.\nnet_download = 100\n\nnet_upload = 100\n\n#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.\nnet_auto = True\n\n#* Sync the auto scaling for download and upload to whichever currently has the highest scale.\nnet_sync = False\n\n#* Starts with the Network Interface specified here.\nnet_iface = &quot;br0&quot;\n\n#* Show battery stats in top right if battery is present.\nshow_battery = True\n\n#* Which battery to use if multiple are present. &quot;Auto&quot; for auto detection.\nselected_battery = &quot;Auto&quot;\n\n#* Set loglevel for &quot;~/.config/btop/btop.log&quot; levels are: &quot;ERROR&quot; &quot;WARNING&quot; &quot;INFO&quot; &quot;DEBUG&quot;.\n#* The level set includes all lower levels, i.e. &quot;DEBUG&quot; will show all logging info.\nlog_level = &quot;DEBUG&quot;\"><pre class=\"notranslate\"><span class=\"pl-c\"><span class=\"pl-c\">#</span>? Config file for btop v. 1.2.2</span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Name of a btop++/bpytop/bashtop formatted \".theme\" file, \"Default\" and \"TTY\" for builtin themes.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Themes should be placed in \"../share/btop/themes\" relative to binary or \"$HOME/.config/btop/themes\"</span>\ncolor_theme = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>Default<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* If the theme set background should be shown, set to False if you want terminal background transparency.</span>\ntheme_background = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.</span>\ntruecolor = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set to true to force tty mode regardless if a real tty has been detected or not.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Will force 16-color mode and TTY theme, set all graph symbols to \"tty\" and swap out other non tty friendly symbols.</span>\nforce_tty = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Format: \"box_name:P:G,box_name:P:G\" P=(0 or 1) for alternate positions, G=graph symbol to use for box.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Use whitespace \" \" as separator between different presets.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Example: \"cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty\"</span>\npresets = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set to True to enable \"h,j,k,l,g,G\" keys for directional control in lists.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Conflicting keys for h:\"help\" and k:\"kill\" is accessible while holding shift.</span>\nvim_keys = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Rounded corners on boxes, is ignored if TTY mode is ON.</span>\nrounded_corners = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Default symbols to use for graph creation, \"braille\", \"block\" or \"tty\".</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* \"braille\" offers the highest resolution but might not be included in all fonts.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* \"block\" has half the resolution of braille but uses more common characters.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* \"tty\" uses only 3 different symbols but will work with most fonts and should work in a real TTY.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Note that \"tty\" only has half the horizontal resolution of the other two, so will show a shorter historical view.</span>\ngraph_symbol = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>braille<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Graph symbol to use for graphs in cpu box, \"default\", \"braille\", \"block\" or \"tty\".</span>\ngraph_symbol_cpu = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>default<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Graph symbol to use for graphs in cpu box, \"default\", \"braille\", \"block\" or \"tty\".</span>\ngraph_symbol_mem = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>default<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Graph symbol to use for graphs in cpu box, \"default\", \"braille\", \"block\" or \"tty\".</span>\ngraph_symbol_net = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>default<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span> Graph symbol to use for graphs in cpu box, \"default\", \"braille\", \"block\" or \"tty\".</span>\ngraph_symbol_proc = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>default<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Manually set which boxes to show. Available values are \"cpu mem net proc\" and \"gpu0\" through \"gpu5\", separate values with whitespace.</span>\nshown_boxes = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>proc cpu mem net<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.</span>\nupdate_ms = 1500\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Processes sorting, \"pid\" \"program\" \"arguments\" \"threads\" \"user\" \"memory\" \"cpu lazy\" \"cpu responsive\",</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* \"cpu lazy\" sorts top process over time (easier to follow), \"cpu responsive\" updates top process directly.</span>\nproc_sorting = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>cpu lazy<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Reverse sorting order, True or False.</span>\nproc_reversed = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show processes as a tree.</span>\nproc_tree = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Use the cpu graph colors in the process list.</span>\nproc_colors = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Use a darkening gradient in the process list.</span>\nproc_gradient = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* If process cpu usage should be of the core it's running on or usage of the total available cpu power.</span>\nproc_per_core = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show process memory as bytes instead of percent.</span>\nproc_mem_bytes = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)</span>\nproc_info_smaps = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show proc box on left side of screen instead of right.</span>\nproc_left = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Sets the CPU stat shown in upper half of the CPU graph, \"total\" is always available.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Select from a list of detected attributes from the options menu.</span>\ncpu_graph_upper = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>total<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Sets the CPU stat shown in lower half of the CPU graph, \"total\" is always available.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Select from a list of detected attributes from the options menu.</span>\ncpu_graph_lower = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>total<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Toggles if the lower CPU graph should be inverted.</span>\ncpu_invert_lower = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set to True to completely disable the lower CPU graph.</span>\ncpu_single_graph = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show cpu box at bottom of screen instead of top.</span>\ncpu_bottom = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Shows the system uptime in the CPU box.</span>\nshow_uptime = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show cpu temperature.</span>\ncheck_temp = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.</span>\ncpu_sensor = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>Auto<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show temperatures for cpu cores also if check_temp is True and sensors has been found.</span>\nshow_coretemp = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Format \"x:y\" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Example: \"4:0 5:1 6:3\"</span>\ncpu_core_map = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span><span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Which temperature scale to use, available values: \"celsius\", \"fahrenheit\", \"kelvin\" and \"rankine\".</span>\ntemp_scale = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>celsius<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.</span>\nbase_10_sizes = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show CPU frequency.</span>\nshow_cpu_freq = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Draw a clock at top of screen, formatting according to strftime, empty string to disable.</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Special formatting: /host = hostname | /user = username | /uptime = system uptime</span>\nclock_format = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>%H:%M<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.</span>\nbackground_update = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Custom cpu model name, empty string to disable.</span>\ncustom_cpu_name = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span><span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace \" \".</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Begin line with \"exclude=\" to change to exclude filter, otherwise defaults to \"most include\" filter. Example: disks_filter=\"exclude=/boot /home/user\".</span>\ndisks_filter = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>exclude=/boot<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show graphs instead of meters for memory values.</span>\nmem_graphs = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show mem box below net box instead of above.</span>\nmem_below_net = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Count ZFS ARC in cached and available memory.</span>\nzfs_arc_cached = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* If swap memory should be shown in memory box.</span>\nshow_swap = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.</span>\nswap_disk = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* If mem box should be split to also show disks info.</span>\nshow_disks = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.</span>\nonly_physical = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Read disks list from /etc/fstab. This also disables only_physical.</span>\nuse_fstab = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set to true to show available disk space for privileged users.</span>\ndisk_free_priv = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.</span>\nshow_io_stat = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Toggles io mode for disks, showing big graphs for disk read/write speeds.</span>\nio_mode = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set to True to show combined read/write io graphs in io mode.</span>\nio_graph_combined = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set the top speed for the io graphs in MiB/s (100 by default), use format \"mountpoint:speed\" separate disks with whitespace \" \".</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Example: \"/mnt/media:100 /:20 /boot:1\".</span>\nio_graph_speeds = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span><span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.</span>\nnet_download = 100\n\nnet_upload = 100\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.</span>\nnet_auto = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Sync the auto scaling for download and upload to whichever currently has the highest scale.</span>\nnet_sync = False\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Starts with the Network Interface specified here.</span>\nnet_iface = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>br0<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Show battery stats in top right if battery is present.</span>\nshow_battery = True\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Which battery to use if multiple are present. \"Auto\" for auto detection.</span>\nselected_battery = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>Auto<span class=\"pl-pds\">\"</span></span>\n\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* Set loglevel for \"~/.config/btop/btop.log\" levels are: \"ERROR\" \"WARNING\" \"INFO\" \"DEBUG\".</span>\n<span class=\"pl-c\"><span class=\"pl-c\">#</span>* The level set includes all lower levels, i.e. \"DEBUG\" will show all logging info.</span>\nlog_level = <span class=\"pl-s\"><span class=\"pl-pds\">\"</span>DEBUG<span class=\"pl-pds\">\"</span></span></pre></div>\n<h4 dir=\"auto\">Command line options</h4>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"Usage: btop [OPTIONS]\n\nOptions:\n  -c, --config &lt;file&gt;  Path to a config file\n  -d, --debug          Start in debug mode with additional logs and metrics\n      --force-utf      Override automatic UTF locale detection\n  -l, --low-color      Disable true color, 256 colors only\n  -p, --preset &lt;id&gt;    Start with a preset (0-9)\n  -t, --tty            Force tty mode with ANSI graph symbols and 16 colors only\n      --no-tty         Force disable tty mode\n  -u, --update &lt;ms&gt;    Set an initial update rate in milliseconds\n  -h, --help           Show this help message and exit\n  -V, --version        Show a version message and exit (more with --version)\"><pre lang=\"text\" class=\"notranslate\"><code class=\"notranslate\">Usage: btop [OPTIONS]\n\nOptions:\n  -c, --config &lt;file&gt;  Path to a config file\n  -d, --debug          Start in debug mode with additional logs and metrics\n      --force-utf      Override automatic UTF locale detection\n  -l, --low-color      Disable true color, 256 colors only\n  -p, --preset &lt;id&gt;    Start with a preset (0-9)\n  -t, --tty            Force tty mode with ANSI graph symbols and 16 colors only\n      --no-tty         Force disable tty mode\n  -u, --update &lt;ms&gt;    Set an initial update rate in milliseconds\n  -h, --help           Show this help message and exit\n  -V, --version        Show a version message and exit (more with --version)\n</code></pre></div>\n<h2 dir=\"auto\">LICENSE</h2>\n<p dir=\"auto\"><a href=\"LICENSE\">Apache License 2.0</a></p>","updatedAt":"2025-05-21T15:50:40Z","upvoteCount":null,"author":{"login":"eryajf","avatarUrl":"https://avatars.githubusercontent.com/u/33259379?u=e4a4090a38ac2473aaed4ef9945233636776c6c3&v=4","url":"https://github.com/eryajf"},"category":null,"labels":{"edges":[{"node":{"name":"更多","color":"25B472"}},{"node":{"name":"命令行工具","color":"e05879"}},{"node":{"name":"aristocratos","color":"c9dec1"}}]},"comments":{"edges":[]}}},"pageContext":{"number":57,"previous":{"title":"Canop/broot: 获取目录的概览，即使是一个大目录也能快速浏览","number":56},"next":{"title":"moby/buildkit: 增强 Docker build 的功能，支持并行构建、缓存、镜像导出等功能","number":58}}},
    "staticQueryHashes": ["151096407","2861350382"]}