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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| ||||
| 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 |