![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I read "Chapter 23. Monitoring Database Activity" to monitor postgresql, but on Solaris it doesn't work. I tried "/usr/ucb/ps", but it doesn't work either (I only see the postmaster startup parameters). Isn't there any other solution to see what postgresql instances are doing? |
#3
| |||
| |||
|
|
Leonardo Francalanci wrote: I read "Chapter 23. Monitoring Database Activity" to monitor postgresql, but on Solaris it doesn't work. I tried "/usr/ucb/ps", but it doesn't work either (I only see the postmaster startup parameters). Isn't there any other solution to see what postgresql instances are doing? If the tips on solaris ps haven't helped, you can turn on statistics gathering and check pg_stat_activity. |
#4
| |||
| |||
|
|
As far as I can tell, for /usr/ucb/ps the show the replacement arguments, the sum of the lengths of the replacement arguments must be 2 or more greater than the sum of the lengths of the original arguments. I'm guessing that if the postmaster used a longer status message, then /usr/ucb/ps would show it. |
#5
| |||
| |||
|
|
"In addition, your original invocation of the postmaster command must have a shorter ps status display than that provided by each server process." |
#6
| |||
| |||
|
|
I read "Chapter 23. Monitoring Database Activity" to monitor postgresql, but on Solaris it doesn't work. I tried "/usr/ucb/ps", but it doesn't work either (I only see the postmaster startup parameters). Isn't there any other solution to see what postgresql instances are doing? |
![]() |
| Thread Tools | |
| Display Modes | |
| |