The cevents utility takes the supplied text file containing the multimedia event descriptions and converts it to a compiled events file.
cevents <inputfile> <outputfile>
cevent32.exe events.txt events.rae
cevents events.txt events.rae</ CODE>
where
-v |
Displays the version information of the ceventscevents utility. |
<inputfile> |
Inputfile has the following format: |
u <starttime> <endtime> <URL>
where each entry is on a single line with each value separated by spaces and where:
<starttime>
is the start time of the event in HH:MM:SS.t
format
<endtime>
is the end time of the event in HH:MM:SS.t
format
<URL>
is the URL of the page for the event
u 00:00:20.0 00:00:59.9 http://204.71.156.200/demo/banner.htm
u 00:01:00.0 00:02:00.0 http://204.71.156.200/demo/pictures.htm
u 00:02:05.0 00:03:00.0 http://204.71.156.200/demo/pictures2.htm
If you are using frames in your synchronized multimedia, you can target a specific frame by putting the name of your target frame in the event file as follows:
u 00:00:20.0 00:00:59.9 &&targetframename&&http://204.71.156.200/demo/banner.htm
u 00:01:00.0 00:02:00.0 &&targetframename&&http://204.71.156.200/demo/pictures.htm
u 00:02:05.0 00:03:00.0 &&targetframename&&http://204.71.156.200/demo/pictures2.htm
kill -HUP <processID>
where <ProcessID>
is the process id of RealServer.
You can reconfigure a running server on a UNIX machine using the command-line
interface. First, change the parameters you want by editing the server.cfg
file. Then use the kill command with the -HUP
flags. This forces
the Server to reload with the new configuration settings.
If you do not know the process id, run ps to obtain it. The parameters for ps depend upon the version of UNIX you are using:
UNIX platform | Command |
BSDI, FreeBSD, LINUX, SunOS | ps -aux | grep pns |
AIX, HP-UX, DEC UNIX, IRIX, SOLARIS | ps -ef | grep pns |
The pnserver command starts RealServer.
pnserver [-v] [-n] [-p port] <configfile>
where:
-v |
Displays the version information of RealServer. This includes the platform, build and release tags used to identify a particular release. |
-n |
(UNIX only) Do not detach from the command terminal. This prevents the server from becoming a daemon process. |
-p port |
Use the supplied TCP port as the connection port for the server. This overrides any configuration file setting. |
<configfile> |
Specifies a file of configuration settings for pnserver. If no file is specified, uses the settings in server.cfg. If another file is specified, settings in this file override values in server.cfg. For information on configuration settings, see Configuring and Maintaining RealServer. |
bin\pnserver server.cfg
bin/pnserver server.cfg
Bandwidth negotiation file converter. The raconv utility takes the supplied files and converts them to the Bandwidth Negotiation naming scheme and places them in the specified directory. More than one file name can be supplied.
raconv [-v] [-f] <file names> directory
where:
-v |
Displays the version information of the utility. This includes the platform, build and release tags used to identify a particular release. |
-f |
Forces raconvraconv to overwrite existing files with the same filenames. |
The file newband.ra is encoded in three formats: RealAudio 2.0 - 28.8, RealAudio 3.0 - ISDN Mono, and RealAudio 3.0 - Dual ISDN Stereo. The files are stored in the following locations:
/usr/rawdata/old28_8/newband.ra
/usr/rawdata/isdnmono/newband.ra
/usr/rawdata/dualisdn/newband.ra
To create these files, issue the following commands:
raconv /usr/rawdata/old28_8/newband.ra /usr/rafiles
raconv /usr/rawdata/isdnmono/newband.ra /usr/rafiles
raconv /usr/rawdata/dualisdn/newband.ra /usr/rafiles
The raconv utility program creates a directory named /usr/rafiles/newband.ra that contains the files 28_8.36, dnet.50, and dnet.100.
System Manager enables remote monitoring and administration of RealServer from the UNIX command line. To connect System Manager to a Server, set hostname to the DNS name or IP address of the Server. If the Server is running on a port other then 7070, specify the port number.
System Manager can monitor a RealServer running on any platform. Information provided by System Manager includes the number and status of Player connections, System Manager connections, Unknown connections (connections currently being negotiated with the Server), and Total connections. This information can then be used to monitor activity on RealServer on a regular basis.
System Manager runs in two modes: interactive and non-interactive. When
the System Manager is in the non-interactive mode, information is automatically
appended to STDOUT every 5 minutes, unless that time span is modified by
the -l
command. The System Manager accepts commands from the
command line; however, it does not prompt you.
The interactive mode is started with the -i
command, which
enables the System Manager to print prompts and accept commands from the
command line.
rssm [-v] [-l <update>] [-p <password>] [-c] [-i] [-k]
<hostname[:port]>
where
-v |
Displays the version information of the System Manager. This includes the platform, build and release tags used to identify a particular release. |
-l update |
Sets the update period for output to the screen to update seconds. |
-p password |
Provides the password required by System Manager to connect to the Server.
If this option is not used the System Manager prompts for the password.
This feature is not secure. The password is easily accessible to knowledgeable
searchers. The password is required each time you want to start monitoring
a Server. You can include -p <password> in the rssm
command line in automatic monitoring scripts to avoid having to enter the
password interactively. |
-c |
Connects to the server to verify it is still accepting connections and then exits. Prints a message if the connection fails and the exit status is non-zero. |
-i |
Starts interactive mode and permits entry of the commands listed in the command section. |
-k |
Does DNS lookups on incoming IP addresses to translate them to full domain names. This command can slow down responses on System Manager. If you are experiencing delays in System Manager information or in response to commands, make sure that this feature is turned off. |
After starting System Manager in interactive mode by using the -i
command-line option, you can enter any of the following interactive commands
at the System Manager prompt (>):
Command | Function |
c |
Displays the current configuration after it has been retrieved using the
t command. |
e |
Resets peak usage value. |
g |
Displays the time that the peak usage value was last reset. |
h or ? |
Prints a list of commands. |
i |
Prints the Server's version number and platform. |
k |
Begins collating hostname information for connected clients by doing reverse DNS lookups on the IP numbers provided by the Server. |
l |
Provides the current list of connected clients. |
n |
Modifies a Server configuration variable. |
o |
Prints # of Players, Server MonitorServer Monitors, unknowns, and total
connections to STDOUT every five minutes, or the number of seconds specified
by the -l option on the command line. This command can be toggled
to start and stop. |
p |
Prints Server license information. |
s |
Prints a single line of summarized status information. |
u |
Continuous display. Updates whenever a client status changes. |
x |
Exit the program. |
System Manager displays the information about clients connected to the Server in the following format:
<client> <name>
where:
<client>
is the type of client connected (Manager
or Player).
<name>
is the domain name or IP address of that client.
For example, a client listing might look like:
Manager 204.71.154.93
Player 204.71.153.24
If you prefer to receive System Manager information in a report, use
the -l
option and append the output to a file. To do this,
use the following command:
rssm -l<seconds> <hostname>[:port] >> <reportname.txt>
where:
<seconds>
is the number of seconds between reports.
<hostname>
is the name of the computer you are collecting
data from.
<reportname.txt>
is the name of the report that the
information is appended to.
To monitor a RealServer in interactive mode, with updates every 20 seconds and fully qualified host names for clients, use the following command:
rssm -l 20 -k -i yourServer:7070