답변1
다음 명령을 사용해 볼 수 있습니다. 나에게는 잘 작동했습니다.
주문하다
top | sed -n '/PID/,$p'|sed '/PID/d'
산출
top | sed -n '/PID/,$p'|sed '/PID/d'
5696 praveen 20 0 1063064 301524 124384 S 5.0 5.0 3:47.86 chrome
2064 praveen 20 0 1349120 240216 125140 S 3.3 4.0 5:15.39 chrome
2131 praveen 20 0 657804 177656 124292 S 3.3 2.9 3:13.29 chrome
1317 praveen 20 0 372280 66304 42424 R 1.3 1.1 1:57.22 Xorg
1462 praveen 20 0 3843312 198160 72588 S 0.7 3.3 4:08.08 gnome-shell
2675 praveen 20 0 732392 39200 28476 S 0.3 0.6 0:19.70 gnome-term+
4947 praveen 20 0 763008 119988 75828 S 0.3 2.0 0:06.20 chrome
6522 praveen 20 0 49016 3856 3232 R 0.3 0.1 0:00.15 top
1 root 20 0 225528 9432 6772 S 0.0 0.2 0:06.29 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:+
6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_+
7 root 20 0 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/0
8 root 20 0 0 0 0 I 0.0 0.0 0:03.76 rcu_sched
9 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/0
11 root rt 0 0 0 0 S 0.0 0.0 0:00.01 watchdo
답변2
배경만 제거하려면 배경과 일치할 때까지 Z그런 다음 위/아래를 누른 다음 프로필에 새 설정을 저장하고 유지하세요.TEnterW