LSMP(1)
LSMP(1) π
okay so this is LSMP(1) straight out of the General Commands Manual, and she's here to spill all the tea on mach ports for processes on the system. π«β¨
πΈ NAME πΈ
lsmp β display mach port information for processes on the system.
β SYNOPSIS β
No cap, here's the whole lineup:
lsmp -h
lsmp -p <pid>
lsmp -v
lsmp -a
lsmp -j <path>
What each one means, bestie:
lsmp -hβ the-hinvocation, right here, periodt. πlsmp -p <pid>β show mach port usage for<pid>. Run with root privileges to see detailed info about port destinations etc.lsmp -vβ show information in detail for Kernel object based ports. Including thread ports and special ports attached to it.lsmp -aβ show mach port usage for all tasks in the system.lsmp -j <path>β save output as JSON to<path>.
π¦ DESCRIPTION π¦
The lsmp command prints information about every active right in a task's port space, giving a view into the inter-process communication behavior of that task. It's giving full port-space main character energy, honestly. π
Following is an explanation of each symbol and values from the output:
nameβ Task unique name for a port. A-signifies that this is a member of a port-set.ipc-objectβ A unique identifier for a kernel object. A+sign implies that this entry is expanded from aboveipc-object.rightsβ Rights corresponding to thisname. Possible values arerecv,send,send-onceandport-set.flagsβ Flags indicating port status.Tβ Port has tempowner setGβ Port is guardedSβ Port has strict guarding restrictionsIβ Port has importance donation flag setRβ Port is marked revivingPβ Port has task pointer set
boostβ Importance boost count.reqsβ Notifications armed on this port.Dβ Dead name notificationNβ No sender notificationPβ Port Destroy requests
recvβ Number of recv rights for thisname.sendβ Number of send rights stored at thisname. This does NOT reflect the total number of send rights for this recv right.sonceβ Number of outstanding send-once rights for this receive right.orefβ Do send rights exist somewhere for this receive right?qlimitβ Queue limit for this port. Iforefscolumn shows->then it indicates the queue limit on the destination port. And a<-indicates this port right is destined to receive messages from process referred inidentifiercolumn.msgcountβ Number of messages enqueued on this port. Seeqlimitfor->and<-explanations.contextβ Mach port context value.identifierβ A unique identifier for a kernel object or task's name for this right. This field is described by thetypecolumn.
π SEE ALSO π
Go bother these besties too:
ddt(1)top(1)
πΈ macOS Β· July 24, 2012 Β· LSMP(1) β okay love u, bye bestie π
π¦ where this page comes from
- nixpkgs unstable: system_cmds 1042.100.6.0.1
- Copyright (c) 2012, Apple Inc. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms