PostgreSQL(and OS). pg_statsinfo gets some statistics information as snapshot. We can check the DB activity and bottleneck analysis by using these snapshot information. This utility provides some function to get the information acquisition easily. WWW: http://pgstatsinfo.projects.pgfoundry.org/ (currently some OS resource stats are disabled.)
8 lines
404 B
Bash
8 lines
404 B
Bash
--- agent/bin/archive_pglog.sh.orig 2013-03-11 00:12:28.148440022 +0900
|
|
+++ agent/bin/archive_pglog.sh 2013-03-11 00:12:35.089438682 +0900
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
#############################################################################
|
|
# Copyright (c) 2012, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
|
|
#############################################################################
|