반응형
prstat -s rss
'-s' sorts prstat output by rss column (see man page for other columns). Also try '-a' option for a per user accumulation.
ps -eo pid,pmem,vsz,rss,comm | sort -rnk2 | head
Top 10 RAM consumers. '-o pmem' displays percentage of resident memory i.e. RAM used by process.
ls -lh /proc/{pid}/as
Easy way to show total address space (vsz) of a process. Useful in combination with pgrep to accumulate by user, pattern, ... e.g.:
for pid in `pgrep -U webserver`; do ls -lh /proc/$pid/as; done
반응형
'OS > Solaris' 카테고리의 다른 글
Sun Studio 12 버전 별 설치 옵션 정리 (0) | 2015.03.27 |
---|---|
[솔라리스] 마운트의 개념 (0) | 2014.08.14 |
[ Unix/Linux ] Solaris - Hard Disk 추가 및 구성 (0) | 2014.08.14 |
Solaris에서 Package 관리 관련 명령어 (0) | 2014.05.28 |
솔라리스 패키지를 받을 수 있는 곳 (0) | 2013.07.09 |