关于solairs10的top命令安装

1、下载top:ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/top-3.6.1-sol10-sparc-local.gz

2、ftp至/tmp下

3、安装步骤:
root@eagle# cd /tmp
root@eagle# ls
top-3.6.1-sol10-sparc-local.gz
root@eagle# ls -alrt
total 930
-rw-r--r-- 1 root root 99449 Jun 22 14:48 top-3.6.1-sol10-sparc-local.gz
root@eagle# gunzip top-3.6.1-sol10-sparc-local.gz
root@eagle# ls
top-3.6.1-sol10-sparc-local
root@eagle# ls -l
total 1136
-rw-r--r-- 1 root root 242688 Jun 22 14:48 top-3.6.1-sol10-sparc-local
root@eagle# pkgtrans top-3.6.1-sol10-sparc-local
usage: pkgtrans [-ionsg] [-k keystore] [-a alias] [-P password] srcdev dstdev [pkg [pkg...]]
root@eagle# 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
root@eagle# 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
root@eagle# 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.
root@eagle# 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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7417660/viewspace-1051466/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值