[OmniOS-discuss] how to see the real process arguments

Tobias Oetiker tobi at oetiker.ch
Wed Aug 13 07:12:27 UTC 2014


Have you ever tried this:

 % sh -c 'true xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx no one sees me && sleep 1000' &
 [1] 13070
 % pargs 13070
 13070:  sh -c true xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 argv[0]: sh
 argv[1]: -c
 argv[2]: sh

I thought pargs was going to show me the arguments

tobi


-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch tobi at oetiker.ch +41 62 775 9902



More information about the OmniOS-discuss mailing list