Add missing %cpu to ps call on Darwin. Noted by Taylor Campbell
This commit is contained in:
		
							parent
							
								
									2a86b67ec9
								
							
						
					
					
						commit
						e76bd58c53
					
				|  | @ -116,7 +116,7 @@ | |||
|   (let ((res (run/strings  | ||||
| 	      (ps -axww  | ||||
| 		  ;; uses rgid instead of gid | ||||
| 		  "-opid,ppid,user,ruid,uid,svuid,rgid,svgid,time,tty,ucomm,command")))) | ||||
| 		  "-opid,ppid,user,ruid,uid,svuid,rgid,svgid,time,%cpu,tty,ucomm,command")))) | ||||
|     (if (null? res) | ||||
| 	(error "ps failed") | ||||
| 	(cdr res)))) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Martin Gasbichler
						Martin Gasbichler