On 27/03/2012, at 5:36 PM, Thomas Eckardt wrote:

> run the following command lines
> 
> perl -e 'use Sys::MemInfo; print Sys::MemInfo::totalmem();'
> perl -e 'use Sys::MemInfo; print Sys::MemInfo::totalswap();'
> 
> I assume the first line will run the second not - I'm right ?
> 
You guessed it!

$ perl -e 'use Sys::MemInfo; print Sys::MemInfo::totalmem();'
4293013504
$ perl -e 'use Sys::MemInfo; print Sys::MemInfo::totalswap();'
Use of inherited AUTOLOAD for non-method Sys::MemInfo::totalswap() is 
deprecated at -e line 1.
Can't locate auto/Sys/MemInfo/totalswap.al in @INC (@INC contains: 
/Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 
/Network/Library/Perl/5.12/darwin-thread-multi-2level 
/Network/Library/Perl/5.12 
/Library/Perl/Updates/5.12.3/darwin-thread-multi-2level 
/Library/Perl/Updates/5.12.3 
/System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level 
/System/Library/Perl/Extras/5.12 .) at -e line 1


> I'll try to find a workaround for that. It seems that 'totalswap()' is 
> unsupported on your platform. How ever - I can't find any hint for that in 
> the module docu.
> Or .... ??? Is it possible that the running user has no permission to get 
> system access to the OS - swap - functions ? Try root !

Tried it with 'sudo' at the front. No change.
> 
> For now - switch off the module in the module config section of the GUI 
> and restart assp.

Or just not press the 'SMTP Connections' button?

Thanks,

James.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to