** package 설치시 경로를 지정할수 없음 (/usr/local/bin/)
** 리눅스pakage : RPM / Compile
bash-2.05# ls /tmp
dtdbcache_:0 top-3.6.1-sol9-x86-local.gz
sdtvolcheck425
bash-2.05# ls
dtdbcache_:0 top-3.6.1-sol9-x86-local.gz
sdtvolcheck425
bash-2.05# gunzip top-3.6.1-sol9-x86-local.gz --패키지 압축 풀기
bash-2.05# ls
dtdbcache_:0 sdtvolcheck425 top-3.6.1-sol9-x86-local
bash-2.05# pkgadd -d top-3.6.1-sol9-x86-local --패키지 설치
The following packages are available:
1 SMCtop top
(x86) 3.6.1
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all
Processing package instance <SMCtop> from </tmp/top-3.6.1-sol9-x86-local>
top
(x86) 3.6.1
LeFebvre et al
The selected base directory </usr/local> must exist before
installation is attempted.
Do you want this directory created now [y,n,?,q] y
Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing top as <SMCtop>
## Installing part 1 of 1.
/usr/local/bin/top
/usr/local/doc/top/Changes
/usr/local/doc/top/FAQ
/usr/local/doc/top/INSTALL
/usr/local/doc/top/LICENSE
/usr/local/doc/top/README
/usr/local/doc/top/Y2K
/usr/local/man/man1/top.1
[ verifying class <none> ]
Installation of <SMCtop> was terminated due to user request.
bash-2.05# cp /usr/local/bin/top /usr/bin --리눅스는 기본으로 있지만 솔라리스는 없어서 복사해줌
bash-2.05# top --3초마다 자동 refresh/ shift + P : 가장 사용 많이하는 순서대로 정렬 / kill [PID]
last pid: 602; load avg: 0.25, 0.16, 0.07; up 0+02:02:31 11:41:16
59 processes: 58 sleeping, 1 on cpu
CPU states: 100% idle, 0.0% user, 0.0% kernel, 0.0% iowait, 0.0% swap
Memory: 1024M phys mem, 867M free mem
PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
325 root 1 59 0 20M 19M sleep 0:10 0.00% Xsun
304 root 7 59 0 4660K 1632K sleep 0:10 0.00% mibiisa
599 root 1 59 0 1824K 1068K cpu 0:03 0.00% top
420 root 1 49 0 17M 12M sleep 0:01 0.00% dtfile
418 root 5 59 0 24M 19M sleep 0:01 0.00% dtwm
468 root 1 39 10 6212K 1888K sleep 0:00 0.00% dtscreen
421 root 1 49 0 21M 16M sleep 0:00 0.00% dthelpview
415 root 2 49 0 21M 14M sleep 0:00 0.00% dtsession
423 root 1 59 0 15M 10M sleep 0:00 0.00% sdtperfmeter
414 root 1 59 0 7088K 3008K sleep 0:00 0.00% ttsession
327 root 1 59 0 8788K 2552K sleep 0:00 0.00% dtlogin
379 root 2 59 0 5960K 2320K sleep 0:00 0.00% htt_xbe
561 root 1 59 0 7960K 2288K sleep 0:00 0.00% sshd
262 root 26 59 0 7880K 2244K sleep 0:00 0.00% htt_server
187 root 3 59 0 6352K 2232K sleep 0:00 0.00% automountd
bash-2.05#
'os > Solaris' 카테고리의 다른 글
[실습] NFS (서버, 클라이언트) (0) | 2014.08.29 |
---|---|
[실습] NFS를 활용한 백업서버 구현 (0) | 2014.08.29 |
[실습] 파티션, 포맷, 마운트 (0) | 2014.08.29 |
22. NFS (Network File System) (0) | 2014.08.29 |
21. 가상파일시스템 (Pseudo) (0) | 2014.08.29 |
댓글