Как быстро проверить, какие процессы занимают больше всего памяти или CPU?
Вместо длинных top или htop, можно использовать скрипт ниже.
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head -n 15
🔍 Что делает скрипт:
ps -eo ... - выводит список процессов с PID, PPID, командой, % памяти и CPU. --sort=-%mem - сортировка по памяти (от большего к меньшему). head -n 15 - показываем только топ-15 процессов.
📌 Если хотите отсортировать по CPU - замените %mem на %cpu:
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head -n 15
Удобно для быстрой диагностики «прожорливых» процессов без лишних инструментов! ⚡
Как быстро проверить, какие процессы занимают больше всего памяти или CPU?
Вместо длинных top или htop, можно использовать скрипт ниже.
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head -n 15
🔍 Что делает скрипт:
ps -eo ... - выводит список процессов с PID, PPID, командой, % памяти и CPU. --sort=-%mem - сортировка по памяти (от большего к меньшему). head -n 15 - показываем только топ-15 процессов.
📌 Если хотите отсортировать по CPU - замените %mem на %cpu:
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head -n 15
Удобно для быстрой диагностики «прожорливых» процессов без лишних инструментов! ⚡
Private channels are only accessible to subscribers and don’t appear in public searches. To join a private channel, you need to receive a link from the owner (administrator). A private channel is an excellent solution for companies and teams. You can also use this type of channel to write down personal notes, reflections, etc. By the way, you can make your private channel public at any moment. Co-founder of NFT renting protocol Rentable World emiliano.eth shared the group Tuesday morning on Twitter, calling out the "degenerate" community, or crypto obsessives that engage in high-risk trading. 6How to manage your Telegram channel? So far, more than a dozen different members have contributed to the group, posting voice notes of themselves screaming, yelling, groaning, and wailing in various pitches and rhythms. As five out of seven counts were serious, Hui sentenced Ng to six years and six months in jail.
from us