diff --git a/t10 b/t10 index a21bebb..3cffb5e 100755 --- a/t10 +++ b/t10 @@ -10,11 +10,11 @@ tLoadAverage="$(uptime | rev | cut -d ":" -f 1 | rev | cut -d " " -f 2-10)" echo -e "\n$tHost - $tTime" echo -e "RAM: $tMemUsed M usados de $tMemTotal M totales ($tMemFree M libres)\nCPU Load Average: $tLoadAverage\n\n[+] Listado de Procesos top10 consumo de RAM:\n" -ps -A --sort=-rss --format pid,user,pmem,rss,comm | head -10 +ps -A --sort=-rss --format pid,user,pmem,rss,comm | head -11 echo -e "\nPor tanto el proceso en el top1 consumo RAM es:\n" ps -A --sort=-rss --format pid,user,pmem,rss,command | head -2 echo -e "\n[+] Listado de Procesos top10 consumo CPU:\n" -ps -A --sort=-pcpu --format pid,user,pcpu,rss,comm | head -10 +ps -A --sort=-pcpu --format pid,user,pcpu,rss,comm | head -11 echo -e "\nPor tanto el proceso en el top1 consumo CPU es:\n" ps -A --sort=-pcpu --format pid,user,pcpu,rss,command | head -2 echo -e "\n"