Previous Topic

Next Topic

Operating System Utilities

Many operating systems provide utilities to administer and troubleshoot. Most of the operating systems provide context sensitive help to use the tools.

Previous Topic

Next Topic

Windows Operating System Utilities

You can use the following Windows operating system utilities to monitor Ingres:

For a full description of the Windows utilities, see your Windows documentation.

Previous Topic

Next Topic

Windows Diagnostics

The Windows Diagnostics program can help you determine your operating system's configuration. This tool can be found in Settings, Control Panel, Administrative Tools, Computer Management.

Previous Topic

Next Topic

Windows Performance Monitor

Performance Monitor is a Windows graphical tool for measuring the performance of your own computer or other computers on a network. On each computer, you can view the behavior of objects such as processors, memory, cache, threads, and processes. Each of these objects has an associated set of counters that provide information on such things as device usage, queue lengths, and delays, as well as information used for throughput and internal congestion measurements.

It provides charting, alerting, and reporting capabilities that reflect current activity along with ongoing logging. You can also open log files at a later time for browsing and charting as if they were reflecting current activity. To monitor performance on Windows, see the operating system documentation.

Previous Topic

Next Topic

Windows Event Viewer

Event Viewer is a tool for monitoring events in your system. You can use Event Viewer to view and manage System, Security, and Application event logs. To access the Event Viewer, right-click on the My Computer icon and select Manage. The Computer Management Window is displayed. The Event Viewer is available under the System Tools.

Previous Topic

Next Topic

Windows Registry Editor

This program can be used to view the system configuration and environment. For a description of how the information is presented and the capabilities of the utility, see the online help.

Previous Topic

Next Topic

Use REGEDIT32

To start the Registry Editor, run REGEDT32.EXE from File Manager or Program Manager, or type start REGEDT32 in a command window. The Registry Editor program has a similar view to the File Manager program.

Previous Topic

Next Topic

Windows Task Manager

The Task Manager enables you to monitor and control your computer and what is running on it. It shows you programs and processes that are running as well as performance. To access the Task Manager, right click an empty area in the task bar and click Task Manager.

Previous Topic

Next Topic

UNIX Operating System Utilities

You can use the following UNIX operating system utilities to monitor Ingres:

For a full description of the UNIX options, see your UNIX documentation (or online help). A detailed description of the utilities can be found in the Command Reference Guide.

Note: Not all of the utilities are present on every UNIX system. Some are present only in a BSD or System V environment but not both.

Previous Topic

Next Topic

ps

This command provides virtual memory and cpu information on each active process submitted from your account. Here is a sample ps output:

PID   TT  STAT  TIME  SL  RE  PAGEIN  SIZE   RSS   LIM   %CPU   %MEM   COMMAND
xx06  p3   s   28:50  13  99   45886  3696   2856   xx    0.0   39.3   iidbms
xx94  p3   s    4:24   0  99    2899   720    344   xx    0.0    4.7   dmfrcp
xx09  p3   I    0.51  99  99    4488     4    184   xx    0.0    2.5   iislave
xx19  p3   I    0.57  99  99    5764    64     17   xx    0.0    2.4   iislave
xx96  p3   I    0.04  99  99    1852   696    160   xx    0.0    2.2   dmfacp

The display fields are as follows:

Field

Description

PID

Process ID field

TT

Controlling terminal

STAT

Process status

Runnability of the process: Runnable (r), Stopped (t), Disk or other short-term wait (d), Sleeping (s), or Idle (i)

Swap status: Swapped out (w) or Loaded in core (blank)

Process priority change: Reduced (n), Increased (>) or No change (blank)

SL

Sleep time (seconds blocked)

RE

Residency time (seconds in core)

PAGEIN

Number of disk I/Os resulting from page references not in core

SIZE

Virtual process size

RSS

Resident set size

LIM

Soft memory limit (setrlimit), else "xx"

%CPU

CPU utilization (1 minute decaying average)

%MEM

Memory utilization

COMMAND

Process name

Previous Topic

Next Topic

iostat

The iostat command returns information about I/O status. It lists statistics on current I/O activity for each disk device and system CPU utilization percentages. Here is a sample iostat output:

tty cpu
tin    tout    us    ni    sy    id
  1      18    19     0     3    78 

