Technical data

Chapter 3
Diagnostics
Shelf Manager (ShMM) Diagnostics User Interface
137
# mem01
Free Mem: 35 Mb
Free Swap: 0 Mb
Total Free: 35 Mb
Total Tested: 35 Mb
mem01 0 INFO : touching 35MB of malloc'ed memory (linear)
mem01 1 PASS : malloc - alloc of 35MB succeeded
# mem01 -r -v
Free Mem: 35 Mb
Free Swap: 0 Mb
Total Free: 35 Mb
Total Tested: 35 Mb
mem01 0 INFO : touching 35MB of malloc'ed memory (random)
....................................................................................
....................................................................................
....................................................................................
....................................................................................
...............................
mem01 1 PASS : malloc - alloc of 35MB succeeded
mem02
The mem02 allocates a 4 MB chunk of memory and verifies that the memory: can be properly zeroed, can be
written to, and can be freed. Mem02 catches memory subsystem errors. The mem02 test cannot check memory
that is currently in use by the system and user space applications. The mem02 test has no options.
The test returns 0 on success and 1 on any error. All failures are reported with a FAIL message.
# mem02
mem02 1 PASS : calloc - calloc of 4MB of memory succeeded
mem02 2 PASS : malloc - malloc of 4MB of memory succeeded
mem02 3 PASS : realloc - realloc of 256MB succeeded
mem02 4 PASS : realloc - realloc of 256MB succeeded
CPU Error Daemon
In order for the errors to be reported, syslogd and klogd must both be running. The following error types
are monitored:
Table 3-2 CPU Error Types
Exception Description
Mod TLB modification exception