Note that purging the code means that any processes
+
Notice that purging the code means that any processes
lingering in old code for the module are killed without
- warning. See code/3 for more information.
+ warning. For more information, see code/3.
+
- Change working directory
+ Change working directory.
-
Changes working directory to Dir, which may be a
+
Changes working directory to Dir, which can be a
relative name, and then prints the name of the new working
directory.
+
Example:
2> cd("../erlang").
/home/ron/erlang
+
- Flush any messages sent to the shell
+ Flush any messages sent to the shell.
Flushes any messages sent to the shell.
+
- Help information
+ Help information.
Displays help information: all valid shell internal commands,
and commands in this module.
+
- Information about the system
+ System information.
-
i/0 displays information about the system, listing
+
i/0 displays system information, listing
information about all processes. ni/0 does the same,
but for all nodes the network.
+
- Information about pid <X.Y.Z>
+ Information about pid <X.Y.Z>.
Displays information about a process, Equivalent to
- process_info(pid(X, Y, Z)), but location transparent.
+ process_info(pid(X, Y,
+ Z)), but location transparent.
+
- Load or reload module
+ Load or reload a module.
Purges and loads, or reloads, a module by calling
code:purge(Module) followed by
code:load_file(Module).
-
Note that purging the code means that any processes
+
Notice that purging the code means that any processes
lingering in old code for the module are killed without
- warning. See code/3 for more information.
+ warning. For more information, see code/3.
+
lc(Files) -> ok
- Compile a list of files
+ Compile a list of files.Files = [File]
- File = file:filename()
-
+ File
-
Compiles a list of files by calling compile:file(File, [report_errors, report_warnings]) for each File
- in Files.
+
Compiles a list of files by calling
+ compile:file(File, [report_errors, report_warnings]) for each
+ File in Files.
+
For information about File, see
+ file:filename().
+
+
- List files in the current directory
+ List files in the current directory.
Lists files in the current directory.
+
- List files in a directory or a single file
+ List files in a directory or a single file.
-
Lists files in directory Dir or, if Dir is a file, only list it.
+
Lists files in directory Dir or, if Dir
+ is a file, only lists it.
+
- Which modules are loaded
+ Which modules are loaded.
Displays information about the loaded modules, including
the files from which they have been loaded.
+
- Information about a module
+ Information about a module.
Displays information about Module.
+
- Memory allocation information
+ Memory allocation information.
Memory allocation information. Equivalent to
- erlang:memory/0
- .
Memory allocation information. Equivalent to
- erlang:memory/1
- .
+ erlang:memory/1.
+
- Compile and load code in a file on all nodes
+ Compile and load code in a file on all nodes.
Compiles and then loads the code for a file on all nodes.
- Options defaults to []. Compilation is equivalent to:
+ Options defaults to [].
+ Compilation is equivalent to:
compile:file(File, Options ++ [report_errors, report_warnings])
+
- Load module on all nodes
+ Load module on all nodes.
Loads Module on all nodes.
+
- Convert X,Y,Z to a pid
+ Convert X,Y,Z to a pid.
-
Converts X, Y, Z to the pid
- ]]>. This function should only be used when
- debugging.
+
Converts X, Y,
+ Z to pid ]]>.
+ This function is only to be used when debugging.
+
- Print working directory
+ Print working directory.
Prints the name of the working directory.
+
- Quit - shorthand for init:stop()
+ Quit - shorthand for init:stop().
This function is shorthand for init:stop(), that is,
it causes the node to stop in a controlled fashion.
+
- Information about registered processes
+ Information about registered processes.
regs/0 displays information about all registered
processes. nregs/0 does the same, but for all nodes
in the network.
+
- Print node uptime
+ Print node uptime.
-
Prints the node uptime (as given by
- erlang:statistics(wall_clock)), in human-readable form.
+
Prints the node uptime (as specified by
+ erlang:statistics(wall_clock)) in human-readable form.