git-svn-id: svn://db.shs.com.ru/pip@630 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2018-09-25 21:09:32 +00:00
parent 32093a62fd
commit 271f211fbc
4 changed files with 18 additions and 4 deletions

View File

@@ -326,7 +326,7 @@ void PISystemMonitor::gatherThread(llong id) {
ts.id = id;
ts.name = tbid.value(id, "<non-PIThread>");
#ifndef WINDOWS
PIFile f(PRIVATE->proc_dir + "task/" + PIString(id) + "/stat");
PIFile f(PRIVATE->proc_dir + "task/" + PIString::fromNumber(id) + "/stat");
//piCout << f.path();
if (!f.open(PIIODevice::ReadOnly))
return;