Philip Guenther <guenther <at> gmail.com> writes: > > On Thu, Jan 9, 2014 at 8:20 AM, Jurjen Oskam <jurjen <at> osk.am> wrote: > > OK, I've got it to work using a /dev/cua* device. I still have problems > > with processes not exiting though. Since this machine has real com > > ports, I also made a cable that is attached to cua01 (no USB involved). > ... > > Then when I kill it, I get this: > > > > $ kill 13670 > > $ ps > > PID TT STAT TIME COMMAND > > 15727 p0 Is 0:00.01 -ksh (ksh) > > 13444 p0 S+ 0:00.02 kdump -l -T > > 26314 p1 Is 0:00.00 -ksh (ksh) > > 13670 p1 SE+ 0:00.01 (perl) > > 6996 p2 Ss 0:00.00 -ksh (ksh) > > 13352 p2 R+/1 0:00.00 ps > > What's the output of ps -Owchan,procflags,f for the process?
$ ps -Owchan,procflags,f ps: procflags: keyword not found PID WCHAN F TT STAT TIME COMMAND 1579 pause 408e p0 Is 0:00.00 -ksh (ksh) 21410 ttyout 80006086 p0 IE+ 0:00.00 (perl) 8608 pause 408e p1 Ss 0:00.00 -ksh (ksh) 27149 - 4006 p1 R+/1 0:00.00 ps -Owchan (Running 5.4-stable, so that's why procflags isn't recognized. I'll try a snapshot to see what happens.) Regards, Jurjen Oskam