红联Linux门户
Linux帮助

solaris CDE上不能使用performance meter?开启一个服务就行了

发布时间:2008-07-09 00:03:53来源:红联作者:Courage
performance meter 也算是CDE的一大特色,系统运行状况信息一览无余,不管是对于左面用户或者是网站的管理员有很大方便的信息,可是在developer版本中这项功能并不是默认开启的
为了实现这个方便并且很酷的功能,我们要开启一项服务rstat。
下面是man信息
-bash-3.2# man rstatd
Reformatting page. Please Wait... done
System Administration Commands rpc.rstatd(1M)
NAME
rpc.rstatd, rstatd - kernel statistics server
SYNOPSIS
/usr/lib/netsvc/rstat/rpc.rstatd
DESCRIPTION
rpc.rstatd is a server which returns performance statistics
obtained from the kernel. rup(1) uses rpc.rstatd to collect
the uptime information that it displays.
rpc.rstatd is an RPC service.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWrcmds |
|_____________________________|_____________________________|
SEE ALSO
rup(1), svcs(1), inetadm(1M), inetd(1M), svcadm(1M), ser-
vices(4), attributes(5), smf(5)
NOTES
The rpc.rstatd service is managed by the service management
facility, smf(5), under the service identifier:
svc:/network/rpc/rstat:default
Administrative actions on this service, such as enabling,
disabling, or requesting restart, can be performed using
svcadm(1M). Responsibility for initiating and restarting
this service is delegated to inetd(1M). Use inetadm(1M) to
make configuration changes and to view configuration infor-
mation for this service. The service's status can be queried
using the svcs(1) command.
SunOS 5.11 Last change: 4 Nov 2004 1
有了上面这个东西,就不用多做介绍了
可以使用
-bash-3.2# svcadm enable svc:/network/rpc/rstat:default
开启服务,然后就可用了
-bash-3.2# sdtperfmeter 打开面板,也可以单击CDE面板中的图标使用。
-bash-3.2# uname -a
SunOS solaris 5.11 snv_79a i86pc i386 i86pc
文章评论

共有 0 条评论