關於solairs10的top命令安裝

lixiang114發表於2011-06-22

1、下載top:

2、ftp至/tmp下

3、安裝步驟:
# cd /tmp
# ls
top-3.6.1-sol10-sparc-local.gz
# ls -alrt
total 930
-rw-r--r-- 1 root root 99449 Jun 22 14:48 top-3.6.1-sol10-sparc-local.gz
# gunzip top-3.6.1-sol10-sparc-local.gz
# ls
top-3.6.1-sol10-sparc-local
# ls -l
total 1136
-rw-r--r-- 1 root root 242688 Jun 22 14:48 top-3.6.1-sol10-sparc-local
# pkgtrans top-3.6.1-sol10-sparc-local
usage: pkgtrans [-ionsg] [-k keystore] [-a alias] [-P password] srcdev dstdev [pkg [pkg...]]
# pkgtrans top-3.6.1-sol10-sparc-local .

The following packages are available:
1 SMCtop top
(sparc) 3.6.1

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Transferring package instance
# ls -alrt
total 1218

-rw-r--r-- 1 root root 242688 Jun 22 14:48 top-3.6.1-sol10-sparc-local
drwxrwxrwt 9 root sys 2548 Jun 22 14:50 .
drwxr-xr-x 3 root root 306 Jun 22 14:50 SMCtop
# pkgadd -d ./

The following packages are available:
1 SMCtop top
(sparc) 3.6.1

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance from

top(sparc) 3.6.1
LeFebvre et al

This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.

Using as the package base directory.
## Processing package information.
## Processing system information.
17 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing top as

## Installing part 1 of 1.
[ verifying class ]

Installation of was successful.
# top
last pid: 6997; load avg: 0.23, 0.43, 0.48; up 120+11:58:07 14:51:25
299 processes: 298 sleeping, 1 on cpu
CPU states: 99.9% idle, 0.0% user, 0.1% kernel, 0.0% iowait, 0.0% swap
Memory: 32G phys mem, 15G free mem, 64G total swap, 64G free swap

PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
6997 root 1 52 0 3712K 2144K cpu/24 0:00 0.05% top
9220 oracle 1 59 0 17G 13G sleep 4:33 0.01% oracle
1327 root 68 59 0 198M 102M sleep 66:26 0.00% java
198 root 1 59 0 2688K 1352K sleep 23:56 0.00% in.mpathd
785 noaccess 19 59 0 258M 216M sleep 49:07 0.00% java
24544 root 62 59 0 169M 96M sleep 110:43 0.00% java
416 root 50 59 0 106M 93M sleep 34:50 0.00% java
7 root 16 59 0 20M 16M sleep 1:16 0.00% svc.startd
531 root 4 59 0 12M 7872K sleep 3:38 0.00% inetd
498 root 1 59 0 1664K 944K sleep 0:09 0.00% utmpd
1207 root 1 2 19 1936K 1248K sleep 7:04 0.00% tictimed
788 root 1 100 -20 2976K 1648K sleep 6:12 0.00% xntpd
6748 oracle 258 59 0 17G 3803M sleep 47.2H 0.00% oracle
6750 oracle 11 59 0 17G 3804M sleep 175:41 0.00% oracle
6740 oracle 1 59 0 19M 15M sleep 112:12 0.00% tnslsnr

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7417660/viewspace-1051466/,如需轉載,請註明出處,否則將追究法律責任。

相關文章