Platforms to show: All Mac Windows Linux Cross-Platform
Process
Information about processes and your application.
- Globals
- CallMethodLaterMBS(target as object, name as string, afterDelay as Double) as boolean
- CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant) as boolean
- CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant, value2 as Variant) as boolean
- CallMethodLaterMBS(target as object, name as string, afterDelay as Double, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
- CallMethodMBS(target as object, name as string) as boolean
- CallMethodMBS(target as object, name as string, value1 as Variant) as boolean
- CallMethodMBS(target as object, name as string, value1 as Variant, value2 as Variant) as boolean
- CallMethodMBS(target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
- CallMethodOnMainThreadMBS(target as object, name as string) as boolean
- CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant) as boolean
- CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant, value2 as Variant) as boolean
- CallMethodOnMainThreadMBS(target as object, name as string, value1 as Variant, value2 as Variant, value3 as Variant) as boolean
- CountProcessesMBS as Integer
- GetDarwinResourceUsageMBS as DarwinResourceUsageMBS
- GetDarwinVMStatisticsMBS as DarwinVMStatisticsMBS
- GetWindowsVMStatisticsMBS as WindowsVMStatisticsMBS
- SetThreadNameMBS(name as string)
- Classes
- class DarwinGroupListMBS
- method CurrentEffectiveUserID as Integer
- method CurrentGroupID as Integer
- method CurrentUserID as Integer
- method Group(index as Integer) as DarwinGroupMBS
- property Count as Integer
- class DarwinGroupMBS
- method CurrentEffectiveUserID as Integer
- method CurrentGroupID as Integer
- method CurrentUserID as Integer
- method LoadGroupByID(Groupid as Integer)
- method LoadGroupByName(name as string)
- method UserName(index as Integer) as string
- property GroupID as Integer
- property Name as string
- property Password as string
- property Ready as Boolean
- property UserCount as Integer
- class DarwinResourceUsageMBS
- property BlockInputOperations as Int64
- property BlockOutputOperations as Int64
- property IntegralMaxResidentSetSize as Int64
- property IntegralSharedTextMemorySize as Int64
- property IntegralUnsharedDataSize as Int64
- property IntegralUnsharedStackSize as Int64
- property InvoluntaryContextSwitches as Int64
- property MessagesReceived as Int64
- property MessagesSent as Int64
- property PageFaults as Int64
- property PageReclaims as Int64
- property SignalsReceived as Int64
- property Swaps as Int64
- property SystemTimeUsed as Double
- property UserTimeUsed as Double
- property VoluntaryContextSwitches as Int64
- class DarwinTaskInfoMBS
- method Update as boolean
- property ContextSwitches as Double
- property COWFaults as Double
- property Faults as Double
- property MessagesReceived as Double
- property MessagesSent as Double
- property PageIns as Double
- property ResidentSize as Double
- property SuspendCount as Double
- property SystemCallsMach as Double
- property SystemCallsUnix as Double
- property SystemTime as Double
- property UserTime as Double
- property VirtualSize as Double
- class DarwinUserListMBS
- method CurrentEffectiveUserID as Integer
- method CurrentGroupID as Integer
- method CurrentUserID as Integer
- method User(index as Integer) as DarwinUserMBS
- property Count as Integer
- class DarwinUserMBS
- method CurrentEffectiveUserID as Integer
- method CurrentGroupID as Integer
- method CurrentUserID as Integer
- method LoadUserByID(userid as Integer)
- method LoadUserByName(name as string)
- property AccountExpireTime as Integer
- property GroupID as Integer
- property HomePath as string
- property LastPasswordChangeTime as Integer
- property LongName as string
- property Name as string
- property Ready as Boolean
- property Shell as string
- property UserID as Integer
- class DarwinVMStatisticsMBS
- property ActivePages as Integer
- property CowFaults as Integer
- property CPUTicksIdle as Integer
- property CPUTicksNice as Integer
- property CPUTicksSystem as Integer
- property CPUTicksUser as Integer
- property Faults as Integer
- property FreePages as Integer
- property Hits as Integer
- property InactivePages as Integer
- property Lookups as Integer
- property PageIns as Integer
- property PageOuts as Integer
- property Pagesize as Integer
- property Reactivations as Integer
- property WiredPages as Integer
- property ZeroFillPages as Integer
- class DelegateCrashExceptionMBS
- class EnvironmentMBS
- class MutexMBS
- class NamedMutexMBS
- class NSProcessInfoActivityMBS
- method Constructor
- method Destructor
- property Handle as Integer
- property Options as Integer
- property Reason as String
- class NSProcessInfoMBS
- method argument(index as Integer) as string
- method arguments as string()
- method beginActivity(options as Integer, reason as string) as NSProcessInfoActivityMBS
- method Constructor
- method disableAutomaticTermination(Reason as string)
- method disableSuddenTermination
- method enableAutomaticTermination(Reason as string)
- method enableSuddenTermination
- method endActivity(activity as NSProcessInfoActivityMBS)
- shared method NSActivityLatencyCritical as UInt64
- shared method NSProcessInfoPowerStateDidChangeNotification as String
- shared method NSProcessInfoThermalStateDidChangeNotification as String
- method operationSystemVersion(byref Major as Integer, byref Minor as Integer, byref Patch as Integer)
- shared method processInfo as NSProcessInfoMBS
- property activeProcessorCount as Integer
- property argumentsCount as Integer
- property automaticTerminationSupportEnabled as boolean
- property environment as dictionary
- property globallyUniqueString as string
- property Handle as Integer
- property hostName as string
- property isiOSAppOnMac as Boolean
- property isLowPowerModeEnabled as Boolean
- property operatingSystem as Integer
- property operatingSystemName as string
- property operatingSystemVersionString as string
- property operationSystemVersionMajor as Integer
- property operationSystemVersionMinor as Integer
- property operationSystemVersionPatch as Integer
- property physicalMemory as UInt64
- property processIdentifier as Integer
- property processName as string
- property processorCount as Integer
- property systemUptime as Double
- property thermalState as Integer
- class NSRunningApplicationMBS
- method activateWithOptions(options as Integer) as boolean
- method Constructor
- shared method currentApplication as NSRunningApplicationMBS
- method forceTerminate as boolean
- method hide as boolean
- shared method runningApplications as NSRunningApplicationMBS()
- shared method runningApplicationsWithBundleIdentifier(bundleID as string) as NSRunningApplicationMBS()
- shared method runningApplicationWithProcessIdentifier(pid as Integer) as NSRunningApplicationMBS
- method terminate as boolean
- method unhide as boolean
- property activationPolicy as Integer
- property active as boolean
- property bundleIdentifier as string
- property bundleURL as string
- property executableArchitecture as Integer
- property executableURL as string
- property finishedLaunching as boolean
- property Handle as Integer
- property hidden as boolean
- property icon as NSImageMBS
- property launchDate as date
- property launchDateTime as DateTime
- property localizedName as string
- property ownsMenuBar as boolean
- property processIdentifier as Integer
- property terminated as boolean
- class NSXPCConnectionMBS
- shared method Available as boolean
- method CallMethod(name as string, tag as Variant, params() as Variant)
- method Close
- method Constructor(endpoint as NSXPCListenerEndpointMBS)
- method Constructor(MachOServiceName as string, flags as Integer)
- method Constructor(ServiceName as string)
- method Destructor
- method invalidate
- method resume
- method suspend
- property auditSessionIdentifier as Integer
- property effectiveGroupIdentifier as Integer
- property effectiveUserIdentifier as Integer
- property endpoint as NSXPCListenerEndpointMBS
- property Handle as Integer
- property processIdentifier as Integer
- property serviceName as String
- event CallMethodReturned(name as string, tag as Variant, Parameters() as Variant, Results() as Variant)
- event ErrorHandler(error as NSErrorMBS)
- event InterruptionHandler
- event InvalidationHandler
- class NSXPCListenerEndpointMBS
- shared method Available as boolean
- method Constructor
- property Handle as Integer
- class NSXPCListenerMBS
- shared method Available as boolean
- method Close
- method Constructor(Anonymous as boolean = false)
- method Constructor(Name as string)
- method Destructor
- method invalidate
- method resume
- method suspend
- property endpoint as NSXPCListenerEndpointMBS
- property Handle as Integer
- event CallMethod(Name as string, Parameters() as Variant) as Variant()
- event shouldAcceptNewConnection(newConnection as NSXPCConnectionMBS) as boolean
- class ProcessMBS
- method Bundle as folderitem
- method BundleID as string
- shared method CurrentProcessID as Integer
- method GetCurrentProcess
- method GetfirstProcess
- method GetFrontProcess
- method GetNextProcess as boolean
- method GetProcess(serial as memoryblock)
- method KillProcess as Integer
- shared method KillProcess(ProcessID as Integer, timeout as Integer) as Integer
- method KillProcess(timeoutms as Integer) as Integer
- method MacProcessSerial as memoryblock
- method ProcessInformationCFDictionary as object
- method QuitProcess as Integer
- method SameAs(other as ProcessMBS) as boolean
- method SetFrontProcessWithOptions(options as Integer)
- method SetServiceMode(ismode as boolean) as boolean
- method TransformProcessType(mode as Integer) as Integer
- method TransformToForegroundApplication as Integer
- method Update
- method WinFullProcessImagePath as string
- shared method WinGetPriorityClass(ProcessID as Integer) as Integer
- method WinModulePath as string
- method WinProcessImagePath as string
- shared method WinSetPriorityClass(ProcessID as Integer, PriorityClass as Integer) as Integer
- property CPUTime as Integer
- property CurrentProcess as boolean
- property flags as Integer
- property FrontProcess as boolean
- property lasterror as Integer
- property LaunchProcess as ProcessMBS
- property MacCreator as string
- property MacType as string
- property MemoryFree as Integer
- property MemorySize as Integer
- property Name as string
- property Path as folderitem
- property ProcessID as Integer
- property Visible as boolean
- property Priority as Integer
- property Priority(ProcessID as Integer) as Integer
- class WindowsProcessMemoryInfoMBS
- method Constructor
- method Constructor(ProcessID as Integer)
- property PageFaultCount as Integer
- property PagefileUsage as Int64
- property PeakPagefileUsage as Int64
- property PeakWorkingSetSize as Int64
- property ProcessID as Integer
- property QuotaNonPagedPoolUsage as Int64
- property QuotaPagedPoolUsage as Int64
- property QuotaPeakNonPagedPoolUsage as Int64
- property QuotaPeakPagedPoolUsage as Int64
- property WorkingSetSize as Int64
- class WindowsProcessStatisticsMBS
- method Constructor(ProcessID as Integer = -1, Mode as Integer = 255)
- property CreationTime as UInt64
- property CycleTime as UInt64
- property ExitTime as UInt64
- property HandleCount as Integer
- property KernelTime as UInt64
- property Mode as Integer
- property OtherOperationCount as UInt64
- property OtherTransferCount as UInt64
- property PageFaultCount as Integer
- property PagefileUsage as Int64
- property PeakPagefileUsage as Int64
- property PeakWorkingSetSize as Int64
- property ProcessID as Integer
- property QuotaNonPagedPoolUsage as Int64
- property QuotaPagedPoolUsage as Int64
- property QuotaPeakNonPagedPoolUsage as Int64
- property QuotaPeakPagedPoolUsage as Int64
- property ReadOperationCount as UInt64
- property ReadTransferCount as UInt64
- property TotalIdleTime as UInt64
- property TotalKernelTime as UInt64
- property TotalUserTime as UInt64
- property UserTime as UInt64
- property WorkingSetSize as Int64
- property WriteOperationCount as UInt64
- property WriteTransferCount as UInt64
- class WindowsVMStatisticsMBS
- method Constructor
- property AllocationGranularity as Integer
- property AvailablePageFileMemory as Int64
- property AvailablePhysicalMemory as Int64
- property AvailableVirtualMemory as Int64
- property Memoryload as Integer
- property Pagesize as Integer
- property TotalPageFileMemory as Int64
- property TotalPhysicalMemory as Int64
- property TotalVirtualMemory as Int64
- class DarwinGroupListMBS
- Class Extensions
- class Application
- method ApplicationNameMBS as string
- method ArgumentsMBS as String()
- method BundleFolderMBS as folderitem
- method BundleLocalizedStringMBS(key as string) as string
- method BundleLocalizedStringMBS(key as string,fromtable as string) as string
- method BundleResourceFolderItemLocalizedMBS(ResourceName as string, ResourceType as string, SubDirectory as string) as folderitem
- method BundleResourceFolderMBS as folderitem
- method HideMeMBS as boolean
- method HideOthersMBS as boolean
- method LaunchTimeMBS as Double
- method ProcessTimeMBS as Double
- class ConsoleApplication
- method ArgumentsMBS as String()
- method LaunchTimeMBS as double
- method ProcessTimeMBS as double
- class DesktopApplication
- method ApplicationNameMBS as string
- method ArgumentsMBS as String()
- method BundleFolderMBS as folderitem
- method BundleLocalizedStringMBS(key as string) as string
- method BundleLocalizedStringMBS(key as string,fromtable as string) as string
- method BundleResourceFolderItemLocalizedMBS(ResourceName as string, ResourceType as string, SubDirectory as string) as folderitem
- method BundleResourceFolderMBS as folderitem
- method HideMeMBS as boolean
- method HideOthersMBS as boolean
- method LaunchTimeMBS as double
- method ProcessTimeMBS as double
- class Application
- Modules
- module CallDelegateCrashSafeMBS
- method CallDelegateCrashSafeMBS(m as DelegateCrashSafeMBS)
- property CallCounter as Integer
- property CrashCounter as Integer
- delegate DelegateCrashSafeMBS()
- module CallDelegatesMBS
- method CallDelegateOnMainThreadMBS(m as _delegateMBS)
- method CallDelegateOnPreemptiveThreadMBS(m as _delegateMBS) as Boolean
- method CallDelegateOnPreemptiveThreadMBS(m as _delegatePtrMBS, data as Ptr) as Boolean
- module CallDelegateCrashSafeMBS
Release notes
- Version 24.1
- Added NSProcessInfoPowerStateDidChangeNotification for NSProcessInfoMBS class.
- Version 24.0
- Changed CallDelegateOnMainThreadMBS delegates to be hidden for auto complete.
- Version 23.5
- Fixed isiOSAppOnMac and isLowPowerModeEnabled properties in NSProcessInfoMBS class to work in iOS target.
- Version 23.1
- Added CallDelegateOnPreemptiveThreadMBS function.
- Improved CallDelegateCrashSafeMBS to catch trace trap signals and C++ exceptions.
- Improved CallDelegateCrashSafeMBS to check for stack corruption and prevent recursion.
- Version 23.0
- Added CallDelegateCrashSafeMBS module and method to call crashing method and get an DelegateCrashExceptionMBS.
- Version 22.1
- Fixed problem with CallMethodLaterMBS not waiting for the given delay.
- Version 21.3
- Added isLowPowerModeEnabled property for NSProcessInfoMBS class.
- Version 21.0
- Added isiOSAppOnMac property for NSProcessInfoMBS class.
- Version 20.2
- Added NamedMutexMBS class.
The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacCF Plugin, MBS MacCocoa Plugin, MBS MacFrameworks Plugin, MBS Util Plugin, MBS Win Plugin.