/dev/*dsk/c0d*s*/dev/*dsk/cld*s*/dev/*dsk/c2d*s*/dev/*dsk/c4d*s*
bps   sps   msps  bps   sps   msps   bps   sps   msps   bps   sps   msps
 2    0.1   61.7   1    0.0   95.5    1    0.0   60.4    2    0.2   44.3

Previous Topic

Next Topic

pstat (BSD)

Print Statistics utility is useful for examining system tables and system swap space.

The command /etc/pstat –s, shows system swap space activity. An example output:

589944 used, 667364 free, 61864 wasted
avail (num*size): 316*2048 5*1024 6*512 13*256 21*128 38*64 54*32

Note: For a description of the output units, see your operating system guide or online MAN pages. On some machines output is in bytes (as in this example). On others it is in units equal to the machine's page size.

The command /etc/pstat -T gives a list of used and free slots in various system tables. Here is a sample output:

1717/3216 files
937/2384 inodes
333/1300 processes
266/325 mfiles
595176/1256780 swap

The pstat utility can be used to give other useful information if the user has knowledge of the UNIX kernel. It can tell you, for example, the state of a running process, which files are open, which operating system locks apply and which processes have which files open.

Previous Topic

Next Topic

sar (System V)

The sar (System Activity Reporter) command can be used to list CPU utilization statistics, disk and swapping activity, and other status options. The UNIX sar command samples cumulative activity counters in the operating system and reports on various system activities. Just a few of the reports available that are of use for the system administrator are CPU utilization, disk activity, and swapping activity. See examples below.

There are many other options available, including reports on unused memory pages and disk blocks (swap space), and message and semaphore activity. For the system administrator, sar is an indispensable tool.

Previous Topic

Next Topic

sysdef (System V)

The /etc/sysdef (System Definition) command (implemented only on some System V operating systems) displays a list of all tunable kernel parameters and their configuration in the currently active kernel. Here is a sample sysdef output:

Tunable Kernel Parameters:

  250   buffers in buffer cache (NBUF)
   30   entries in callout table (NCALL)
  150   inodes (NINODE)
  150   s5inodes (NS5INODE)
  150   entries in file table (NFILE)
   25   entries in mount table (NMOUNT)
  100   entries in proc table (NPROC)
  210   entries in shared region table (NREGION)
  120   clist buffers (NCLIST)
   25   processes per user id (MAXUP)
   64   hash slots for buffer cache (NHBUF)
   20   buffers for physical I/O (NPBUF)
   50   size of system virtual space map (SPTMAP)
   16   fraction of memory for vhandlow (VHNDFRAC)
    0   maximum physical memory to use (MAXPMEM)
   10   auto update time limit in seconds (NAUTOUP)
   60   maximum number of open files per process (NOFILES)
  256   number of streams queues (NQUEUE)
   48   number of streams head structures (NSTREAM)
    4   number of 4096 bytes stream buffers (NBLK4096)
   32   number of 2048 bytes stream buffers (NBLK2048)
   32   number of 1024 bytes stream buffers (NBLK1024)
   32   number of 512 bytes stream buffers (NBLK512)
   64   number of 256 bytes stream buffers (NBLK256)
  128   number of 128 bytes stream buffers (NBLK128)
  256   number of 64 bytes stream buffers (NBLK64)
  256   number of 16 bytes stream buffers (NBLK16)
  128   number of 4 bytes stream buffers (NBLK4)

 2560   maximum size of user's virtual address space in pages (MAXUMEM)
 2560   for package compatibility equal to MAXUMEM (MAXMEM)
   25   page stealing low water mark (GPGSLO)
   40   page stealing high water mark (GPGSHI)
    9   page aging interval (AGEINTERVAL)
    1   bdflush run rate (BDFLUSHR)
   25   minimum resident memory for avoiding deadlock (MINARMEM)
   25   minimum swappable memory for avoiding deadlock (MINASMEM)
    1   maximum number of pages swapped out (MAXSC)
    1   maximum number of pages saved (MAXFC)

 *
 * Utsname Tunables
 *
     3.2  release (REL)
chipmunk  node name (NODE) 
chipmunk  system name (SYS)
       2  version (VER) 


* Streams Tunables 
*
   87 number of multiplexor links (NMUXLINK)
    9 maximum number of pushes allowed (NSTRPUSH)
  256 initial number of stream event calls (NSTREVENT)
    1 page limit for event cell allocation (MAXSEPGCNT)
 4096 maximum stream message size (STRMSGSZ)
 1024 max size of ctl part of message (STRCTLSZ)
   80 max low priority block usage (STRLOFRAC)
   90 max medium priority block usage (STRMEDFRAC) 


* RFS Tunables 
*
  10 entries in server mount table (NSRMOUNT)


* IPC Messages 
*
  100  entries in msg map (MSGMAP)
 2048  max message size (MSGMAX)
 4096  max bytes on queue (MSGMNB)
   50  message queue identifiers (MSGMNI)
    8  message segment size (MSGSSZ)
   40  system message headers (MSGTQL)
 1024  message segments (MSGSEG)

* IPC Semaphores 
*
   10  entries in semaphore map (SEMMAP)
   10  semaphore identifiers (SEMMNI)
   60  semaphores in system (SEMMNS)
   30  undo structures in system (SEMMNU)
   25  max semaphores per id (SEMMSL)
   10  max operations per semop call (SEMOPM)
   10  max undo entries per process (SEMUME)
32767  semaphore maximum value (SEMVMX)
16384  adjust on exit max value (SEMAEM) 


* IPC Shared Memory 
*
 1048576 max shared memory segment size (SHMMAX)
       1 min shared memory segment size (SHMMIN)
     100 shared memory identifiers (SHMMNI)
       6 max attached shm segments per process (SHMSEG)
     512 max in use shared memory (SHMALL) 

* File and Record Locking 
*
   100 records configured on system (FLCKREC)

Previous Topic

Next Topic

vmstat

The vmstat (Virtual Memory Statistics) command returns virtual memory status information, including process states and paging activity. Here is a sample vmstat output:

procs      memory           page     disk      faults    cpu
r b w avm  fre di  re rd pi po de z0 z1 z2 z3 in sy cs us sy id
1 0 0 2536 456 24  2  1  4  0  0  1  1  0  1 24 475 23  4  6 91
0 0 0 2748 356 24  0  0  0  0  0  2  0  0  3 26 323 29  1  5 95
0 0 0 1044 344 24  0  0  0  0  0  0  0  0  0 16 216 18  0  3 97
0 0 0 2288 344 24  0  0  0  0  0  0  0  0  0 19 334 27  1  4 95
1 0 0 2372 332 24  0  0  4  0  0  0  0  0  1 28 552 40  1  6 93

The procs columns define the process states: in run queue (r), blocked for resources (b), and runnable or short sleeper (w).

The memory columns show virtual and real memory status: avm is active virtual pages (belonging to processes active in approximately the last 20 seconds), fre is size of the free list, and di is the number of dirty pages.

The page columns show page faults and paging activity. These are expressed in units per second, averaged over 5 seconds: re are page reclaims, rd are page reclaims from the dirty list, and pi, po are pages paged in/out. The de field is anticipated short-term memory shortfall.

The disk columns list disk activity, showing the device name and operations per second.

Previous Topic

Next Topic

VMS Operating System Utilities

VMS utilities vary depending on the operating system release. For detailed information on utilities supported by your system, see your operating system guides (or online help).

Previous Topic

Next Topic

help

The VMS online help facility (help) provides information on the specified command. The syntax is help command.

Previous Topic

Next Topic

monitor

The VMS monitor utility returns dynamic information about VMS system performance for a specified component. Some of the most useful components to monitor are:

Previous Topic

Next Topic

show

The VMS show utility returns process and other VMS system status information on a specified component. Qualifiers (/qualifier) are used on certain components, as shown in the examples that follow. Some useful forms of the VMS show command appear in the following list.

Previous Topic

Next Topic

sysgen

The VMS sysgen utilitty displays system configuration parameters. To run this utility, execute the following command at the operating system prompt:

run sys$system:sysgen

For a full description of the system definitions, see your VMS System manual.

Previous Topic

Next Topic

Vendor Utilities

Many vendors also provide monitor utilities. These often present a more user-friendly interface than the generic utilities mentioned above. Check your operating system documentation for availability of these useful vendor-specific utilities.


© 2007 Ingres Corporation. All rights reserved.