Next: , Previous: , Up: Dot-Commands   [Contents][Index]


7.9 .info

The .info command provides information about several kinds of entities. The recognized sub commands are:

.info ios

Display a list of open files.

(poke) .info ios
Id	Mode	Size		Name
* #0	rw	0x00000022#B	foo.bson
#1	r	0x0000df78#B	foo.o

The file acting as the current IO space is marked with an asterisk character * at the beginning of the file. The mode in which the file is open is also specified. The Id field is the tag of the file that can be passed to the .file command in order to switch to it as the new current IO space:

(poke) .ios #1
The current file is now `foo.o'.
(poke) .info ios
  Id	Mode	Size		Name
  #0	rw      0x00000022#B	foo.bson
* #1	r       0x0000df78#B	foo.o
.info variable

Shows a list of defined variables along with their current values and the location where the variables were defined.

.info function

Shows a list of defined functions along with their prototypes and the location where the functions were defined.