Difference between revisions of "State"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 4: | Line 4: | ||
* <code>[[SELECT]] usename, application_name, client_addr, client_hostname, state FROM [[pg_stat_activity]];</code> | * <code>[[SELECT]] usename, application_name, client_addr, client_hostname, state FROM [[pg_stat_activity]];</code> | ||
− | * [[kubectl describe pods (grep -w State)]] | grep -w "State" | + | * [[kubectl describe pods (grep -w State)]] | grep -w "State" |
Revision as of 16:37, 7 March 2023
SELECT usename, application_name, client_addr, client_hostname, state FROM pg_stat_activity;
- kubectl describe pods (grep -w State) | grep -w "State"
Advertising: