Using the sysidcfg File

For the sysidcfg file method, a file for each system is created that contains a set of lines in the form of keyword value, such as timezone US CENTRAL. The file can be available over the network via NFS or on disk mounted in the local disk drive. The following is a list of information that can be defined in the sysidcfg file gt Name service NIS, NIS , DNS, or none along with the hostname and IP address of the server gt Network interface Specify DHCP or specify IP address and netmask instead....

Direct Maps

A direct map provides both mount point and NFS resources. Entries in a direct map consist of three fields gt Key The key is typically a full pathname that is to be used as a mount point. gt Mount options The mount options field contains zero or more comma-separated NFS-specific mount options, as described in Table 15.3. gt NFS resource The NFS resource files takes the form server file system, which identifies a file system shared by the system server. Because more than one NFS server might be...

The Cache File System CacheFS Service

The Cache File System CacheFS is a client-side service that provides the ability to cache a remotely accessed NFS resource locally on the NFS client. This not only speeds up client access to the data but also decreases network traffic and load on the NFS server. After creating a cache, a remote NFS resource can be mounted in the cache. The first time the NFS resource is accessed, data is copied from the remote NFS server into the local cache. Subsequent accesses are from the local cache instead...

The prstat Command

The prstat lM command is used to generate a statistics report on active processes. If used with no command-line arguments, information on all active processes, sorted by CPU usage, is displayed. The report is updated approximately every three seconds until prstat is killed. The following code listing shows the use of the prstat command The prstat command supports command-line arguments that can be used to select the processes to monitor based on Process ID PID , UID of owner, CPU being used,...

Removing a Package Using the pkgrm Command

The pkgrm command is used to remove installed packages. To remove one or more packages, only the package names need to be specified as command-line arguments. For example, to remove the SUNWast package, the following command is used pkgrm SUNWzipS The following package is currently installed SUNWzipS Source for the Info-Zip zip Do you want to remove this package y Removing installed package instance lt SUNWzipS gt Verifying package dependencies. Processing package information. Removing...

The dumpadm Command

The dumpadm command in usr sbin is used to configure the system crash dump operation. By default, the dump device is the swap partition and the savecore directory is var crash system where system is the hostname of the system. The dumpadm command without command-line arguments displays the current crash dump configuration. The dumpadm command-line arguments are described in Table 11.4. The following code shows the dumpadm command, which lists the current crash dump configuration. dumpadm Dump...

Dumping a File System Using the ufsdump Command

The ufsdump command provides several command-line arguments. Most of them relate to changing the default characteristics of the backup media. Table 8.3 lists the more significant command-line arguments of the ufsdump command. Table 8.3 The ufsdump Command-Line Arguments Indicates the dump level 0 is the entire file system . Uses archive_file to store a dump table of contents. Uses cartridge tape instead of standard half-inch reel tape. Uses dump_file instead of dev rmt 0. Uses the specified...