Answer the question
In order to leave comments, you need to log in
How to kill a process that I can't get pid on unix?
In the program for reading data from a device via usb, I read the data in this way, I just redirect the stream to a file
[email protected]:$ stty 4800 -F /dev/ttyUSB0 && cat /dev/ttyUSB0 > stream/tty.txt
[email protected]:$ ps aux
splinco+ 18157 0.3 1.2 871608 92860 ? Sl 12:47 0:05 /opt/google/chrome/chrome --type=renderer --enable-features=*AutofillCreditCardSigninPromo<AutofillCred
root 18315 0.1 0.0 0 0 ? S 12:51 0:01 [kworker/u8:1]
root 18397 0.0 0.0 0 0 ? S 12:54 0:00 [kworker/3:0]
root 18457 0.0 0.4 942988 30888 pts/1 Sl+ 12:56 0:00 node server.js
root 18463 0.0 0.0 4476 760 pts/1 S+ 12:56 0:00 /bin/sh -c ??stty 4800 -F /dev/ttyUSB0 && cat /dev/ttyUSB0 > stream/tty.txt
root 18465 0.0 0.0 12800 668 pts/1 S+ 12:56 0:00 cat /dev/ttyUSB0
root 18466 0.1 0.0 0 0 ? S 12:56 0:01 [kworker/u8:0]
root 18492 0.0 0.0 0 0 ? S 12:56 0:00 [kworker/2:1]
[email protected]:$ ps aux | grep stty
root 18463 0.0 0.0 4476 760 pts/1 S+ 12:56 0:00 /bin/sh -c ??stty 4800 -F /dev/ttyUSB0 && cat /dev/ttyUSB0 > stream/tty.txt
[email protected]:$ pidof stty # ничего не выводит
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question