Solaris: top to be replaced by prstat
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....
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
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.
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
participants (2)
-
henrik@hswn.dk
-
ndo@unikservice.com