Previous PageNext Page

Chapter 6 - Tools and Utilities


UNIX System V/386 Release 3.2 System Administrator's Reference Manual
UNIX System V/386 Release 3.2 User's Guide

Commands in /bin

Standard UNIX Commands

-x - Displays the name of the kernel.

-z - Displays memory usage by process.

Displaying the Kernel Name with ps -x

Displaying Memory Usage by Process with ps -z


0x01: This process cannot be swapped out

0x02: The parent process is tracing this process.

0x04: The tracing parent's signal has stopped the process.

0x08: The process is currently in primary memory.

0x10: The process is currently in primary memory, but is waiting for the completion of an event.

0x00: The process has been terminated.

O: This process is currently executing on the processor.

S: The process is sleeping. It is waiting for completion of an event, usually I/O.

R: The process is ready to run and is on the run queue.

I: The process is currently idle. An idle status indicates that the process is being started.

Z: The process is in a zombie state. It has terminated but its parent is not waiting.

T: The process has been stopped by its parent and is being traced.

X: SXBRK state. The process is waiting for more memory to become available.

SIZE = n0/n1, OH=n2, REAL= n3, FREE=n4, WORKING SET = n5

Banyan UNIX Commands

Finds logical disks in the server.
Checks each disk for a VINES-compatible structure.
Checks the integrity of the UNIX file system.
If necessary, runs fsck to analyze the current logical disk. (This takes a long time on a system with large disks.)
Mounts file systems.
Locates the tape drive and creates dev nodes for it.


uniquename banyan /disk1

Whether it is running or stopped
Where the service executable is located
Where the service meta-data is located
Where the service data is located

The name of the server
The hardware platform of the server (such as V386, PS/2, etc)
The serial number of the server
The name of the software product ("Classic" for VINES, "ENS W" for any other product)
The software revision of the server


System Crashes on PC-Based Servers

Figure 6-1. Banyan Debugger Console Screen

System Debugger Commands

Saving the System Memory Dump to Tape

1. When the server enters the debugger, write down any information that is displayed on the screen.

2. Insert a tape cartridge in the tape drive. Make sure the tape is not write-protected.

3. Enter tapedump (in lowercase letters). The contents of memory are written to tape.

After the memory dump, a message is displayed that tells you to not remove the tape because the system must later dump the kernel and driver symbols to that tape. Do not remove the tape from the drive.

After the tape dump, the system automatically reboots. After the drivers are loaded into the kernel as part of the reboot, the system writes the kernel and the driver symbols to tape.

4. After the system is running, remove the tape cartridge, set the write-protect switch on the tape cartridge, and label and date the tape cartridge.

5. Report the problem to your Banyan support representative. You may be asked to send in the tape.

Saving the System Memory Dump to Diskettes

1. When the system enters the debugger, write down the information on the screen.

2. Enter sysdump to perform a system memory dump to disk. When the dump is complete, the system displays a message telling you to power off or reboot the server.

3. Power off the server, then power it on.

4. When the system begins to reboot, it examines the disks and warns you that a system image dump has been saved to disk. You are asked if you want to save the dump on diskettes.

If you answer N, the reboot continues.

If you answer Y, continue with the next step.

5. If you answered Y at step 4, the number of diskettes required is displayed. Note that you must use high-density, formatted diskettes. To continue, answer Y.

6. You are prompted for the required number of diskettes. Be sure to label the diskettes in the proper numerical sequence. After the final diskette, the reboot continues normally.

7. Report the problem to your Banyan support representative. You may be asked to send in the diskettes.

Previous PageTop Of PageNext Page