Next: 6.2 Module Loading and
Up: 6 FCM User Interface
Previous: 6 FCM User Interface
  Contents
Subsections
6.1 Queue Information File Format
To assist in collection of statistics about the queue, a file will be created
by the FCM Router module in the /proc filesystem. Such a file is not
actually a file on disk, but instead provides easy access to information
contained within the kernel module.
The file must provide the following information:
- A unique identifier for the queue
- Current queue size in packets
- Current queue size in Bytes
- Current value for
- Number of packets which have passed through
- Number of packets which have been modified
- The maximum transmission rate as given to the module
- The value of
as given to the module
- The value of
as given to the module
- The maximum size of the queue, in Bytes
In keeping with Linux conventions for files in the /proc filesystem, the
file will be a plain text file which is human readable. The file will be named
fcm_queue and will be found in the directory net of the proc filesystem. Typically this will mean the file is found as /proc/net/fcm_queue.
The file will contain a header line, and then one line for every instance of
the queue which has been created. If the module has been loaded, but not used,
then there will simply be a header line.
An example of the file follows:
id queue_packets queue_bytes p(q) packets_passed packets_modified maxrate bval
q_min limit
0 3 34234 23 56222 53822 10000 10 30 150000
file -> header, line*, EOF
header -> field+, newline
line -> values+
values -> integer+
newline -> '\n'
Next: 6.2 Module Loading and
Up: 6 FCM User Interface
Previous: 6 FCM User Interface
  Contents