Xymon Mailing List Archive search

Solaris: top to be replaced by prstat

4 messages in this thread

list Nicolas Dorfsman · Tue, 20 Jun 2006 23:57:14 +0200 ·
	Hi,

	I want to replace top in hobbitclient by prstat (/usr/bin/prstat - 
can 20 1 1).

	I can't find where is used the top result to generate the cpu page.

	Help....
list Henrik Størner · Wed, 21 Jun 2006 07:49:34 +0200 ·
quoted from Nicolas Dorfsman
On Tue, Jun 20, 2006 at 11:57:14PM +0200, Nicolas Dorfsman wrote:
	I want to replace top in hobbitclient by prstat 
(/usr/bin/prstat -can 20 1 1).

	I can't find where is used the top result to generate the cpu page.
The easiest way would be to just put this command into the TOP setting
in your clients' hobbitclient.cfg file.

In fact, this makes so much sense that I've made the client
configuration script look for prstat, and use this if it is available.


Regards,
Henrik
list Nicolas Dorfsman · Wed, 21 Jun 2006 08:26:27 +0200 ·
quoted from Henrik Størner
Le 21 juin 06 à 07:49, Henrik Stoerner a écrit :
On Tue, Jun 20, 2006 at 11:57:14PM +0200, Nicolas Dorfsman wrote:
	I want to replace top in hobbitclient by prstat
	(/usr/bin/prstat -can 20 1 1).

	I can't find where is used the top result to generate the cpu page.
The easiest way would be to just put this command into the TOP setting
in your clients' hobbitclient.cfg file.

In fact, this makes so much sense that I've made the client
configuration script look for prstat, and use this if it is available.

Thks.

Another thing you may check in config script would be the presence of  
forté cc instead of gcc.
list Nicolas Dorfsman · Wed, 21 Jun 2006 09:16:11 +0200 ·
quoted from Nicolas Dorfsman

Le 21 juin 06 à 07:49, Henrik Stoerner a écrit :
On Tue, Jun 20, 2006 at 11:57:14PM +0200, Nicolas Dorfsman wrote:
	I want to replace top in hobbitclient by prstat
	(/usr/bin/prstat -can 20 1 1).

	I can't find where is used the top result to generate the cpu page.
The easiest way would be to just put this command into the TOP setting
in your clients' hobbitclient.cfg file.

hobbitclient-sunos.sh should also be modified to remove "-b 20"


Nicolas