Skip to content

Commit a76abc8

Browse files
committed
ADD top command in Linux.md
1 parent 278d985 commit a76abc8

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎_wiki/Linux.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout : wiki
33
title : Linux
44
summary : linux 활용에 관한 모든것
55
date : 2018-08-21 18:28:36 +0900
6-
updated : 2019-06-20 17:37:21 +0900
6+
updated : 2019-12-23 11:37:50 +0900
77
tags : linux
88
toc : true
99
public : true
@@ -52,6 +52,14 @@ grep -A라인수 -B 라인수 # A: 뒤 몇라인, B: 앞 몇라인
5252
while true ; do echo -n "$(date) " ; ss -s | grep timewait ; sleep 1 ; done
5353
```
5454

55+
### 시스템 모니터링
56+
57+
* top
58+
* shift + M: 메모리 사용량별, / P: CPU 사용량별
59+
* f 눌러서 추가로 보여질 필드를 고를 수 있다.
60+
61+
* free -g: 메모리 사용량을 G 단위로 보여줌
62+
5563
### Linux Utils
5664

5765
* logrotate : log rolling 설정을 해주는 linux util

0 commit comments

Comments
 (0)