Running the GhostCast Server from the command-line

The syntax for running GhostCast Server from the command-line is as follows:

ghostsrv filename session [options]

Where filename specifies the path and file name of a disk image file and session specifies the session name.

Table 1-1 lists the GhostCast Server command-line switches.

Table 1-1 GhostCast Server switches
Switch
Description
-Ncount
Starts the GhostCast transmission after count clients have joined the session.
-Ttime
Starts sending to a session automatically after a specified time (24-hour hh:mm format), with a maximum of 24 hours.
-Ominutes
Starts transmission minutes after the last client connection.
-Llevel
Creates a log file specifying log level E, S, W, I, or A.
-Ffilename
Specifies log file name for the -L option and is by default, Ghostlog.txt.
-C
Closes ghostsrv application after GhostCast session completion.
-D
Uses create from client mode, restore to client is the default.
-R
Restarts the GhostCast session on completion, waits for client connections again after GhostCasting is complete.
-P
Specifies partition mode operation. If restoring to clients, the partition number must be given, if creating an image from client, no partition number is required.
-Mxxx.xxx.xxx.xxx
Sets the multicast address to xxx.xxx.xxx.xxx, addresses between 224.0.2.0 - 239.255.255.255 are valid.
-Mxxx.xxx.xxx.xxx-xxx.xxx.xxx.xxx
Specifies a range of multicast addresses, the address is chosen from within this range. Addresses between 224.0.2.0 - 239.255.255.255 are valid.
-DISKnumber
Specifies the client disk number to which to restore or create the image file.
-PARTnumber
Specifies the client partition number to which to restore or create the image file.
-Gswitch
Specifies switches to include in the command-line and those used by the Ghost application.
-HLxxx
Sets the maximum amount of bandwidth consumed while restoring an image, where xxx is the number of megabytes per minute.
-HDxxx
Sets the maximum amount of bandwidth consumed while creating an image, where xxx is the number of megabytes per minute.
-TTLxxx
Sets the multicasting time to live.