歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> solaris CDE上不能使用performance meter?開啟一個服務就行了

solaris CDE上不能使用performance meter?開啟一個服務就行了

日期:2017/2/28 11:09:53   编辑:關於Unix


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
Copyright © Linux教程網 All Rights Reserved