Hi,
I'd like to create an aix client script for hobbit (hobbitclient-aix.sh).
So I copied the script from sunOS and replaced the command with the aix commands. (prtconf also exists but the result isn't the same).
It looks like I missed something, as the tests becomes purple when I stop the bb client.
I also have such messages in the hobbitclient.log file : Usage: ~hobbit/client/bin/bb [--debug] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT DATA RECIPIENT: IP-address, hostname or URL DATA: Message to send, or "-" to read from stdin
Any idea ? Nicolas Figaro
On Tue, Aug 02, 2005 at 11:11:55AM +0200, FIGARO Nicolas wrote:
I'd like to create an aix client script for hobbit (hobbitclient-aix.sh).
So I copied the script from sunOS and replaced the command with the aix commands. (prtconf also exists but the result isn't the same).
It looks like I missed something, as the tests becomes purple when I stop the bb client.
The client-side script alone is not enough for Hobbit - it needs an update on the Hobbit server to recognize and handle the data sent by the client.
If you could send me your script and the output it generates - there might be a "msg.txt" file in the client/tmp/ directory you can just pick up - I can probably put it into Hobbit very quickly.
Is this AIX 4 or 5 ? And do you know if there's any difference in the output from the commands between these two ?
Regards, Henrik
On Tue, Aug 02, 2005 at 11:11:55AM +0200, FIGARO Nicolas wrote:
So I copied the script from sunOS and replaced the command with the aix commands. (prtconf also exists but the result isn't the same).
prtconf on Solaris is used to pick up the amount of RAM installed.
For AIX your script should include this:
[bootinfo] bootinfo -r [freemem] vmstat 1 2 [pstat] pstat -s
which runs the bootinfo tool to determine the amount of RAM installed, vmstat to determine the amount of free RAM, and pstat to determine the swap statistics. (I don't know one bit about AIX, but this is what the bb-memory add-on uses).
If the other information provided by "bootinfo" might be useful, you can leave out the "-r" option as long as the RAM size is included in the output.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
nfigaro@effigie.fr