mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:02:44 +00:00 
			
		
		
		
	 f240def414
			
		
	
	
		f240def414
		
	
	
	
	
		
			
			For now, EventLoop and Application still have a make_inspectable parameter, so that when working on an application you can temporarily hard-code it to be inspectable rather than having to set the env var each time.
		
			
				
	
	
	
	
		
			572 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			572 B
		
	
	
	
	
	
	
	
Name
 Inspector - Serenity process inspector
 Inspector - Serenity process inspector
Synopsis
$ Inspector [pid]
Arguments
- pid: Process ID to inspect
Description
Inspector facilitates process inspection via RPC.
To inspect a process, it must have MAKE_INSPECTABLE=1 in its environment,
and it must have previously allowed the
accept(2) system call with
pledge(2) to allow inspection
via UNIX socket.
Examples
$ Inspector $(pidof Shell)