In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Do not know how to use linux's statserial command to display serial port status? In fact, it is not difficult to solve this problem. Let the editor take you to learn how to solve it. I hope you will gain a lot after reading this article.
Statserial (status ofserial port) can display the status of each pin, which is often used to judge whether the serial port is normal or not.
Syntax format: statserial [parameters]
Common parameters:
-d represents the status of the serial port in decimal digits-n ends the program after displaying the status of the serial port only once-x is similar to the-n parameter, but in hexadecimal
Reference example
Display serial port status:
[root@linuxcool ~] # statserial / dev/tty1
The serial port status is displayed only once:
[root@linuxcool] # statserial-n / dev/tty1 Thank you for reading this article carefully. I hope the editor will share the content of displaying the serial port status using linux's statserial command to help everyone. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.