MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | NAME |
| 2 | dumpallobj |
| 3 | |
| 4 | DESCRIPTION |
| 5 | Write a list of all loaded or cloned objects into the file |
| 6 | OBJ_DUMP, and a list of all destructed objects into the |
| 7 | file DEST_OBJ_DUMP. Both files are located in the root directory of |
| 8 | the mudlib. |
| 9 | |
| 10 | Warning: these files can be very large, and if the driver is low |
| 11 | on memory there is a certain crash probability. |
| 12 | |
| 13 | If the O_IS_WIZARD flag is used in the mudlib (i.e. if |
| 14 | set_is_wizard() was called), this command is allowed only for |
| 15 | users that have this flag set. |
| 16 | |
| 17 | For every live object, a line is written into the file with the |
| 18 | following information in the given order: |
| 19 | - object name |
| 20 | - size in memory, shared data counted only once |
| 21 | - size in memory if data wouldn't be shared |
| 22 | - number of references |
| 23 | - 'HB' if the object has a heartbeat, nothing if not. |
| 24 | - the name of the environment, or '--' if the object has no |
| 25 | environment |
| 26 | - in parentheses the number of execution ticks spent in this |
| 27 | object |
| 28 | - the swap status: |
| 29 | nothing if not swapped, |
| 30 | 'PROG SWAPPED' if only the program is swapped |
| 31 | 'VAR SWAPPED' if only the variabes are swapped |
| 32 | 'SWAPPED' if both program and variables are swapped |
| 33 | - the time the object was created |
| 34 | |
| 35 | For every destructed object, a line is written into the file with the |
| 36 | following information in the given order: |
| 37 | - object name |
| 38 | - number of references |
| 39 | - 'NEW' if the object was destructed in this executiong |
| 40 | thread, nothing if it is older already. |
| 41 | |
| 42 | |
| 43 | HISTORY |
| 44 | LDMud 3.2.9 added the DEST_OBJ_DUMP. |
| 45 | LDMud 3.2.10 added the object creation time to OBJ_DUMP. |
| 46 | |
| 47 | SEE ALSO |
| 48 | malloc(D), status(D), memory(C), objects(C), debug_info(E), |
| 49 | set_is_wizard(E) |