SNMP on AIX 5.3 - aix

I need to monitor a system with AIX 5.3, but can't find a good source for the OIDs.
Does anybody know the OIDs for CPU, Memory and Harddisk values?

The best way to find which OIDs have the numbers you want is to use a tool like snmpwalk.
However, I think the defaults should be something like this:
CPU: 1.3.6.1.2.1.25.3.3.1.2.Index
Storage Types: 1.3.6.1.2.1.25.2.3.1.2.Index
Storage Size: 1.3.6.1.2.1.25.2.3.1.5.Index
Storage Usage: 1.3.6.1.2.1.25.2.3.1.6.Index
It is also helpful to read the RFC's for SNMP, RFC1157, RFC2571, RFC2790

Related

SMBIOS Hard disk

I've read the whole DMTF - SMBIOS Standard Specification but I can't find the HARD DISK and Ethernet PCI Card Type structure using SMBIOS Firmware Tables.
Do you know which Type refers to hard disk and ethernet card, if for example I want to read the Serial Number of the hard disk and MAC?
As you have discovered, this information is not part of the SMBIOS specification.
I'm not sure of your application, but this information is accessible via WMI (Windows Management Instrumentation), assuming you're running Windows. E.g.:
ROOT\CIMV2:Win32_DiskDrive.SerialNumber
ROOT\CIMV2:Win32_NetworkAdapter.MACAddress

How do I set the UEFI memory map for a MacBook with Bad RAM?

I'm trying to fix a friends MacBook Air. We detected bad / corrupt RAM with memtest, but since RAM can't be replaced I was thinking it must be possible to alter the memory map to avoid certain RAM sections like the Linux kernel parameter memmap used to do in older (not UEFI) machines. Some one kindly pointed me towards Clover, but I have been reading the docs and have not found any way to alter the memory map.
The best solution of the original problem is to replace the faulty RAM module, it can be done by any skilled repairman with BGA rework station.
As for the solution mentioned: you can develop a very simple UEFI application that will use gBS->AllocatePages to allocate the faulty memory block completelly as EfiUnusableMemory, so it will automatically be added to UEFI memory map and then call the original Apple's boot.efi loader.

How to check my RAM configuration (Windows 7)?

I would like to check my RAM configuration.
I know it is easy to check the total RAM installed on a computer (eg 32 GB), but is there an easy way to check in Windows if the RAM is e.g. 2x16 GB, 4x8 GB, 8x4 GB or 16x2 GB?
Thank you
There is a simple utility called CPU-Z that will tell you almost anything you need to know, check it out at http://www.cpuid.com/softwares/cpu-z.html. I do not believe there is a similar way to see this information from Windows itself.
If you have access to it, you can usually see this information in the BIOS as well.

how to port uclinux linux to any microcontroller

I have stellaris LM4f232 evaluation borad. I have ported free rtos , sysbios to stellaris lm4f232 board and successfully developed an gps tracking application . But I always wanted to port uc linux for my board . my question are
i) is there any material to port uclinux to any controller
ii)what are necessary knowledge I required to do the same
I have googled a lot . I did n't get the right information, but I have seen posts that its difficult ,but I cant able to realise the same .any help????
iii) what is the road map to achieve it , what are the knowledge I should need to achieve this
Linux, even uCLinux requires considerable memory resources; you'd want to start with at least 2Mb for the boot device and 16Mb of RAM (although a minimal system can be booted in as little as 4Mb). On a microcontroller, this means that you must have external memory.
Another issue is that Cortex-M devices are optimised to run code from on-chip Flash memory, having separate buses for ROM and RAM so that data and instructions can be fetched simultaneously. uClinux must run from external RAM, which has a detrimental effect on the performance, and you will be unlikely to achieve the 1.25MIPS per MHz figure the CM4 is otherwise capable of. It is possible to arrange for time critical code to be placed in on-chip flash is necessary, but it is of course a limited resource.
Some good advice on the issues of deploying Linux on a Cortex-M device can be found here
I would suggest to have a look on buildroot which as far as I know can be build for this board.
adding to #Clifford , you can use u-boot (bootloader) ,already configured for many boards ,if your board is not on list you can edit it.,

Does Redis Db has built-in compression option

Redis is "memory monster". Storing data as "compressed json string" minimizes memory usage.
Is there any built-in compression option in Redis Db?
Redis uses LZF light data compressor at the dump time, so it won't lessen the memory consumption. Implying that the redis does not compresses the data in memory and stores it as a string.You must deploy your own client side compression code.
The lua scripting also provides the compression algorithm but the branch is relatively new and therefore won't be advisable to use at production level.
No, there isn't any runtime compression option.
However, as dan-boa said - it might be a good idea to implement compression on your application side. Doing it that way will let to save CPU on the Redis server. Your Database server won't be affected of cpu time needed for compression.
In one of our Redis cluster we saved like 82% of memory (from circa 340GB to 60GB) thanks to GZIPing our json-based blobs. Some more thoughts about it and other ways of optimizing memory usage can be found in our article:
http://labs.octivi.com/how-we-cut-down-memory-usage-by-82/
Note: link moved to archive.org backup