README update and utility host scripts #62

Merged
meierj merged 13 commits from mueller/readme-update-cp-script into develop 2021-07-26 11:55:21 +02:00
Showing only changes of commit 07f531a044 - Show all commits

View File

@ -269,7 +269,8 @@ ReturnValue_t CoreController::incrementAllocationFailureCount() {
ReturnValue_t CoreController::versionFileInit() {
std::string unameFileName = "/tmp/uname_version.txt";
std::string unameCmd = "uname -a > " + unameFileName;
// TODO: No -v flag for now. If the kernel version is used, need to cut off first few letters
std::string unameCmd = "uname -mnrso > " + unameFileName;
int result = std::system(unameCmd.c_str());
if(result != 0) {
utility::handleSystemError(result, "CoreController::versionFileInit");