Unix Technical Forum

p-Programm for Linux

This is a discussion on p-Programm for Linux within the pgsql Databases forums, part of the PostgreSQL category; --> Hello, in the promon utility I can see the current user, the utilization, and many more paramaters. How I ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Databases

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 11:41 PM
Daniel Seichter
 
Posts: n/a
Default p-Programm for Linux

Hello,

in the promon utility I can see the current user, the utilization, and many
more paramaters.
How I can log these values?
I thought to write a p Programm and run this a cronjob each day from begin
to the end of work.
But:
How to request these values and how to start a p Programm within a cronjob
of on the console directly?

To pipe the output I can use the "output to filename" or should I use ">"?

Hope someone can help me!

Thanks a lot in advance

Daniel Seichter
--
Nachrichten an nospam [at] dseichter.de werden sofort gelöscht!!!
Für E-Mail Kontakt bitte daniel [at] dseichter.de benutzen.
Messages to nospam [at] dseichter.de will deleted immediately!!!
To contact me please use daniel [at] dseichter.de.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 11:42 PM
Anonymous
 
Posts: n/a
Default Re: p-Programm for Linux


If you are on version 9 or version 8, you may want to become more
familiar with the system tables found in those databases that can be
queried directly.

More information and more easily queried than promon.

I would OUTPUT TO [filename] APPEND.

In article <cc2uti$ki5$1@news.dtag.de>,
"Daniel Seichter" <nospam@dseichter.de> wrote:

> Hello,
>
> in the promon utility I can see the current user, the utilization, and many
> more paramaters.
> How I can log these values?
> I thought to write a p Programm and run this a cronjob each day from begin
> to the end of work.
> But:
> How to request these values and how to start a p Programm within a cronjob
> of on the console directly?
>
> To pipe the output I can use the "output to filename" or should I use ">"?
>
> Hope someone can help me!
>
> Thanks a lot in advance
>
> Daniel Seichter

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:38 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com