diff --git a/tests/fixtures/osx-10.11.6/ps-axu.json b/tests/fixtures/osx-10.11.6/ps-axu.json new file mode 100644 index 00000000..1b7ec912 --- /dev/null +++ b/tests/fixtures/osx-10.11.6/ps-axu.json @@ -0,0 +1 @@ +[{"user": "kelly", "pid": 568, "vsz": 2534864, "rss": 43136, "tt": null, "stat": "U", "started": "10:11AM", "time": "0:10.58", "command": "/usr/bin/codesign --verify --deep /Applications/Microsoft PowerPoint.app", "cpu_percent": 47.8, "mem_percent": 1.0}, {"user": "kelly", "pid": 519, "vsz": 2509624, "rss": 18852, "tt": null, "stat": "RN", "started": "10:09AM", "time": "0:01.39", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-bundle -c MDSImporterBundleFinder -m com.apple.mdworker.bundles", "cpu_percent": 4.2, "mem_percent": 0.4}, {"user": "_spotlight", "pid": 514, "vsz": 2517664, "rss": 16848, "tt": null, "stat": "U", "started": "10:09AM", "time": "0:03.04", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-sizing -c MDSSizingWorker -m com.apple.mdworker.sizing", "cpu_percent": 2.4, "mem_percent": 0.4}, {"user": "_spotlight", "pid": 518, "vsz": 2521956, "rss": 19796, "tt": null, "stat": "UN", "started": "10:09AM", "time": "0:01.23", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-bundle -c MDSImporterBundleFinder -m com.apple.mdworker.bundles", "cpu_percent": 1.5, "mem_percent": 0.5}, {"user": "_windowserver", "pid": 179, "vsz": 3611664, "rss": 67720, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:14.23", "command": "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/WindowServer -daemon", "cpu_percent": 1.4, "mem_percent": 1.6}, {"user": "root", "pid": 459, "vsz": 2520276, "rss": 12840, "tt": null, "stat": "Us", "started": "10:06AM", "time": "0:09.38", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-scan -c MDSSyncScanWorker -m com.apple.metadata.mds.scan", "cpu_percent": 0.9, "mem_percent": 0.3}, {"user": "kelly", "pid": 260, "vsz": 2577516, "rss": 49096, "tt": null, "stat": "U", "started": "10:06AM", "time": "0:03.99", "command": "/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_24582", "cpu_percent": 0.7, "mem_percent": 1.2}, {"user": "root", "pid": 100, "vsz": 2473232, "rss": 5356, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:02.71", "command": "/usr/libexec/hidd", "cpu_percent": 0.4, "mem_percent": 0.1}, {"user": "root", "pid": 206, "vsz": 4324960, "rss": 119616, "tt": null, "stat": "Us", "started": "10:06AM", "time": "0:16.66", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mds_stores", "cpu_percent": 0.2, "mem_percent": 2.9}, {"user": "root", "pid": 202, "vsz": 2521392, "rss": 23044, "tt": null, "stat": "Us", "started": "10:06AM", "time": "0:02.29", "command": "/usr/libexec/lsd runAsRoot", "cpu_percent": 0.2, "mem_percent": 0.5}, {"user": "kelly", "pid": 258, "vsz": 2508168, "rss": 15740, "tt": null, "stat": "U", "started": "10:06AM", "time": "0:00.98", "command": "/usr/libexec/lsd", "cpu_percent": 0.1, "mem_percent": 0.4}, {"user": "kelly", "pid": 480, "vsz": 2503776, "rss": 5628, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:00.09", "command": "/usr/libexec/swcd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 477, "vsz": 2531036, "rss": 18780, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:00.36", "command": "/System/Library/CoreServices/System Events.app/Contents/MacOS/System Events", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 465, "vsz": 2504280, "rss": 12808, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:00.23", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-sizing -c MDSSizingWorker -m com.apple.mdworker.sizing", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 463, "vsz": 2526912, "rss": 12992, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:00.15", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Resources/LaterAgent.app/Contents/MacOS/LaterAgent", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 462, "vsz": 2506432, "rss": 8572, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.16", "command": "/System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Support/photolibraryd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 461, "vsz": 2498376, "rss": 9636, "tt": null, "stat": "U", "started": "10:06AM", "time": "0:00.12", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storelegacy", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 448, "vsz": 2472468, "rss": 1232, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "kelly", "pid": 447, "vsz": 2472992, "rss": 1464, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.06", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "root", "pid": 446, "vsz": 2471160, "rss": 6328, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.03", "command": "/System/Library/PrivateFrameworks/SoftwareUpdate.framework/Resources/suhelperd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "_softwareupdate", "pid": 445, "vsz": 2551592, "rss": 54552, "tt": null, "stat": "Us", "started": "10:06AM", "time": "0:03.71", "command": "/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated", "cpu_percent": 0.0, "mem_percent": 1.3}, {"user": "root", "pid": 440, "vsz": 2471132, "rss": 7044, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.06", "command": "/System/Library/CoreServices/SubmitDiagInfo server-init", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 439, "vsz": 2471736, "rss": 6552, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.04", "command": "/usr/sbin/spindump", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 438, "vsz": 2523024, "rss": 32280, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.39", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared", "cpu_percent": 0.0, "mem_percent": 0.8}, {"user": "kelly", "pid": 437, "vsz": 2508488, "rss": 16932, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.37", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 436, "vsz": 2512496, "rss": 15620, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.30", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 435, "vsz": 2517244, "rss": 22920, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.47", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "kelly", "pid": 434, "vsz": 2500988, "rss": 13876, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.75", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 432, "vsz": 2500504, "rss": 13952, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.12", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storedownloadd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 429, "vsz": 2499248, "rss": 9904, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.07", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/XPCServices/com.apple.CommerceKit.TransactionService.xpc/Contents/MacOS/com.apple.CommerceKit.TransactionService", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 428, "vsz": 2502632, "rss": 15428, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.52", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeinappd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 427, "vsz": 2504184, "rss": 12340, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.12", "command": "/System/Library/PrivateFrameworks/AssistantServices.framework/assistantd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 426, "vsz": 2496660, "rss": 11152, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/CoreServices/NotificationCenter.app/Contents/XPCServices/com.apple.notificationcenterui.WeatherSummary.xpc/Contents/MacOS/com.apple.notificationcenterui.WeatherSummary", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 419, "vsz": 2859668, "rss": 170620, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:10.32", "command": "/Applications/Backup and Sync.app/Contents/MacOS/Backup and Sync", "cpu_percent": 0.0, "mem_percent": 4.1}, {"user": "kelly", "pid": 417, "vsz": 2508996, "rss": 9684, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.11", "command": "/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app/Contents/MacOS/iTunesHelper", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 412, "vsz": 2497104, "rss": 11932, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.13", "command": "/System/Library/CoreServices/diagnostics_agent", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 411, "vsz": 2525428, "rss": 11540, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.89", "command": "/System/Library/CoreServices/WiFiAgent.app/Contents/MacOS/WiFiAgent", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 408, "vsz": 2524584, "rss": 10320, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.11", "command": "/System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent --launchd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 404, "vsz": 2501812, "rss": 16092, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.57", "command": "/System/Library/CoreServices/AppleIDAuthAgent", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 402, "vsz": 2498460, "rss": 10480, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.29", "command": "/System/Library/Image Capture/Support/icdd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 400, "vsz": 2552032, "rss": 28396, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.47", "command": "/System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter", "cpu_percent": 0.0, "mem_percent": 0.7}, {"user": "kelly", "pid": 397, "vsz": 2524600, "rss": 16708, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.19", "command": "/System/Library/CoreServices/Keychain Circle Notification.app/Contents/MacOS/Keychain Circle Notification", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 394, "vsz": 2497796, "rss": 7932, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.05", "command": "/System/Library/CoreServices/SocialPushAgent.app/Contents/MacOS/SocialPushAgent", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 392, "vsz": 2477552, "rss": 3816, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.03", "command": "/usr/libexec/spindump_agent", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 390, "vsz": 2524556, "rss": 12212, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.11", "command": "/System/Library/CoreServices/FolderActionsDispatcher.app/Contents/MacOS/FolderActionsDispatcher", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 389, "vsz": 2536836, "rss": 23024, "tt": null, "stat": "S", "started": "10:06AM", "time": "1:13.66", "command": "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft Update Assistant.app/Contents/MacOS/Microsoft Update Assistant -checkForUpdates", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "root", "pid": 386, "vsz": 2489324, "rss": 2268, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.02", "command": "/System/Library/Filesystems/AppleShare/check_afp.app/Contents/MacOS/check_afp", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 381, "vsz": 2454892, "rss": 1576, "tt": "s001", "stat": "S+", "started": "10:06AM", "time": "0:00.02", "command": "-bash", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "root", "pid": 380, "vsz": 2471532, "rss": 4156, "tt": "s001", "stat": "Us", "started": "10:06AM", "time": "0:00.03", "command": "login -pfl kelly /bin/bash -c exec -la bash /bin/bash", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 368, "vsz": 2497892, "rss": 9084, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.15", "command": "/System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthSysAgent", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 367, "vsz": 2471496, "rss": 6360, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.03", "command": "/System/Library/Frameworks/AudioToolbox.framework/XPCServices/com.apple.audio.SandboxHelper.xpc/Contents/MacOS/com.apple.audio.SandboxHelper", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 361, "vsz": 2463084, "rss": 1616, "tt": "s000", "stat": "S", "started": "10:06AM", "time": "0:00.06", "command": "-bash", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "root", "pid": 360, "vsz": 2471532, "rss": 4208, "tt": "s000", "stat": "Us", "started": "10:06AM", "time": "0:00.05", "command": "login -pfl kelly /bin/bash -c exec -la bash /bin/bash", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 359, "vsz": 2505388, "rss": 16844, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.16", "command": "/System/Library/PrivateFrameworks/CloudPhotoServices.framework/Versions/A/Frameworks/CloudPhotosConfigurationXPC.framework/Versions/A/XPCServices/com.apple.CloudPhotosConfiguration.xpc/Contents/MacOS/com.apple.CloudPhotosConfiguration", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 357, "vsz": 2497824, "rss": 8516, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.05", "command": "/System/Library/Frameworks/VideoToolbox.framework/Versions/A/XPCServices/VTDecoderXPCService.xpc/Contents/MacOS/VTDecoderXPCService", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 354, "vsz": 2499952, "rss": 7748, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.54", "command": "/System/Library/PrivateFrameworks/IMFoundation.framework/XPCServices/IMRemoteURLConnectionAgent.xpc/Contents/MacOS/IMRemoteURLConnectionAgent", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "_netbios", "pid": 353, "vsz": 2473112, "rss": 8296, "tt": null, "stat": "SNs", "started": "10:06AM", "time": "0:00.08", "command": "/usr/sbin/netbiosd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 349, "vsz": 2496720, "rss": 6752, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/PrivateFrameworks/HelpData.framework/Versions/A/Resources/helpd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 346, "vsz": 2497264, "rss": 4200, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent --launchd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_networkd", "pid": 344, "vsz": 2520416, "rss": 7448, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.56", "command": "/usr/libexec/symptomsd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 343, "vsz": 2527064, "rss": 10624, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.11", "command": "/System/Library/CoreServices/CoreServicesUIAgent.app/Contents/MacOS/CoreServicesUIAgent", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "_nsurlstoraged", "pid": 342, "vsz": 2471568, "rss": 4744, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.05", "command": "/usr/libexec/nsurlstoraged", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 341, "vsz": 2499248, "rss": 12100, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.08", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/XPCServices/com.apple.CommerceKit.TransactionService.xpc/Contents/MacOS/com.apple.CommerceKit.TransactionService", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 340, "vsz": 2502544, "rss": 9904, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.27", "command": "/System/Library/PrivateFrameworks/CloudDocsDaemon.framework/XPCServices/ContainerMetadataExtractor.xpc/Contents/MacOS/ContainerMetadataExtractor", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 339, "vsz": 2501432, "rss": 13572, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.09", "command": "/System/Library/PrivateFrameworks/CallHistory.framework/Support/CallHistoryPluginHelper", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 338, "vsz": 2500564, "rss": 16336, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.52", "command": "/System/Library/PrivateFrameworks/IMDPersistence.framework/XPCServices/IMDPersistenceAgent.xpc/Contents/MacOS/IMDPersistenceAgent", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 337, "vsz": 2499868, "rss": 20196, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.46", "command": "/System/Library/PrivateFrameworks/IMCore.framework/imagent.app/Contents/MacOS/imagent", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "kelly", "pid": 336, "vsz": 2538636, "rss": 52132, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:06.10", "command": "/System/Library/PrivateFrameworks/MessagesKit.framework/Resources/soagent.app/Contents/MacOS/soagent", "cpu_percent": 0.0, "mem_percent": 1.2}, {"user": "kelly", "pid": 335, "vsz": 2525728, "rss": 20416, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.32", "command": "/System/Library/CoreServices/Dock.app/Contents/XPCServices/com.apple.dock.extra.xpc/Contents/MacOS/com.apple.dock.extra", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "kelly", "pid": 334, "vsz": 2503088, "rss": 13600, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.41", "command": "/System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/XPCServices/com.apple.geod.xpc/Contents/MacOS/com.apple.geod", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 333, "vsz": 2471072, "rss": 4244, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.03", "command": "/System/Library/PrivateFrameworks/CommunicationsFilter.framework/CMFSyncAgent.app/Contents/MacOS/CMFSyncAgent", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 332, "vsz": 2503760, "rss": 20008, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:02.17", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeaccountd", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "kelly", "pid": 331, "vsz": 2472600, "rss": 7088, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/Frameworks/Security.framework/Versions/A/Resources/CloudKeychainProxy.bundle/Contents/MacOS/CloudKeychainProxy", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 328, "vsz": 3018556, "rss": 13168, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.17", "command": "/System/Library/Frameworks/QuickLook.framework/Resources/quicklookd.app/Contents/MacOS/quicklookd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "root", "pid": 327, "vsz": 2471548, "rss": 3348, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.02", "command": "/System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/XPCServices/com.apple.PerformanceAnalysis.animationperfd.xpc/Contents/MacOS/com.apple.PerformanceAnalysis.animationperfd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 325, "vsz": 2542632, "rss": 36124, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:13.82", "command": "/System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd", "cpu_percent": 0.0, "mem_percent": 0.9}, {"user": "root", "pid": 324, "vsz": 2497996, "rss": 14772, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.10", "command": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/TMCacheDelete", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "root", "pid": 323, "vsz": 2474660, "rss": 6424, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.41", "command": "/System/Library/PrivateFrameworks/CacheDelete.framework/deleted", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 322, "vsz": 2507252, "rss": 29144, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:02.67", "command": "/System/Library/PrivateFrameworks/CoreSuggestions.framework/Versions/A/Support/suggestd", "cpu_percent": 0.0, "mem_percent": 0.7}, {"user": "kelly", "pid": 321, "vsz": 2549048, "rss": 22808, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.48", "command": "/System/Library/CoreServices/cloudphotosd.app/Contents/MacOS/cloudphotosd", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "kelly", "pid": 316, "vsz": 2507092, "rss": 30596, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:16.80", "command": "/System/Library/PrivateFrameworks/ParsecUI.framework/Versions/A/Support/SpotlightNetHelper.app/Contents/MacOS/SpotlightNetHelper", "cpu_percent": 0.0, "mem_percent": 0.7}, {"user": "kelly", "pid": 315, "vsz": 2534368, "rss": 49132, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:06.80", "command": "/System/Library/PrivateFrameworks/TelephonyUtilities.framework/callservicesd", "cpu_percent": 0.0, "mem_percent": 1.2}, {"user": "_gamecontrollerd", "pid": 313, "vsz": 2471808, "rss": 7048, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.08", "command": "/usr/libexec/gamecontrollerd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 312, "vsz": 2521504, "rss": 36648, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.21", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeassetd", "cpu_percent": 0.0, "mem_percent": 0.9}, {"user": "kelly", "pid": 311, "vsz": 2540140, "rss": 54192, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:07.69", "command": "/System/Library/PrivateFrameworks/CalendarAgent.framework/Versions/A/XPCServices/CalNCService.xpc/Contents/MacOS/CalNCService", "cpu_percent": 0.0, "mem_percent": 1.3}, {"user": "kelly", "pid": 310, "vsz": 2504064, "rss": 18400, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.34", "command": "/System/Library/PrivateFrameworks/CloudKitDaemon.framework/Support/cloudd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 308, "vsz": 2504080, "rss": 16752, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:02.90", "command": "/usr/libexec/nsurlstoraged", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 307, "vsz": 2506840, "rss": 26052, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:04.66", "command": "/System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird", "cpu_percent": 0.0, "mem_percent": 0.6}, {"user": "kelly", "pid": 306, "vsz": 2505496, "rss": 12316, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.76", "command": "/System/Library/PrivateFrameworks/AuthKit.framework/Versions/A/Support/akd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 305, "vsz": 2497192, "rss": 10492, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.06", "command": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/maspushagent", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 304, "vsz": 2496780, "rss": 13832, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.07", "command": "/System/Library/PrivateFrameworks/AskPermission.framework/Versions/A/Resources/askpermissiond", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 302, "vsz": 2497212, "rss": 15008, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.11", "command": "/System/Library/PrivateFrameworks/CallHistory.framework/Support/CallHistorySyncHelper", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 301, "vsz": 2500596, "rss": 20072, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.17", "command": "/usr/libexec/fmfd", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "kelly", "pid": 300, "vsz": 2577504, "rss": 19696, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.30", "command": "/usr/libexec/SafariCloudHistoryPushAgent", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "root", "pid": 299, "vsz": 2471368, "rss": 4696, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.08", "command": "/System/Library/CoreServices/sharedfilelistd --enable-legacy-services", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 298, "vsz": 2496992, "rss": 5788, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.11", "command": "/System/Library/PrivateFrameworks/CoreWLANKit.framework/Versions/A/XPCServices/WiFiProxy.xpc/Contents/MacOS/WiFiProxy", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 297, "vsz": 2489740, "rss": 4124, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.05", "command": "/usr/sbin/filecoordinationd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 296, "vsz": 2503288, "rss": 18252, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:09.30", "command": "/System/Library/Frameworks/Accounts.framework/Versions/A/Support/accountsd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 295, "vsz": 2500740, "rss": 11764, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.00", "command": "/System/Library/PrivateFrameworks/AOSKit.framework/Versions/A/XPCServices/com.apple.iCloudHelper.xpc/Contents/MacOS/com.apple.iCloudHelper", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 294, "vsz": 2500852, "rss": 11764, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.46", "command": "/usr/libexec/secinitd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 293, "vsz": 2496692, "rss": 11204, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.98", "command": "/System/Library/Frameworks/AddressBook.framework/Versions/A/XPCServices/com.apple.AddressBook.ContactsAccountsService.xpc/Contents/MacOS/com.apple.AddressBook.ContactsAccountsService", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 292, "vsz": 2509444, "rss": 10040, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.12", "command": "/System/Library/CoreServices/iconservicesagent", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 291, "vsz": 2506668, "rss": 9184, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.69", "command": "/System/Library/PrivateFrameworks/TCC.framework/Resources/tccd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 290, "vsz": 2502680, "rss": 11300, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:02.20", "command": "/usr/libexec/pkd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 289, "vsz": 2514456, "rss": 23412, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.54", "command": "/usr/libexec/sharingd", "cpu_percent": 0.0, "mem_percent": 0.6}, {"user": "kelly", "pid": 288, "vsz": 2502572, "rss": 8684, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.45", "command": "/usr/libexec/secd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 287, "vsz": 2508040, "rss": 18232, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.98", "command": "/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 286, "vsz": 2515132, "rss": 22096, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.00", "command": "/System/Library/PrivateFrameworks/GameCenterFoundation.framework/Versions/A/gamed", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "kelly", "pid": 285, "vsz": 2496952, "rss": 10460, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.10", "command": "/System/Library/CoreServices/mapspushd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 283, "vsz": 2532008, "rss": 45136, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:15.72", "command": "/System/Library/PrivateFrameworks/CalendarAgent.framework/Executables/CalendarAgent", "cpu_percent": 0.0, "mem_percent": 1.1}, {"user": "kelly", "pid": 280, "vsz": 2502976, "rss": 10072, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.17", "command": "/usr/libexec/nsurlsessiond", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 279, "vsz": 2498736, "rss": 8940, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:01.13", "command": "/usr/sbin/usernoted", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 278, "vsz": 2531248, "rss": 9268, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.87", "command": "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Support/fontd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 275, "vsz": 2571072, "rss": 39528, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:03.06", "command": "/System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight", "cpu_percent": 0.0, "mem_percent": 0.9}, {"user": "root", "pid": 273, "vsz": 2498040, "rss": 5372, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/PrivateFrameworks/TCC.framework/Resources/tccd system", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 272, "vsz": 2500900, "rss": 6760, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.13", "command": "/usr/sbin/systemsoundserverd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 270, "vsz": 2463664, "rss": 2416, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.02", "command": "/usr/sbin/pboard", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 268, "vsz": 2629144, "rss": 67620, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:11.52", "command": "/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder", "cpu_percent": 0.0, "mem_percent": 1.6}, {"user": "kelly", "pid": 267, "vsz": 2543496, "rss": 27768, "tt": null, "stat": "U", "started": "10:06AM", "time": "0:00.97", "command": "/System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer", "cpu_percent": 0.0, "mem_percent": 0.7}, {"user": "kelly", "pid": 266, "vsz": 2567336, "rss": 44816, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:05.62", "command": "/System/Library/CoreServices/Dock.app/Contents/MacOS/Dock", "cpu_percent": 0.0, "mem_percent": 1.1}, {"user": "root", "pid": 264, "vsz": 2499696, "rss": 6396, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.41", "command": "/usr/libexec/taskgated -s", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 262, "vsz": 2454932, "rss": 1120, "tt": null, "stat": "Us", "started": "10:06AM", "time": "0:00.02", "command": "/usr/libexec/watchdogd", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "kelly", "pid": 261, "vsz": 2498036, "rss": 9348, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.24", "command": "/System/Library/CoreServices/sharedfilelistd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 257, "vsz": 2471884, "rss": 3812, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.96", "command": "/usr/sbin/cfprefsd agent", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 255, "vsz": 2470808, "rss": 3816, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.70", "command": "/usr/sbin/distnoted agent", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 253, "vsz": 2504736, "rss": 18252, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.79", "command": "/usr/libexec/UserEventAgent (Aqua)", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "root", "pid": 251, "vsz": 2498968, "rss": 5000, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:02.54", "command": "/usr/libexec/securityd_service", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 244, "vsz": 2472048, "rss": 3380, "tt": null, "stat": "Us", "started": "10:06AM", "time": "0:00.03", "command": "/System/Library/PrivateFrameworks/AccountPolicy.framework/XPCServices/com.apple.AccountPolicyHelper.xpc/Contents/MacOS/com.apple.AccountPolicyHelper", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_cvmsroot", "pid": 242, "vsz": 2493084, "rss": 8892, "tt": null, "stat": "S", "started": "10:06AM", "time": "0:00.21", "command": "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMCompiler 2", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 226, "vsz": 2497404, "rss": 2844, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.05", "command": "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMServer", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 225, "vsz": 2499172, "rss": 6488, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.15", "command": "/System/Library/PrivateFrameworks/AuthKit.framework/Versions/A/Support/akd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 218, "vsz": 2497868, "rss": 7440, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.06", "command": "/System/Library/PrivateFrameworks/AmbientDisplay.framework/Versions/A/XPCServices/com.apple.AmbientDisplayAgent.xpc/Contents/MacOS/com.apple.AmbientDisplayAgent", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 214, "vsz": 2518076, "rss": 8148, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.10", "command": "/System/Library/Frameworks/CoreMediaIO.framework/Resources/VDC.plugin/Contents/Resources/VDCAssistant", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 213, "vsz": 2471000, "rss": 3572, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/CryptoTokenKit/com.apple.ifdreader.slotd/Contents/MacOS/com.apple.ifdreader", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 212, "vsz": 2497980, "rss": 8700, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.14", "command": "/usr/libexec/usbd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 210, "vsz": 2473736, "rss": 7516, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.28", "command": "/usr/libexec/corestoraged", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 209, "vsz": 2500028, "rss": 6064, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.15", "command": "/usr/libexec/nehelper", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 208, "vsz": 2473400, "rss": 2676, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.07", "command": "/usr/sbin/ntpd -c /private/etc/ntp-restrict.conf -n -g -p /var/run/ntpd.pid -f /var/db/ntp.drift", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_nsurlsessiond", "pid": 207, "vsz": 2515308, "rss": 8520, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.10", "command": "/usr/libexec/nsurlsessiond --privileged", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 204, "vsz": 2498732, "rss": 20336, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:02.49", "command": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/mtmd", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "root", "pid": 203, "vsz": 2496740, "rss": 13976, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.07", "command": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper -launchd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "root", "pid": 201, "vsz": 2518060, "rss": 12396, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.38", "command": "/usr/libexec/findmydeviced", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "root", "pid": 200, "vsz": 2472036, "rss": 3480, "tt": null, "stat": "Us", "started": "10:06AM", "time": "0:00.03", "command": "/usr/libexec/smd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 199, "vsz": 2473728, "rss": 4700, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.05", "command": "/System/Library/PrivateFrameworks/CoreSymbolication.framework/coresymbolicationd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 198, "vsz": 2472468, "rss": 3564, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.09", "command": "/System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 193, "vsz": 2470972, "rss": 4168, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/CoreServices/CrashReporterSupportHelper server-init", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 192, "vsz": 2471500, "rss": 3472, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.04", "command": "/usr/libexec/networkd_privileged", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 191, "vsz": 2479676, "rss": 5536, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.06", "command": "/usr/libexec/rpcsvchost -launchd netlogon.bundle", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 190, "vsz": 2497512, "rss": 5944, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.11", "command": "/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/Support/awdd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_coreaudiod", "pid": 189, "vsz": 2497040, "rss": 3252, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.11", "command": "/System/Library/Frameworks/CoreAudio.framework/Versions/A/XPCServices/com.apple.audio.DriverHelper.xpc/Contents/MacOS/com.apple.audio.DriverHelper", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_networkd", "pid": 187, "vsz": 2471556, "rss": 6008, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.57", "command": "/usr/libexec/networkd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_coreaudiod", "pid": 186, "vsz": 2499916, "rss": 10452, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.51", "command": "/usr/sbin/coreaudiod", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 185, "vsz": 2512968, "rss": 18816, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:04.52", "command": "/usr/sbin/ocspd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "root", "pid": 172, "vsz": 2498428, "rss": 9620, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.10", "command": "/usr/libexec/secinitd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 171, "vsz": 2471504, "rss": 3384, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.03", "command": "/System/Library/Frameworks/CryptoTokenKit.framework/ctkd -s", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 170, "vsz": 2471520, "rss": 3372, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/Frameworks/PCSC.framework/Versions/A/XPCServices/com.apple.ctkpcscd.xpc/Contents/MacOS/com.apple.ctkpcscd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 152, "vsz": 2502300, "rss": 7672, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.68", "command": "/System/Library/CoreServices/coreservicesd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 135, "vsz": 2471336, "rss": 4408, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:02.65", "command": "/usr/sbin/cfprefsd daemon", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 134, "vsz": 2506220, "rss": 6328, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.35", "command": "/usr/libexec/sandboxd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 133, "vsz": 2499692, "rss": 8144, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.49", "command": "/System/Library/Frameworks/Security.framework/Versions/A/XPCServices/authd.xpc/Contents/MacOS/authd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 130, "vsz": 2471696, "rss": 4212, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.16", "command": "/usr/libexec/diagnosticd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 129, "vsz": 2471528, "rss": 4452, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.22", "command": "aslmanager", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 114, "vsz": 2501932, "rss": 10260, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:03.76", "command": "/usr/libexec/amfid", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "_distnote", "pid": 105, "vsz": 2470808, "rss": 2768, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.56", "command": "/usr/sbin/distnoted daemon", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 102, "vsz": 2471872, "rss": 1816, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.53", "command": "/usr/sbin/notifyd", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "root", "pid": 101, "vsz": 2472724, "rss": 8756, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.16", "command": "/usr/libexec/AirPlayXPCHelper", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 98, "vsz": 2470996, "rss": 3988, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.05", "command": "/System/Library/CoreServices/logind", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "kelly", "pid": 97, "vsz": 2530732, "rss": 20460, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.25", "command": "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "root", "pid": 96, "vsz": 2471312, "rss": 1872, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.02", "command": "/usr/sbin/KernelEventAgent", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "root", "pid": 95, "vsz": 2499208, "rss": 6376, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.15", "command": "/System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Support/revisiond", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "_mdnsresponder", "pid": 93, "vsz": 2500528, "rss": 6968, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.60", "command": "/usr/sbin/mDNSResponder", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 88, "vsz": 2471480, "rss": 3620, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.03", "command": "autofsd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 87, "vsz": 2499168, "rss": 7428, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.38", "command": "/usr/sbin/blued", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "_locationd", "pid": 84, "vsz": 2525352, "rss": 12744, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.81", "command": "/usr/libexec/locationd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "root", "pid": 82, "vsz": 2502980, "rss": 6116, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:03.27", "command": "/usr/sbin/securityd -i", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_usbmuxd", "pid": 81, "vsz": 2501976, "rss": 5212, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.17", "command": "/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/usbmuxd -launchd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 80, "vsz": 2499772, "rss": 7832, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.31", "command": "/System/Library/CoreServices/launchservicesd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 79, "vsz": 2502392, "rss": 15400, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.15", "command": "/System/Library/PrivateFrameworks/ApplePushService.framework/apsd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "root", "pid": 77, "vsz": 2472480, "rss": 5544, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.06", "command": "/usr/sbin/wirelessproxd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 76, "vsz": 2513164, "rss": 13512, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:04.28", "command": "/usr/libexec/opendirectoryd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "root", "pid": 75, "vsz": 2514428, "rss": 18400, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.70", "command": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/mtmfs --tcp --resvport --listen localhost --oneshot --noportmap --nobrowse", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "root", "pid": 73, "vsz": 2472572, "rss": 7992, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.06", "command": "/usr/libexec/wdhelper", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 72, "vsz": 2504400, "rss": 16796, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.49", "command": "/usr/libexec/coreduetd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "root", "pid": 70, "vsz": 2496568, "rss": 3252, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.39", "command": "/usr/libexec/diskarbitrationd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_iconservices", "pid": 69, "vsz": 2472656, "rss": 5032, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.05", "command": "/System/Library/CoreServices/iconservicesd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 68, "vsz": 2472656, "rss": 4976, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.04", "command": "/System/Library/CoreServices/iconservicesagent", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 64, "vsz": 2625716, "rss": 58472, "tt": null, "stat": "Rs", "started": "10:06AM", "time": "0:25.12", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds", "cpu_percent": 0.0, "mem_percent": 1.4}, {"user": "root", "pid": 63, "vsz": 2499284, "rss": 9372, "tt": null, "stat": "SNs", "started": "10:06AM", "time": "0:00.14", "command": "/usr/libexec/warmd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 61, "vsz": 2502372, "rss": 15232, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:02.00", "command": "/usr/libexec/airportd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "root", "pid": 55, "vsz": 2496680, "rss": 3356, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.54", "command": "/System/Library/CoreServices/powerd.bundle/powerd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 54, "vsz": 2500680, "rss": 7388, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.19", "command": "/usr/libexec/configd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "_appleevents", "pid": 53, "vsz": 2500628, "rss": 7544, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:00.19", "command": "/System/Library/CoreServices/appleeventsd --server", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 49, "vsz": 2477508, "rss": 8348, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.78", "command": "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/Support/fseventsd", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "root", "pid": 48, "vsz": 2504440, "rss": 14888, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:03.93", "command": "/usr/libexec/kextd", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "root", "pid": 45, "vsz": 2500908, "rss": 19068, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.39", "command": "/usr/libexec/UserEventAgent (System)", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "root", "pid": 44, "vsz": 2473508, "rss": 1968, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:01.92", "command": "/usr/sbin/syslogd", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "root", "pid": 571, "vsz": 2435008, "rss": 940, "tt": "s000", "stat": "R+", "started": "10:11AM", "time": "0:00.01", "command": "ps axu", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "root", "pid": 1, "vsz": 2494140, "rss": 12332, "tt": null, "stat": "Ss", "started": "10:06AM", "time": "0:06.31", "command": "/sbin/launchd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "root", "pid": 556, "vsz": 2471776, "rss": 3448, "tt": null, "stat": "Ss", "started": "10:11AM", "time": "0:00.03", "command": "/usr/libexec/diskmanagementd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "root", "pid": 554, "vsz": 2501076, "rss": 10568, "tt": null, "stat": "Ss", "started": "10:11AM", "time": "0:00.16", "command": "/Library/PrivilegedHelperTools/com.microsoft.autoupdate.helper", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "root", "pid": 540, "vsz": 2497284, "rss": 14132, "tt": null, "stat": "Ss", "started": "10:10AM", "time": "0:00.05", "command": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "root", "pid": 521, "vsz": 2472744, "rss": 2564, "tt": null, "stat": "Ss", "started": "10:09AM", "time": "0:00.03", "command": "/usr/libexec/systemstatsd", "cpu_percent": 0.0, "mem_percent": 0.1}, {"user": "_spotlight", "pid": 513, "vsz": 2470808, "rss": 2056, "tt": null, "stat": "S", "started": "10:09AM", "time": "0:00.02", "command": "/usr/sbin/distnoted agent", "cpu_percent": 0.0, "mem_percent": 0.0}, {"user": "_spotlight", "pid": 499, "vsz": 2522340, "rss": 21616, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:01.26", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared", "cpu_percent": 0.0, "mem_percent": 0.5}, {"user": "_spotlight", "pid": 498, "vsz": 2528744, "rss": 29460, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:01.76", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared", "cpu_percent": 0.0, "mem_percent": 0.7}, {"user": "_spotlight", "pid": 497, "vsz": 2501736, "rss": 14176, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:00.09", "command": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared", "cpu_percent": 0.0, "mem_percent": 0.3}, {"user": "kelly", "pid": 495, "vsz": 2471580, "rss": 7084, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:00.05", "command": "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Versions/A/printtool agent", "cpu_percent": 0.0, "mem_percent": 0.2}, {"user": "kelly", "pid": 493, "vsz": 2527808, "rss": 15404, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:00.49", "command": "/System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension", "cpu_percent": 0.0, "mem_percent": 0.4}, {"user": "kelly", "pid": 487, "vsz": 2578592, "rss": 41208, "tt": null, "stat": "Ss", "started": "10:07AM", "time": "0:00.39", "command": "/Applications/Backup and Sync.app/Contents/PlugIns/FinderSyncAPIExtension.appex/Contents/MacOS/FinderSyncAPIExtension", "cpu_percent": 0.0, "mem_percent": 1.0}, {"user": "kelly", "pid": 484, "vsz": 2503160, "rss": 5236, "tt": null, "stat": "S", "started": "10:07AM", "time": "0:00.05", "command": "/System/Library/CoreServices/pbs", "cpu_percent": 0.0, "mem_percent": 0.1}] diff --git a/tests/fixtures/osx-10.11.6/ps-ef.json b/tests/fixtures/osx-10.11.6/ps-ef.json new file mode 100644 index 00000000..0f7f09b3 --- /dev/null +++ b/tests/fixtures/osx-10.11.6/ps-ef.json @@ -0,0 +1 @@ +[{"uid": "0", "pid": 1, "ppid": 0, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:06.30", "cmd": "/sbin/launchd"}, {"uid": "0", "pid": 44, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.92", "cmd": "/usr/sbin/syslogd"}, {"uid": "0", "pid": 45, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.39", "cmd": "/usr/libexec/UserEventAgent (System)"}, {"uid": "0", "pid": 48, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:03.88", "cmd": "/usr/libexec/kextd"}, {"uid": "0", "pid": 49, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.74", "cmd": "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/Support/fseventsd"}, {"uid": "55", "pid": 53, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.19", "cmd": "/System/Library/CoreServices/appleeventsd --server"}, {"uid": "0", "pid": 54, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.19", "cmd": "/usr/libexec/configd"}, {"uid": "0", "pid": 55, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.54", "cmd": "/System/Library/CoreServices/powerd.bundle/powerd"}, {"uid": "0", "pid": 61, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.00", "cmd": "/usr/libexec/airportd"}, {"uid": "0", "pid": 63, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.14", "cmd": "/usr/libexec/warmd"}, {"uid": "0", "pid": 64, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:24.76", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds"}, {"uid": "0", "pid": 68, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/CoreServices/iconservicesagent"}, {"uid": "240", "pid": 69, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/CoreServices/iconservicesd"}, {"uid": "0", "pid": 70, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.39", "cmd": "/usr/libexec/diskarbitrationd"}, {"uid": "0", "pid": 72, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.49", "cmd": "/usr/libexec/coreduetd"}, {"uid": "0", "pid": 73, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.06", "cmd": "/usr/libexec/wdhelper"}, {"uid": "0", "pid": 75, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.70", "cmd": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/mtmfs --tcp --resvport --listen localhost --oneshot --noportmap --nobrowse"}, {"uid": "0", "pid": 76, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:04.25", "cmd": "/usr/libexec/opendirectoryd"}, {"uid": "0", "pid": 77, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.06", "cmd": "/usr/sbin/wirelessproxd"}, {"uid": "0", "pid": 79, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.15", "cmd": "/System/Library/PrivateFrameworks/ApplePushService.framework/apsd"}, {"uid": "0", "pid": 80, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.31", "cmd": "/System/Library/CoreServices/launchservicesd"}, {"uid": "213", "pid": 81, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.17", "cmd": "/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/usbmuxd -launchd"}, {"uid": "0", "pid": 82, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:03.23", "cmd": "/usr/sbin/securityd -i"}, {"uid": "205", "pid": 84, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.80", "cmd": "/usr/libexec/locationd"}, {"uid": "0", "pid": 87, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.38", "cmd": "/usr/sbin/blued"}, {"uid": "0", "pid": 88, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.03", "cmd": "autofsd"}, {"uid": "65", "pid": 93, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.59", "cmd": "/usr/sbin/mDNSResponder"}, {"uid": "0", "pid": 95, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.15", "cmd": "/System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Support/revisiond"}, {"uid": "0", "pid": 96, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.02", "cmd": "/usr/sbin/KernelEventAgent"}, {"uid": "501", "pid": 97, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.25", "cmd": "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console"}, {"uid": "0", "pid": 98, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/CoreServices/logind"}, {"uid": "0", "pid": 100, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.67", "cmd": "/usr/libexec/hidd"}, {"uid": "0", "pid": 101, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.15", "cmd": "/usr/libexec/AirPlayXPCHelper"}, {"uid": "0", "pid": 102, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.52", "cmd": "/usr/sbin/notifyd"}, {"uid": "241", "pid": 105, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.56", "cmd": "/usr/sbin/distnoted daemon"}, {"uid": "0", "pid": 114, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:03.76", "cmd": "/usr/libexec/amfid"}, {"uid": "0", "pid": 129, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.22", "cmd": "aslmanager"}, {"uid": "0", "pid": 130, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.16", "cmd": "/usr/libexec/diagnosticd"}, {"uid": "0", "pid": 133, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.49", "cmd": "/System/Library/Frameworks/Security.framework/Versions/A/XPCServices/authd.xpc/Contents/MacOS/authd"}, {"uid": "0", "pid": 134, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.35", "cmd": "/usr/libexec/sandboxd"}, {"uid": "0", "pid": 135, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.64", "cmd": "/usr/sbin/cfprefsd daemon"}, {"uid": "0", "pid": 152, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.68", "cmd": "/System/Library/CoreServices/coreservicesd"}, {"uid": "0", "pid": 170, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/Frameworks/PCSC.framework/Versions/A/XPCServices/com.apple.ctkpcscd.xpc/Contents/MacOS/com.apple.ctkpcscd"}, {"uid": "0", "pid": 171, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.03", "cmd": "/System/Library/Frameworks/CryptoTokenKit.framework/ctkd -s"}, {"uid": "0", "pid": 172, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.10", "cmd": "/usr/libexec/secinitd"}, {"uid": "88", "pid": 179, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:13.99", "cmd": "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/WindowServer -daemon"}, {"uid": "0", "pid": 185, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:04.34", "cmd": "/usr/sbin/ocspd"}, {"uid": "202", "pid": 186, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.51", "cmd": "/usr/sbin/coreaudiod"}, {"uid": "24", "pid": 187, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.57", "cmd": "/usr/libexec/networkd"}, {"uid": "202", "pid": 189, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.11", "cmd": "/System/Library/Frameworks/CoreAudio.framework/Versions/A/XPCServices/com.apple.audio.DriverHelper.xpc/Contents/MacOS/com.apple.audio.DriverHelper"}, {"uid": "0", "pid": 190, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.11", "cmd": "/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/Support/awdd"}, {"uid": "0", "pid": 191, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.06", "cmd": "/usr/libexec/rpcsvchost -launchd netlogon.bundle"}, {"uid": "0", "pid": 192, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/usr/libexec/networkd_privileged"}, {"uid": "0", "pid": 193, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/CoreServices/CrashReporterSupportHelper server-init"}, {"uid": "0", "pid": 198, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.09", "cmd": "/System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper"}, {"uid": "0", "pid": 199, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/PrivateFrameworks/CoreSymbolication.framework/coresymbolicationd"}, {"uid": "0", "pid": 200, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.03", "cmd": "/usr/libexec/smd"}, {"uid": "0", "pid": 201, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.38", "cmd": "/usr/libexec/findmydeviced"}, {"uid": "0", "pid": 202, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.27", "cmd": "/usr/libexec/lsd runAsRoot"}, {"uid": "0", "pid": 203, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.07", "cmd": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper -launchd"}, {"uid": "0", "pid": 204, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.49", "cmd": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/mtmd"}, {"uid": "0", "pid": 206, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:16.58", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mds_stores"}, {"uid": "242", "pid": 207, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.10", "cmd": "/usr/libexec/nsurlsessiond --privileged"}, {"uid": "0", "pid": 208, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.07", "cmd": "/usr/sbin/ntpd -c /private/etc/ntp-restrict.conf -n -g -p /var/run/ntpd.pid -f /var/db/ntp.drift"}, {"uid": "0", "pid": 209, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.15", "cmd": "/usr/libexec/nehelper"}, {"uid": "0", "pid": 210, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.28", "cmd": "/usr/libexec/corestoraged"}, {"uid": "0", "pid": 212, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.14", "cmd": "/usr/libexec/usbd"}, {"uid": "0", "pid": 213, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/CryptoTokenKit/com.apple.ifdreader.slotd/Contents/MacOS/com.apple.ifdreader"}, {"uid": "0", "pid": 214, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.10", "cmd": "/System/Library/Frameworks/CoreMediaIO.framework/Resources/VDC.plugin/Contents/Resources/VDCAssistant"}, {"uid": "0", "pid": 218, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.06", "cmd": "/System/Library/PrivateFrameworks/AmbientDisplay.framework/Versions/A/XPCServices/com.apple.AmbientDisplayAgent.xpc/Contents/MacOS/com.apple.AmbientDisplayAgent"}, {"uid": "0", "pid": 225, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.15", "cmd": "/System/Library/PrivateFrameworks/AuthKit.framework/Versions/A/Support/akd"}, {"uid": "0", "pid": 226, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMServer"}, {"uid": "212", "pid": 242, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.21", "cmd": "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMCompiler 2"}, {"uid": "0", "pid": 244, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.03", "cmd": "/System/Library/PrivateFrameworks/AccountPolicy.framework/XPCServices/com.apple.AccountPolicyHelper.xpc/Contents/MacOS/com.apple.AccountPolicyHelper"}, {"uid": "0", "pid": 251, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.48", "cmd": "/usr/libexec/securityd_service"}, {"uid": "501", "pid": 253, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.79", "cmd": "/usr/libexec/UserEventAgent (Aqua)"}, {"uid": "501", "pid": 255, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.70", "cmd": "/usr/sbin/distnoted agent"}, {"uid": "501", "pid": 257, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.96", "cmd": "/usr/sbin/cfprefsd agent"}, {"uid": "501", "pid": 258, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.97", "cmd": "/usr/libexec/lsd"}, {"uid": "501", "pid": 260, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:03.80", "cmd": "/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_24582"}, {"uid": "501", "pid": 261, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.24", "cmd": "/System/Library/CoreServices/sharedfilelistd"}, {"uid": "0", "pid": 262, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.02", "cmd": "/usr/libexec/watchdogd"}, {"uid": "0", "pid": 264, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.41", "cmd": "/usr/libexec/taskgated -s"}, {"uid": "501", "pid": 266, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:05.58", "cmd": "/System/Library/CoreServices/Dock.app/Contents/MacOS/Dock"}, {"uid": "501", "pid": 267, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.97", "cmd": "/System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer"}, {"uid": "501", "pid": 268, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:11.44", "cmd": "/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder"}, {"uid": "501", "pid": 270, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.02", "cmd": "/usr/sbin/pboard"}, {"uid": "0", "pid": 272, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.13", "cmd": "/usr/sbin/systemsoundserverd"}, {"uid": "0", "pid": 273, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/PrivateFrameworks/TCC.framework/Resources/tccd system"}, {"uid": "501", "pid": 275, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:03.05", "cmd": "/System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight"}, {"uid": "501", "pid": 278, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.87", "cmd": "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Support/fontd"}, {"uid": "501", "pid": 279, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.13", "cmd": "/usr/sbin/usernoted"}, {"uid": "501", "pid": 280, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.17", "cmd": "/usr/libexec/nsurlsessiond"}, {"uid": "501", "pid": 283, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:15.72", "cmd": "/System/Library/PrivateFrameworks/CalendarAgent.framework/Executables/CalendarAgent"}, {"uid": "501", "pid": 285, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.10", "cmd": "/System/Library/CoreServices/mapspushd"}, {"uid": "501", "pid": 286, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.99", "cmd": "/System/Library/PrivateFrameworks/GameCenterFoundation.framework/Versions/A/gamed"}, {"uid": "501", "pid": 287, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.98", "cmd": "/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd"}, {"uid": "501", "pid": 288, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.45", "cmd": "/usr/libexec/secd"}, {"uid": "501", "pid": 289, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.54", "cmd": "/usr/libexec/sharingd"}, {"uid": "501", "pid": 290, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.20", "cmd": "/usr/libexec/pkd"}, {"uid": "501", "pid": 291, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.69", "cmd": "/System/Library/PrivateFrameworks/TCC.framework/Resources/tccd"}, {"uid": "501", "pid": 292, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.12", "cmd": "/System/Library/CoreServices/iconservicesagent"}, {"uid": "501", "pid": 293, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.98", "cmd": "/System/Library/Frameworks/AddressBook.framework/Versions/A/XPCServices/com.apple.AddressBook.ContactsAccountsService.xpc/Contents/MacOS/com.apple.AddressBook.ContactsAccountsService"}, {"uid": "501", "pid": 294, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.46", "cmd": "/usr/libexec/secinitd"}, {"uid": "501", "pid": 295, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.00", "cmd": "/System/Library/PrivateFrameworks/AOSKit.framework/Versions/A/XPCServices/com.apple.iCloudHelper.xpc/Contents/MacOS/com.apple.iCloudHelper"}, {"uid": "501", "pid": 296, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:09.17", "cmd": "/System/Library/Frameworks/Accounts.framework/Versions/A/Support/accountsd"}, {"uid": "0", "pid": 297, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.05", "cmd": "/usr/sbin/filecoordinationd"}, {"uid": "501", "pid": 298, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.11", "cmd": "/System/Library/PrivateFrameworks/CoreWLANKit.framework/Versions/A/XPCServices/WiFiProxy.xpc/Contents/MacOS/WiFiProxy"}, {"uid": "0", "pid": 299, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.08", "cmd": "/System/Library/CoreServices/sharedfilelistd --enable-legacy-services"}, {"uid": "501", "pid": 300, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.30", "cmd": "/usr/libexec/SafariCloudHistoryPushAgent"}, {"uid": "501", "pid": 301, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.17", "cmd": "/usr/libexec/fmfd"}, {"uid": "501", "pid": 302, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.11", "cmd": "/System/Library/PrivateFrameworks/CallHistory.framework/Support/CallHistorySyncHelper"}, {"uid": "501", "pid": 304, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.07", "cmd": "/System/Library/PrivateFrameworks/AskPermission.framework/Versions/A/Resources/askpermissiond"}, {"uid": "501", "pid": 305, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.06", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/maspushagent"}, {"uid": "501", "pid": 306, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.76", "cmd": "/System/Library/PrivateFrameworks/AuthKit.framework/Versions/A/Support/akd"}, {"uid": "501", "pid": 307, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:04.66", "cmd": "/System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird"}, {"uid": "501", "pid": 308, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.90", "cmd": "/usr/libexec/nsurlstoraged"}, {"uid": "501", "pid": 310, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.34", "cmd": "/System/Library/PrivateFrameworks/CloudKitDaemon.framework/Support/cloudd"}, {"uid": "501", "pid": 311, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:07.69", "cmd": "/System/Library/PrivateFrameworks/CalendarAgent.framework/Versions/A/XPCServices/CalNCService.xpc/Contents/MacOS/CalNCService"}, {"uid": "501", "pid": 312, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.21", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeassetd"}, {"uid": "247", "pid": 313, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.07", "cmd": "/usr/libexec/gamecontrollerd"}, {"uid": "501", "pid": 315, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:06.80", "cmd": "/System/Library/PrivateFrameworks/TelephonyUtilities.framework/callservicesd"}, {"uid": "501", "pid": 316, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:16.80", "cmd": "/System/Library/PrivateFrameworks/ParsecUI.framework/Versions/A/Support/SpotlightNetHelper.app/Contents/MacOS/SpotlightNetHelper"}, {"uid": "501", "pid": 321, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.48", "cmd": "/System/Library/CoreServices/cloudphotosd.app/Contents/MacOS/cloudphotosd"}, {"uid": "501", "pid": 322, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.67", "cmd": "/System/Library/PrivateFrameworks/CoreSuggestions.framework/Versions/A/Support/suggestd"}, {"uid": "0", "pid": 323, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.41", "cmd": "/System/Library/PrivateFrameworks/CacheDelete.framework/deleted"}, {"uid": "0", "pid": 324, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.10", "cmd": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/TMCacheDelete"}, {"uid": "0", "pid": 325, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:13.82", "cmd": "/System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd"}, {"uid": "0", "pid": 327, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.02", "cmd": "/System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/XPCServices/com.apple.PerformanceAnalysis.animationperfd.xpc/Contents/MacOS/com.apple.PerformanceAnalysis.animationperfd"}, {"uid": "501", "pid": 328, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.17", "cmd": "/System/Library/Frameworks/QuickLook.framework/Resources/quicklookd.app/Contents/MacOS/quicklookd"}, {"uid": "501", "pid": 331, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/Frameworks/Security.framework/Versions/A/Resources/CloudKeychainProxy.bundle/Contents/MacOS/CloudKeychainProxy"}, {"uid": "501", "pid": 332, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:02.17", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeaccountd"}, {"uid": "501", "pid": 333, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.03", "cmd": "/System/Library/PrivateFrameworks/CommunicationsFilter.framework/CMFSyncAgent.app/Contents/MacOS/CMFSyncAgent"}, {"uid": "501", "pid": 334, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.41", "cmd": "/System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/XPCServices/com.apple.geod.xpc/Contents/MacOS/com.apple.geod"}, {"uid": "501", "pid": 335, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.32", "cmd": "/System/Library/CoreServices/Dock.app/Contents/XPCServices/com.apple.dock.extra.xpc/Contents/MacOS/com.apple.dock.extra"}, {"uid": "501", "pid": 336, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:06.10", "cmd": "/System/Library/PrivateFrameworks/MessagesKit.framework/Resources/soagent.app/Contents/MacOS/soagent"}, {"uid": "501", "pid": 337, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.46", "cmd": "/System/Library/PrivateFrameworks/IMCore.framework/imagent.app/Contents/MacOS/imagent"}, {"uid": "501", "pid": 338, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.52", "cmd": "/System/Library/PrivateFrameworks/IMDPersistence.framework/XPCServices/IMDPersistenceAgent.xpc/Contents/MacOS/IMDPersistenceAgent"}, {"uid": "501", "pid": 339, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.09", "cmd": "/System/Library/PrivateFrameworks/CallHistory.framework/Support/CallHistoryPluginHelper"}, {"uid": "501", "pid": 340, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.27", "cmd": "/System/Library/PrivateFrameworks/CloudDocsDaemon.framework/XPCServices/ContainerMetadataExtractor.xpc/Contents/MacOS/ContainerMetadataExtractor"}, {"uid": "501", "pid": 341, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.08", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/XPCServices/com.apple.CommerceKit.TransactionService.xpc/Contents/MacOS/com.apple.CommerceKit.TransactionService"}, {"uid": "243", "pid": 342, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.05", "cmd": "/usr/libexec/nsurlstoraged"}, {"uid": "501", "pid": 343, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.11", "cmd": "/System/Library/CoreServices/CoreServicesUIAgent.app/Contents/MacOS/CoreServicesUIAgent"}, {"uid": "24", "pid": 344, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.56", "cmd": "/usr/libexec/symptomsd"}, {"uid": "501", "pid": 346, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent --launchd"}, {"uid": "501", "pid": 349, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/PrivateFrameworks/HelpData.framework/Versions/A/Resources/helpd"}, {"uid": "222", "pid": 353, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.08", "cmd": "/usr/sbin/netbiosd"}, {"uid": "501", "pid": 354, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.54", "cmd": "/System/Library/PrivateFrameworks/IMFoundation.framework/XPCServices/IMRemoteURLConnectionAgent.xpc/Contents/MacOS/IMRemoteURLConnectionAgent"}, {"uid": "501", "pid": 357, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/Frameworks/VideoToolbox.framework/Versions/A/XPCServices/VTDecoderXPCService.xpc/Contents/MacOS/VTDecoderXPCService"}, {"uid": "501", "pid": 359, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.16", "cmd": "/System/Library/PrivateFrameworks/CloudPhotoServices.framework/Versions/A/Frameworks/CloudPhotosConfigurationXPC.framework/Versions/A/XPCServices/com.apple.CloudPhotosConfiguration.xpc/Contents/MacOS/com.apple.CloudPhotosConfiguration"}, {"uid": "0", "pid": 367, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.03", "cmd": "/System/Library/Frameworks/AudioToolbox.framework/XPCServices/com.apple.audio.SandboxHelper.xpc/Contents/MacOS/com.apple.audio.SandboxHelper"}, {"uid": "501", "pid": 368, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.15", "cmd": "/System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthSysAgent"}, {"uid": "0", "pid": 386, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.02", "cmd": "/System/Library/Filesystems/AppleShare/check_afp.app/Contents/MacOS/check_afp"}, {"uid": "501", "pid": 389, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "1:13.64", "cmd": "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft Update Assistant.app/Contents/MacOS/Microsoft Update Assistant -checkForUpdates"}, {"uid": "501", "pid": 390, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.11", "cmd": "/System/Library/CoreServices/FolderActionsDispatcher.app/Contents/MacOS/FolderActionsDispatcher"}, {"uid": "501", "pid": 392, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.03", "cmd": "/usr/libexec/spindump_agent"}, {"uid": "501", "pid": 394, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/CoreServices/SocialPushAgent.app/Contents/MacOS/SocialPushAgent"}, {"uid": "501", "pid": 397, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.19", "cmd": "/System/Library/CoreServices/Keychain Circle Notification.app/Contents/MacOS/Keychain Circle Notification"}, {"uid": "501", "pid": 400, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.45", "cmd": "/System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter"}, {"uid": "501", "pid": 402, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.29", "cmd": "/System/Library/Image Capture/Support/icdd"}, {"uid": "501", "pid": 404, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.57", "cmd": "/System/Library/CoreServices/AppleIDAuthAgent"}, {"uid": "501", "pid": 408, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.11", "cmd": "/System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent --launchd"}, {"uid": "501", "pid": 411, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.89", "cmd": "/System/Library/CoreServices/WiFiAgent.app/Contents/MacOS/WiFiAgent"}, {"uid": "501", "pid": 412, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.13", "cmd": "/System/Library/CoreServices/diagnostics_agent"}, {"uid": "501", "pid": 417, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.11", "cmd": "/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app/Contents/MacOS/iTunesHelper"}, {"uid": "501", "pid": 419, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:10.30", "cmd": "/Applications/Backup and Sync.app/Contents/MacOS/Backup and Sync"}, {"uid": "501", "pid": 426, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/CoreServices/NotificationCenter.app/Contents/XPCServices/com.apple.notificationcenterui.WeatherSummary.xpc/Contents/MacOS/com.apple.notificationcenterui.WeatherSummary"}, {"uid": "501", "pid": 427, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.12", "cmd": "/System/Library/PrivateFrameworks/AssistantServices.framework/assistantd"}, {"uid": "501", "pid": 428, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.52", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeinappd"}, {"uid": "501", "pid": 429, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.07", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/XPCServices/com.apple.CommerceKit.TransactionService.xpc/Contents/MacOS/com.apple.CommerceKit.TransactionService"}, {"uid": "501", "pid": 432, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.12", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storedownloadd"}, {"uid": "501", "pid": 434, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:01.75", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared"}, {"uid": "501", "pid": 435, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.45", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared"}, {"uid": "501", "pid": 436, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.30", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared"}, {"uid": "501", "pid": 437, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.37", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared"}, {"uid": "501", "pid": 438, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.39", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared"}, {"uid": "0", "pid": 439, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/usr/sbin/spindump"}, {"uid": "0", "pid": 440, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.06", "cmd": "/System/Library/CoreServices/SubmitDiagInfo server-init"}, {"uid": "200", "pid": 445, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:03.71", "cmd": "/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated"}, {"uid": "0", "pid": 446, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.03", "cmd": "/System/Library/PrivateFrameworks/SoftwareUpdate.framework/Resources/suhelperd"}, {"uid": "501", "pid": 447, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.06", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter"}, {"uid": "0", "pid": 448, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.04", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter"}, {"uid": "0", "pid": 459, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:09.27", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-scan -c MDSSyncScanWorker -m com.apple.metadata.mds.scan"}, {"uid": "501", "pid": 461, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.12", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storelegacy"}, {"uid": "501", "pid": 462, "ppid": 1, "c": 0, "stime": "10:06AM", "tty": null, "time": "0:00.16", "cmd": "/System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Support/photolibraryd"}, {"uid": "501", "pid": 463, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.15", "cmd": "/System/Library/PrivateFrameworks/CommerceKit.framework/Resources/LaterAgent.app/Contents/MacOS/LaterAgent"}, {"uid": "501", "pid": 465, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.23", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-sizing -c MDSSizingWorker -m com.apple.mdworker.sizing"}, {"uid": "501", "pid": 477, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.36", "cmd": "/System/Library/CoreServices/System Events.app/Contents/MacOS/System Events"}, {"uid": "501", "pid": 480, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.09", "cmd": "/usr/libexec/swcd"}, {"uid": "501", "pid": 484, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/CoreServices/pbs"}, {"uid": "501", "pid": 487, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.39", "cmd": "/Applications/Backup and Sync.app/Contents/PlugIns/FinderSyncAPIExtension.appex/Contents/MacOS/FinderSyncAPIExtension"}, {"uid": "501", "pid": 493, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.49", "cmd": "/System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension"}, {"uid": "501", "pid": 495, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Versions/A/printtool agent"}, {"uid": "89", "pid": 497, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:00.09", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared"}, {"uid": "89", "pid": 498, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:01.37", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared"}, {"uid": "89", "pid": 499, "ppid": 1, "c": 0, "stime": "10:07AM", "tty": null, "time": "0:01.04", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared"}, {"uid": "89", "pid": 513, "ppid": 1, "c": 0, "stime": "10:09AM", "tty": null, "time": "0:00.02", "cmd": "/usr/sbin/distnoted agent"}, {"uid": "89", "pid": 514, "ppid": 1, "c": 0, "stime": "10:09AM", "tty": null, "time": "0:02.83", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-sizing -c MDSSizingWorker -m com.apple.mdworker.sizing"}, {"uid": "89", "pid": 518, "ppid": 1, "c": 0, "stime": "10:09AM", "tty": null, "time": "0:01.14", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-bundle -c MDSImporterBundleFinder -m com.apple.mdworker.bundles"}, {"uid": "501", "pid": 519, "ppid": 1, "c": 0, "stime": "10:09AM", "tty": null, "time": "0:01.24", "cmd": "/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-bundle -c MDSImporterBundleFinder -m com.apple.mdworker.bundles"}, {"uid": "0", "pid": 521, "ppid": 1, "c": 0, "stime": "10:09AM", "tty": null, "time": "0:00.03", "cmd": "/usr/libexec/systemstatsd"}, {"uid": "0", "pid": 540, "ppid": 1, "c": 0, "stime": "10:10AM", "tty": null, "time": "0:00.05", "cmd": "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd"}, {"uid": "0", "pid": 554, "ppid": 1, "c": 0, "stime": "10:11AM", "tty": null, "time": "0:00.16", "cmd": "/Library/PrivilegedHelperTools/com.microsoft.autoupdate.helper"}, {"uid": "0", "pid": 556, "ppid": 1, "c": 0, "stime": "10:11AM", "tty": null, "time": "0:00.03", "cmd": "/usr/libexec/diskmanagementd"}, {"uid": "501", "pid": 568, "ppid": 389, "c": 0, "stime": "10:11AM", "tty": null, "time": "0:00.67", "cmd": "/usr/bin/codesign --verify --deep /Applications/Microsoft PowerPoint.app"}, {"uid": "0", "pid": 360, "ppid": 260, "c": 0, "stime": "10:06AM", "tty": "ttys000", "time": "0:00.05", "cmd": "login -pfl kelly /bin/bash -c exec -la bash /bin/bash"}, {"uid": "501", "pid": 361, "ppid": 360, "c": 0, "stime": "10:06AM", "tty": "ttys000", "time": "0:00.06", "cmd": "-bash"}, {"uid": "0", "pid": 569, "ppid": 361, "c": 0, "stime": "10:11AM", "tty": "ttys000", "time": "0:00.01", "cmd": "ps -ef"}, {"uid": "0", "pid": 380, "ppid": 260, "c": 0, "stime": "10:06AM", "tty": "ttys001", "time": "0:00.03", "cmd": "login -pfl kelly /bin/bash -c exec -la bash /bin/bash"}, {"uid": "501", "pid": 381, "ppid": 380, "c": 0, "stime": "10:06AM", "tty": "ttys001", "time": "0:00.02", "cmd": "-bash"}] diff --git a/tests/fixtures/osx-10.11.6/w.json b/tests/fixtures/osx-10.11.6/w.json new file mode 100644 index 00000000..4d01391e --- /dev/null +++ b/tests/fixtures/osx-10.11.6/w.json @@ -0,0 +1 @@ +[{"user": "kelly", "tty": "console", "from": null, "login_at": "02Dec19", "idle": "10days", "what": null}, {"user": "kelly", "tty": "s000", "from": null, "login_at": "Thu11", "idle": null, "what": "ssh localhost"}, {"user": "kelly", "tty": "s001", "from": "::1", "login_at": "10:02", "idle": null, "what": "-bash"}, {"user": "kelly", "tty": "s002", "from": null, "login_at": "10:02", "idle": null, "what": "w"}, {"user": "kelly", "tty": "s003", "from": null, "login_at": "10:03", "idle": null, "what": "ssh 127.0.0.1"}, {"user": "kelly", "tty": "s004", "from": "127.0.0.1", "login_at": "10:03", "idle": null, "what": "-bash"}] diff --git a/tests/fixtures/osx-10.14.6/w.json b/tests/fixtures/osx-10.14.6/w.json new file mode 100644 index 00000000..7c3fddeb --- /dev/null +++ b/tests/fixtures/osx-10.14.6/w.json @@ -0,0 +1 @@ +[{"user": "kelly", "tty": "console", "from": null, "login_at": "22Nov19", "idle": "20days", "what": null}, {"user": "kelly", "tty": "s000", "from": null, "login_at": "Wed16", "idle": null, "what": "ssh localhost"}, {"user": "kelly", "tty": "s001", "from": "127.0.0.1", "login_at": "10:14", "idle": null, "what": "-bash"}, {"user": "kelly", "tty": "s002", "from": null, "login_at": "10:14", "idle": null, "what": "ssh 127.0.0.1"}, {"user": "kelly", "tty": "s003", "from": "127.0.0.1", "login_at": "10:14", "idle": null, "what": "-bash"}, {"user": "kelly", "tty": "s004", "from": null, "login_at": "10:14", "idle": null, "what": "ssh ::1"}, {"user": "kelly", "tty": "s005", "from": "::1", "login_at": "10:15", "idle": null, "what": "-bash"}, {"user": "kelly", "tty": "s006", "from": null, "login_at": "10:15", "idle": null, "what": "w"}] diff --git a/tests/test_ps.py b/tests/test_ps.py index 01ef9880..6be20773 100644 --- a/tests/test_ps.py +++ b/tests/test_ps.py @@ -16,6 +16,9 @@ class MyTests(unittest.TestCase): with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/ps-ef.out'), 'r') as f: self.ubuntu_18_4_ps_ef = f.read() + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.11.6/ps-ef.out'), 'r') as f: + self.osx_10_11_6_ps_ef = f.read() + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/ps-ef.out'), 'r') as f: self.osx_10_14_6_ps_ef = f.read() @@ -25,6 +28,9 @@ class MyTests(unittest.TestCase): with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/ps-axu.out'), 'r') as f: self.ubuntu_18_4_ps_axu = f.read() + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.11.6/ps-axu.out'), 'r') as f: + self.osx_10_11_6_ps_axu = f.read() + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/ps-axu.out'), 'r') as f: self.osx_10_14_6_ps_axu = f.read() @@ -35,6 +41,9 @@ class MyTests(unittest.TestCase): with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/ps-ef.json'), 'r') as f: self.ubuntu_18_4_ps_ef_json = json.loads(f.read()) + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.11.6/ps-ef.json'), 'r') as f: + self.osx_10_11_6_ps_ef_json = json.loads(f.read()) + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/ps-ef.json'), 'r') as f: self.osx_10_14_6_ps_ef_json = json.loads(f.read()) @@ -44,6 +53,9 @@ class MyTests(unittest.TestCase): with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/ps-axu.json'), 'r') as f: self.ubuntu_18_4_ps_axu_json = json.loads(f.read()) + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.11.6/ps-axu.json'), 'r') as f: + self.osx_10_11_6_ps_axu_json = json.loads(f.read()) + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/ps-axu.json'), 'r') as f: self.osx_10_14_6_ps_axu_json = json.loads(f.read()) @@ -59,6 +71,12 @@ class MyTests(unittest.TestCase): """ self.assertEqual(jc.parsers.ps.parse(self.ubuntu_18_4_ps_ef, quiet=True), self.ubuntu_18_4_ps_ef_json) + def test_ps_ef_osx_10_11_6(self): + """ + Test 'ps -ef' on OSX 10.11.6 + """ + self.assertEqual(jc.parsers.ps.parse(self.osx_10_11_6_ps_ef, quiet=True), self.osx_10_11_6_ps_ef_json) + def test_ps_ef_osx_10_14_6(self): """ Test 'ps -ef' on OSX 10.14.6 @@ -77,6 +95,12 @@ class MyTests(unittest.TestCase): """ self.assertEqual(jc.parsers.ps.parse(self.ubuntu_18_4_ps_axu, quiet=True), self.ubuntu_18_4_ps_axu_json) + def test_ps_axu_osx_10_11_6(self): + """ + Test 'ps axu' on OSX 10.11.6 + """ + self.assertEqual(jc.parsers.ps.parse(self.osx_10_11_6_ps_axu, quiet=True), self.osx_10_11_6_ps_axu_json) + def test_ps_axu_osx_10_14_6(self): """ Test 'ps axu' on OSX 10.14.6 diff --git a/tests/test_w.py b/tests/test_w.py index 52d8b8f1..9ba154f5 100644 --- a/tests/test_w.py +++ b/tests/test_w.py @@ -16,6 +16,12 @@ class MyTests(unittest.TestCase): with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/w.out'), 'r') as f: self.ubuntu_18_4_w = f.read() + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.11.6/w.out'), 'r') as f: + self.osx_10_11_6_w = f.read() + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/w.out'), 'r') as f: + self.osx_10_14_6_w = f.read() + # output with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/w.json'), 'r') as f: self.centos_7_7_w_json = json.loads(f.read()) @@ -23,6 +29,12 @@ class MyTests(unittest.TestCase): with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/ubuntu-18.04/w.json'), 'r') as f: self.ubuntu_18_4_w_json = json.loads(f.read()) + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.11.6/w.json'), 'r') as f: + self.osx_10_11_6_json = json.loads(f.read()) + + with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/osx-10.14.6/w.json'), 'r') as f: + self.osx_10_14_6_json = json.loads(f.read()) + def test_w_centos_7_7(self): """ Test 'w' on Centos 7.7 @@ -35,6 +47,18 @@ class MyTests(unittest.TestCase): """ self.assertEqual(jc.parsers.w.parse(self.ubuntu_18_4_w, quiet=True), self.ubuntu_18_4_w_json) + def test_w_osx_10_11_6(self): + """ + Test 'w' on OSX 10.11.6 + """ + self.assertEqual(jc.parsers.w.parse(self.osx_10_11_6_w, quiet=True), self.osx_10_11_6_json) + + def test_w_osx_10_14_6(self): + """ + Test 'w' on OSX 10.14.6 + """ + self.assertEqual(jc.parsers.w.parse(self.osx_10_14_6_w, quiet=True), self.osx_10_14_6_json) + if __name__ == '__main__': unittest.main()