HOW TO GET CPU USAGE IN BigIP::iControl ?

hi,friends: i want to get the cpu usage by the method that’s get_cpu_usage_extended_information_stringified…but it is error!

500 Internal Server Error at /usr/lib/perl5/site_perl/5.8.8/BigIP/iControl.pm line 599

the code :

!/usr/bin/perl

use warnings;
use strict;
use BigIP::iControl;
use Data::Dumper;

my $ic = BigIP::iControl->new(
                                server          => '10.1.1.1',
                                username        => 'admin',
                                password        => 'abc123',
                                port            => 443,
                                proto           => 'https'
                        );

my $cpu=$ic->get_cpu_usage_extended_information_stringified();
print (Dumper($cpu)."\n");

[abc@localhost F5iControl]$ perl GetConfig.pl 
500 Internal Server Error at /usr/lib/perl5/site_perl/5.8.8/BigIP/iControl.pm line 599
[abc@localhost F5iControl]$

can u help me ?? ths…

I’m not sure about BIGIP::iControl, but here’s some code to do it in Perl with SOAP::Lite. I just updated the System Usage CodeShare sample to include the get_cpu_usage_extended_information() method.

Hope this helps…

-Joe

THINKS FOR YOUR help~o(∩_∩)o… It’s success…

Glad to help!