Windows C++ : Getting the process name from a process ID

It seems the opposite is a better documented problem (e.g. Get Process ID (PID) from process name (string) – C++ Windows API), so just in case some one out there has a Process ID, and needs to translate it into the actual name, here goes: std::string ProcIDtoProcName(std::uint32_t pid) { std::string result = "UNKNOWN"; HANDLE hProcess … Continue reading Windows C++ : Getting the process name from a process ID

Nugget Post: Upgrading an OpenSearch cluster

In this case, from 1.x to 2.1.0... Upgrading OpenSearch Download and extract the relevant tar file from the opensearch websiteCopy the /config/opensearch.yml from the directory containing your older opensearch to the new directory you just extracted in step (1)If present, copy all /config/*.pem files from the old directory to the new directoryCopy the opensearch.keystore from … Continue reading Nugget Post: Upgrading an OpenSearch cluster