Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
TOC
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

Description

Collect is a tool that collects operating system and process data under HP Tru64 UNIX Versions 4.x and 5.x. Collect is designed for high reliability and low system-resource overhead.

...

Note: The "collect" utility is provided by default with Tru64 V4.x and V5.x and updated with patches.

Step-by-step guide

Collecting data

Interactive mode

The base option is to run "collect" in interactive mode just specifying the output data file and then press <CTRL-C> when complete:

...

# collect -f /data/myserver -R 1d

Batch mode

If you prefer not to have a terminal connected for the collect duration, you can use the following commands:

...

  • The "grep [c]ollect" command output result is the same as "grep collect | grep -v grep"
  • You can use "kill -TERM" or "kill -15" but not "kill -KILL" or "kill -9"

Displaying data

The basic command to read (play back) a collect data file is the following one, preferably with output to file (with -f option) or to "more" or "grep":

...

# collect -p pluto.cgz -sd -Ddsk0

Analyzing Data

There are a few tools available for analyzing collect data:

...

More information on collect options can be found in the collect(8) man pages, see link below.

HP Tru64 UNIX collect overview

Rob Urban's collect Information

Filter by label (Content by label)
showLabelsfalse
max5
spacesKBWORK
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("performance","collect","tru64") and space = "KBP"
labelstru64 collect performance

...