As investigated, cannot find the possible name duplication in Terraform code. Ended up, I found it is Helm release duplicated.
Monday, May 9, 2022
Update terraform.tfstate in individual workspace
Select source workspace, we use default as example here:
terraform workspace select default
terraform state pull > terraform.tfstate
ls terraform.tfstate
Select the target workspace test
terraform workspace select test
terraform workspace list
terraform state push terraform.tfstate
terraform state list |grep jolokia2
Tuesday, May 3, 2022
List the Memory allocated to processes
Use below command to find the target process, and take action on it. i.e. restart it.
# ps -o pid,user,%mem,command ax | sort -b -k3 -r
Kill processes with same pattern:
# pkill -9 -f /usr/local/bin/jvm_stats
Subscribe to:
Posts (Atom)