NetCoreUsefullEndpoints-part 11–adding process information
In the Nuget NetCoreUsefullEndpoints I have added information about the current process :
You can access by going to
http://localhost:5027/api/usefull/process
and this is the result
{
“id”: 24064,
“processName”: “TestUsefullEndpoints”,
“startTime”: “2024-06-27T23:24:36.4003351+03:00”,
“totalProcessorTime”: “00:00:01.0312500”,
“threadsCount”: 39,
“workingSet64”: 84385792,
“privateMemorySize64”: 65458176,
“pagedMemorySize64”: 65458176,
“pagedSystemMemorySize64”: 384840,
“peakPagedMemorySize64”: 67108864,
“peakVirtualMemorySize64”: 2481013948416,
“peakWorkingSet64”: 84733952,
“virtualMemorySize64”: 2481005563904,
“basePriority”: 8,
“handleCount”: 592,
“machineName”: “.”,
“priorityClassName”: “Normal”,
“priorityClass”: 32,
“nonpagedSystemMemorySize64”: 91992,
“fileName”: “D:\\gth\\NetCoreUsefullEndpoints\\src\\UsefullEndpoints\\TestUsefullEndpoints\\bin\\Debug\\net8.0\\TestUsefullEndpoints.exe”,
“minWorkingSet”: 204800,
“maxWorkingSet”: 1413120,
“totalProcessorTimeSeconds”: 1.03125,
“totalUserProcessorTimeSeconds”: 0.921875,
“totalPrivilegedProcessorTimeSeconds”: 0.109375,
“fileVersionInfoShort”: {
“fileVersion”: “1.0.0.0”,
“fileName”: “D:\\gth\\NetCoreUsefullEndpoints\\src\\UsefullEndpoints\\TestUsefullEndpoints\\bin\\Debug\\net8.0\\TestUsefullEndpoints.exe”,
“fileDescription”: “TestUsefullEndpoints”,
“originalFilename”: “TestUsefullEndpoints.dll”,
“productVersion”: “1.0.0+7f426dfd54f515a95654044b725010b159c89b2f”
},
“fileVersionInfo”: {
“comments”: “”,
“companyName”: “TestUsefullEndpoints”,
“fileBuildPart”: 0,
“fileDescription”: “TestUsefullEndpoints”,
“fileMajorPart”: 1,
“fileMinorPart”: 0,
“fileName”: “D:\\gth\\NetCoreUsefullEndpoints\\src\\UsefullEndpoints\\TestUsefullEndpoints\\bin\\Debug\\net8.0\\TestUsefullEndpoints.exe”,
“filePrivatePart”: 0,
“fileVersion”: “1.0.0.0”,
“internalName”: “TestUsefullEndpoints.dll”,
“isDebug”: false,
“isPatched”: false,
“isPrivateBuild”: false,
“isPreRelease”: false,
“isSpecialBuild”: false,
“language”: “Language Neutral”,
“legalCopyright”: ” “,
“legalTrademarks”: “”,
“originalFilename”: “TestUsefullEndpoints.dll”,
“privateBuild”: “”,
“productBuildPart”: 0,
“productMajorPart”: 1,
“productMinorPart”: 0,
“productName”: “TestUsefullEndpoints”,
“productPrivatePart”: 0,
“productVersion”: “1.0.0+7f426dfd54f515a95654044b725010b159c89b2f”,
“specialBuild”: “”
}
}
And now , because it is version and calendar dependent it is now 8.2024.627.800 ( 8 means .net 8 , then year.monthday.hourminutes) . It is convenient, because you know what version to use ;
Leave a Reply