[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112496":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":9,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},112496,"Procexp-Mac","microsoft\u002FProcexp-Mac","microsoft","Process Explorer for MacOS",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FProcexp-Mac","Swift",1055,34,5,8,0,9,86,378,54,97.63,false,"main","2026-11-11 20:26:16","2026-11-23 15:39:23","# Sysinternals Process Explorer for Mac\n\nSysinternals Process Explorer for Mac is a native macOS implementation of the core Process Explorer experience. It provides a live process tree, lower-pane module\u002Fhandle\u002Fthread inspection, rich per-process properties, system-wide performance graphs, code-signing inspection, and macOS-specific equivalents for Process Explorer workflows.\n\nThe app is built with Swift, SwiftUI, and AppKit, with sampling backed by public macOS APIs such as `libproc`, `sysctl`, Mach host statistics, Security.framework, IOKit, Metal, and optional privileged helper support.\n\n![Sysinternals Process Explorer for Mac showing process details and system information](docs\u002Fimages\u002Fprocess-explorer.png)\n\n## Features\n\n- Live process tree with Process Explorer-style colors for services, own processes, new\u002Fdeleted processes, suspended processes, sandboxed processes, and packed images.\n- Frozen process-name pane with horizontally scrollable metric columns.\n- Persisted process-list column widths, ordering, column sets, and selected columns.\n- Type-to-select in process and lower-pane lists.\n- Immediate tooltips for truncated cells and process path\u002Fcommand-line detail.\n- Pause\u002Fresume refresh with the spacebar.\n- Native menu bar with File, Options, View, Process, Find, Window, and Help commands.\n- Toolbar actions for refresh, save, process properties, kill, lower pane, find handle\u002FDLL, target-window picker, and System Information graphs.\n- Lower pane modes for DLLs\u002Fimages, handles\u002Ffile descriptors, and threads.\n- Lower-pane row highlighting for newly appeared and deleted items.\n- Per-process Properties window with Image, Performance, Performance Graph, Threads, TCP\u002FIP, Security, Environment, and Strings tabs.\n- TCP\u002FIP tab with local address, remote address, async reverse-DNS remote name lookup, TCP state, and column persistence.\n- Security\u002Fsignature detail with signer, publisher, certificate chain, Team ID, notarization status, platform\u002Fad-hoc status, validation reason, SHA-256, and VirusTotal integration.\n- Module\u002Fimage detail windows with metadata, signature verification, VirusTotal, Reveal in Finder, and Search Online.\n- Handle\u002Ffile-descriptor detail windows.\n- System Information window with Summary, CPU, Memory, I\u002FO, Network, and GPU pages.\n- System Information graphs for CPU, memory, swap, disk I\u002FO, network I\u002FO, GPU, and per-core CPU usage.\n- Performance vs. efficiency core labeling and coloring on Apple Silicon.\n- Hardware details for CPU topology\u002Fcache, memory\u002Fpage information, storage, network interfaces, GPU device capabilities, and OS\u002Fmachine data.\n- Menu-bar CPU history item.\n- Process actions: kill, kill tree, suspend\u002Fresume, set priority\u002Fnice, restart, bring to front, sample process, Search Online, Check VirusTotal.\n- Optional privileged helper architecture for cross-user and privileged operations.\n- Release scripts for DMG creation, signing, and notarization.\n\n## Requirements\n\n- macOS 14 or later for the GUI app target.\n- Xcode 26.6 or later recommended for the current project configuration.\n- Swift 5.9 toolchain or later.\n- `xcodegen` for regenerating `ProcexpMac.xcodeproj` from `project.yml`.\n\nInstall `xcodegen` if needed:\n\n```sh\nbrew install xcodegen\n```\n\n## Build\n\nGenerate the Xcode project and build the Debug app:\n\n```sh\nxcodegen generate\nxcodebuild -scheme ProcexpMac -configuration Debug build\n```\n\nThe Debug app is written under Xcode DerivedData. On this machine the path is typically:\n\n```sh\n~\u002FLibrary\u002FDeveloper\u002FXcode\u002FDerivedData\u002FProcexpMac-czqddcuyalgzfgebjezrhssregtw\u002FBuild\u002FProducts\u002FDebug\u002FProcExp\\ \\(Dev\\).app\n```\n\nYou can also open the generated project in Xcode:\n\n```sh\nxcodegen generate\nopen ProcexpMac.xcodeproj\n```\n\n## Run\n\nAfter a Debug build, launch the app with:\n\n```sh\nopen \"$HOME\u002FLibrary\u002FDeveloper\u002FXcode\u002FDerivedData\u002FProcexpMac-czqddcuyalgzfgebjezrhssregtw\u002FBuild\u002FProducts\u002FDebug\u002FProcExp (Dev).app\"\n```\n\nIf your DerivedData suffix differs, locate the product with:\n\n```sh\nfind ~\u002FLibrary\u002FDeveloper\u002FXcode\u002FDerivedData -path '*\u002FBuild\u002FProducts\u002FDebug\u002FProcExp (Dev).app' -print\n```\n\nTo relaunch a freshly built app from this workspace:\n\n```sh\napp=\"$HOME\u002FLibrary\u002FDeveloper\u002FXcode\u002FDerivedData\u002FProcexpMac-czqddcuyalgzfgebjezrhssregtw\u002FBuild\u002FProducts\u002FDebug\u002FProcExp (Dev).app\"\npids=$(pgrep -f \"$app\u002FContents\u002FMacOS\u002FProcexpMac\" || true)\nif [[ -n \"$pids\" ]]; then kill $pids 2>\u002Fdev\u002Fnull || true; fi\nopen -n \"$app\"\n```\n\n### Bundle identity: development vs. official\n\nUnqualified Xcode and local ad-hoc builds use `ProcExp (Dev).app` with bundle\nID `com.sysinternals.procexpmac.dev`. Its helper uses the separate launchd and\nMach service ID `com.sysinternals.procexpmac.dev.helper`. The development app,\nhelper approval, preferences, and LaunchServices registration therefore do not\nreplace an installed official copy.\n\nThe official identities are reserved for an explicit Developer ID build or the\nAzure release pipeline: `ProcExp.app`, `com.sysinternals.procexpmac`, and\n`com.sysinternals.procexpmac.helper`. The build and signing scripts validate the\nentire tuple before signing or publishing it.\n\n## Validate\n\nRun the full Swift package test suite:\n\n```sh\nswift test\n```\n\nRun the live smoke test:\n\n```sh\nswift run ProcexpSmoke\n```\n\nRun focused test suites:\n\n```sh\nswift test --filter ProcexpModelTests\nswift test --filter ProcexpNetworkTests\nswift test --filter ProcexpSigningTests\n```\n\n## TCP\u002FIP Test Fixture\n\nThe repository includes a small stateful TCP fixture for testing the TCP\u002FIP tab:\n\n```sh\nswift build --product ProcexpTcpFixture\n.build\u002Fdebug\u002FProcexpTcpFixture --duration 3600 --remote-host github.com --remote-port 22\n```\n\nThe fixture opens a loopback listener, creates a loopback established connection, and optionally opens a DNS-resolved remote TCP connection. Select the fixture process in Process Explorer and open Properties > TCP\u002FIP to inspect the sockets and remote-name resolution.\n\n## Privileged Helper\n\nThe app can use an optional privileged root helper for operations that require\nelevated privileges, such as richer cross-user process detail (full process\nlist, threads, modules, environment) and privileged process control. The helper\nis a launchd daemon reached over XPC; the app registers it with `SMAppService`.\n\nmacOS gates `SMAppService` daemon registration on the app's code signature and\non an explicit user approval. The app must be signed with a **stable, non-ad-hoc**\nidentity — a **Developer ID Application** certificate for distribution, or a\nself-signed identity for local development — and you approve the daemon once in\n**System Settings ▸ General ▸ Login Items & Extensions**. The sections below\ncover both the Developer ID install and a local self-signed test.\n\n### Testing with a Developer ID certificate (real install)\n\nThis is the same experience end users get.\n\n```sh\nDEV_SIGN_IDENTITY=\"Developer ID Application: NAME (TEAMID)\" \\\nbash Scripts\u002Fdev_install_helper.sh\n```\n\nThis builds a Release app, embeds the helper and its launchd plist at\n`Contents\u002FLibrary\u002FLaunchDaemons\u002F`, signs everything inside-out with the Hardened\nRuntime and entitlements, installs `\u002FApplications\u002FProcExp.app`, and launches\nit. Then, in the app, choose **ProcexpMac ▸ Install Privileged Helper…** and\napprove the daemon in **System Settings ▸ General ▸ Login Items & Extensions**.\nAfter approval the app adopts the privileged provider and shows all processes.\n\n### Testing without a Developer ID certificate (local self-signed)\n\nFor local development you can exercise the same privileged code path with a\nthrowaway self-signed identity. On first run the script creates the identity in\na dedicated keychain (no login-keychain involvement), builds a signed,\nhelper-embedded app, installs it to `\u002FApplications`, and launches it:\n\n```sh\nbash Scripts\u002Fdev_install_helper.sh\n```\n\nThen, one time only, choose **ProcexpMac ▸ Install Privileged Helper…** and\napprove the daemon in **System Settings ▸ General ▸ Login Items & Extensions**.\nAfter that, every subsequent run of the script rebuilds and relaunches the\nsigned app with the helper already enabled, so the elevated path is available on\neach iteration:\n\n```sh\nbash Scripts\u002Fdev_install_helper.sh          # Debug (default), fast\nCONFIGURATION=Release bash Scripts\u002Fdev_install_helper.sh\nRESTART_HELPER=1 bash Scripts\u002Fdev_install_helper.sh   # after changing helper code\n```\n\nNotes:\n- The script defaults to a **Debug** build signed with the **\"ProcexpMac Dev\"**\n  self-signed identity. It installs `\u002FApplications\u002FProcExp (Dev).app` with the\n  `.dev` app and helper identifiers. `SMAppService` ties daemon registration to\n  the app's signature and location, so reinstalling the same-identity build\n  keeps the development helper registered.\n- The app changes take effect on relaunch; the root **helper** keeps running its\n  already-loaded binary, so pass `RESTART_HELPER=1` (prompts for sudo) when you\n  change the helper's own code.\n- A corporate-managed Mac can prompt for a keychain password when `codesign`\n  touches your login keychain and reject your account password if the login\n  keychain drifted out of sync after a rotation. The dedicated keychain the\n  script creates avoids that entirely.\n\n### Verifying and cleaning up\n\nCheck whether the daemon is registered and running as root:\n\n```sh\nlaunchctl print system\u002Fcom.sysinternals.procexpmac.dev.helper\n```\n\nFor an explicit Developer ID install, inspect the official service instead:\n\n```sh\nlaunchctl print system\u002Fcom.sysinternals.procexpmac.helper\n```\n\nIf registration succeeded, the process list shows previously hidden cross-user\nand system processes. If the daemon is registered but not yet enabled, approve\nit in **System Settings ▸ General ▸ Login Items & Extensions** and it becomes\nactive. Repeated reinstalls can clear a previously remembered approval, in which\ncase macOS asks you to approve it again. If registration is refused outright\n(for example, an ad-hoc signature), the app reports that the helper could not be\nregistered and continues in unprivileged mode.\n\nRemove the installed app and unregister the helper:\n\n```sh\nbash Scripts\u002Fdev_uninstall_helper.sh\n```\n\nThe cleanup script defaults to the development tuple. To remove an explicit\nDeveloper ID test install instead, run:\n\n```sh\nPROCEXP_LOCAL_FLAVOR=official bash Scripts\u002Fdev_uninstall_helper.sh\n```\n\nRemove the throwaway signing keychain when finished:\n\n```sh\nsecurity delete-keychain \"$HOME\u002FLibrary\u002FKeychains\u002Fprocexp-dev.keychain-db\"\n```\n\nSee [Helper\u002FREADME.md](Helper\u002FREADME.md) and [docs\u002FRELEASE.md](docs\u002FRELEASE.md)\nfor the helper architecture and the full Developer ID signing\u002Fnotarization\npipeline.\n\n## Release Build\n\nBuild a release DMG:\n\n```sh\nbash Scripts\u002Fbuild_release.sh\n```\n\nThis local ad-hoc command creates `build\u002FProcExp-Dev.dmg` containing\n`ProcExp (Dev).app`. To prepare the canonical app for Developer ID signing:\n\n```sh\nPROCEXP_BUILD_FLAVOR=official PACKAGE_DMG=0 bash Scripts\u002Fbuild_release.sh\n```\n\nSign and notarize a release build after configuring Developer ID credentials:\n\n```sh\nbash Scripts\u002Fsign_notarize.sh\n```\n\nSee [docs\u002FRELEASE.md](docs\u002FRELEASE.md) for the full release pipeline.\n\n## Project Layout\n\n- [App](App) - SwiftUI\u002FAppKit GUI application code.\n- [Sources\u002FProcexpModel](Sources\u002FProcexpModel) - shared model types, providers, formatting, columns, and coloring rules.\n- [Sources\u002FProcexpSampling](Sources\u002FProcexpSampling) - unprivileged process sampling with `libproc` and `sysctl`.\n- [Sources\u002FProcexpNetwork](Sources\u002FProcexpNetwork) - socket enumeration and system GPU utilization.\n- [Sources\u002FProcexpSigning](Sources\u002FProcexpSigning) - code-signing, SHA-256, Keychain, and VirusTotal support.\n- [Sources\u002FProcexpGraphs](Sources\u002FProcexpGraphs) - AppKit graph views and SwiftUI wrappers.\n- [Sources\u002FProcexpActions](Sources\u002FProcexpActions) - process actions and confirmation metadata.\n- [Sources\u002FProcexpAutostart](Sources\u002FProcexpAutostart) - launchd\u002Fautostart detection.\n- [Sources\u002FProcexpPrivileged](Sources\u002FProcexpPrivileged) and [Sources\u002FProcexpHelper](Sources\u002FProcexpHelper) - privileged helper client and daemon.\n- [Tests](Tests) - Swift package tests.\n- [Scripts](Scripts) - build, icon, signing, notarization, and release scripts.\n- [docs](docs) - implementation, release, and project notes.\n\n## Notes\n\nmacOS does not expose every Process Explorer data source through public APIs. Where macOS denies access or a metric is not available through supported APIs, the UI leaves values blank rather than fabricating data. Some details become available only for same-user processes or when the privileged helper is active.\n","这是一个为 macOS 平台开发的原生进程管理工具，提供类似 Windows Sysinternals Process Explorer 的深度系统监控与分析能力。核心功能包括实时进程树视图、下方面板（模块\u002F句柄\u002F线程）动态检视、进程属性详情（含签名验证、TCP连接、环境变量、内存字符串等）、全系统性能图表（CPU\u002F内存\u002F磁盘\u002F网络\u002FGPU），以及 Apple Silicon 特有的能效核标识和硬件拓扑信息。基于 Swift、SwiftUI 和 AppKit 构建，仅调用 macOS 公共 API（如 libproc、sysctl、Security.framework 等），支持可选特权助手以实现跨用户操作。适用于系统管理员、开发者调试进程行为、安全研究人员分析可疑程序签名与网络活动，以及高级用户排查资源占用与权限异常。",2,"2026-11-24 04:43:37","trending"]