cli: sysmon: Add cpu usage fields in sysmon system
subcommand
#1359
+14
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add cpu usage fields in sysmon system command.
Sample Output
> pymobiledevice3 developer dvt sysmon system --udid udid vmExtPageCount: 13451368688 diskBytesRead: 190468 physMemSize: 1128 vmPageIns: 291717 vmThrottledCount: 707841 vmActiveCount: 586831 vmSpeculativeCount: 2245 netBytesIn: 1401 vmSize: 893352 vmSwapIns: 0 vmDecompressions: 39096772 diskReadOps: 54722 vmCompressions: 235797 vmUsedCount: 7727726080 vmFreeCount: 32650207 threadCount: 71424 vmPageOuts: 87100 __vmSwapUsage: 740 vmCompressorPageCount: 4718592 vmHits: 1097441 vmPurgeableCount: 39989 vmReactivations: 307946 diskWriteOps: 203211 vmTotalUncompPagesInComp: 38689784 vmZeroFillCount: 62258551 netBytesOut: 13262992272 diskBytesWritten: 48106 netPacketsOut: 0 netPacketsIn: 9060 vmFaults: 18255 vmPurges: 137191 vmCowFaults: 27131297792 vmLookups: 32586 vmInactiveCount: 208544 vmSwapOuts: 1538 vmIntPageCount: 55920 vmWireCount: 0 CPU_NiceLoad: 0.0 CPU_SystemLoad: -1.0 CPU_TotalLoad: 98.15431543154314 CPU_UserLoad: -1.0
Notice the extra fields CPU_NiceLoad, CPU_SystemLoad, CPU_TotalLoad, CPU_UserLoad at the end
For community
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 comment