This book describes the C and Java application programming interfaces provided with SolarisTMBandwidth Manager 1.6.
The SolarisTM operating environment runs on two types of hardware, or platforms - SPARCTM and IA. The Solaris operating environment also runs on both 64-bit and 32-bit address spaces. The information in this document pertains to both platforms and address spaces unless called out in a special chapter, section, note, bullet, figure, table, example, or code example.
This book is for programmers developing applications that interact with Solaris Bandwidth Manager.
Chapter 1, Introduction introduces the programming interfaces included with Solaris Bandwidth Manager, and gives examples of how they can be used.
Chapter 2, Using the Java Interfaces explains how to use the JavaTM interfaces included with Solaris Bandwidth Manager. Reference material for these interfaces is provided in JavaDocTM format.
Chapter 3, Using the C Statistics API explains how to use the C programming interface included with Solaris Bandwidth Manager.
Chapter 4, C Statistics API Reference contains reference material for the C API.
Solaris Bandwidth Manager System Administration Guide explains how to plan, configure and manage a network bandwidth management system using Solaris Bandwidth Manager.
Solaris Bandwidth Manager is based on the following Internet standards and proposed standards:
RFC 2474 Definition of the Differentiated Services Field
RFC 2475 An Architecture for Differentiated Services
Fatbrain.com, an Internet professional bookstore, stocks select product documentation from Sun MicrosystemsTM, Inc.
For a list of documents and how to order them, visit the Sun Documentation Center on Fatbrain.com at http://www1.fatbrain.com/documentation/sun.
The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. The URL is http://docs.sun.com.
The following table describes the typographic changes used in this book.
Table P-1 Typographic Conventions
Typeface or Symbol |
Meaning |
Example |
---|---|---|
AaBbCc123 | The names of commands, files, and directories; on-screen computer output |
Edit your .login file. Use ls -a to list all files. machine_name% you have mail. |
AaBbCc123 | What you type, contrasted with on-screen computer output | machine_name% su Password: |
AaBbCc123 | Command-line placeholder: replace with a real name or value |
To delete a file, type rm filename. |
AaBbCc123 |
Book titles, new words, or terms, or words to be emphasized. |
Read Chapter 6 in User's Guide. These are called class options. You must be root to do this. |
The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.
Table P-2 Shell Prompts
Shell |
Prompt |
---|---|
C shell prompt | machine_name% |
C shell superuser prompt | machine_name# |
Bourne shell and Korn shell prompt | $ |
Bourne shell and Korn shell superuser prompt | # |