From Wiki-UX.info

Wiki-UX / How to collect glance binary log files
Jump to: navigation, search

How to collect glance binary log files

Abstract

The following article show how to collect the HP GlancePlus/UX binary log files to create off-server HP-UX performance reports.

Contents


Collect the binary log files

1. HP GlancePlus/UX binary log files reside on /var/opt/perf/datafiles directory.

# ls -l /var/opt/perf/datafiles/log*
-rw-r--r--   1 root       root       8021664 Sep  4 14:25 /var/opt/perf/datafiles/logappl
-rw-r--r--   1 root       root       17366768 Sep  4 14:25 /var/opt/perf/datafiles/logdev
-rw-r--r--   1 root       root       7179048 Sep  4 14:25 /var/opt/perf/datafiles/logglob
-rw-r--r--   1 root       root         12976 Sep  4 11:36 /var/opt/perf/datafiles/logindx
-rw-r--r--   1 root       root            15 Apr 16 20:20 /var/opt/perf/datafiles/logpcmd0
-rw-r--r--   1 root       root       12762540 Sep  4 14:00 /var/opt/perf/datafiles/logproc
-rw-r--r--   1 root       root       9017932 Sep  4 14:25 /var/opt/perf/datafiles/logtran

2. The tar and gzip commands can be used to gather and pack the files for FTP upload or mail transfer.

# tar -cvf - /var/opt/perf/datafiles/log* | /usr/contrib/bin/gzip > /tmp/glancelogs.tgz
a /var/opt/perf/datafiles/logappl 15668 blocks
a /var/opt/perf/datafiles/logdev 33920 blocks
a /var/opt/perf/datafiles/logglob 14022 blocks
a /var/opt/perf/datafiles/logindx 26 blocks
a /var/opt/perf/datafiles/logpcmd0 1 blocks
a /var/opt/perf/datafiles/logproc 24927 blocks
a /var/opt/perf/datafiles/logtran 17614 blocks

3. Upload or send by email the /tmp/glancelogs.tgz.

Reference

Authors

This page was last modified on 16 July 2010, at 04:36. This page has been accessed 2,333 times.