In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to use the fuser command", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use the fuser command" this article.
So use fuser to view
$fuser / opt/oracle/app/oracle/product/11.2.4/db_1/lib/libclntsh.so.11.1/opt/oracle/app/oracle/product/11.2.4/db_1/lib/libclntsh.so.11.1: 29888m
If you see that the file is indeed occupied, but you don't know which process it is occupied by, use the lsof command
$. / lsof / opt/oracle/app/oracle/product/11.2.4/db_1/lib/libclntsh.so.11.1
After the implementation, there is no result, so there is no way to find out.
So he asked his colleague, who used the root user to execute the lsof command, and only specified to the top directory to check.
# lsof / opt COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMERaterServ 29888 rate3 mem REG 64,0x6 10800648 85874 / opt/oracle/app/oracle/product/11.2.4/db_1/lib/libnnz11.soRaterServ 29888 rate3 mem REG 64,0x6 121875400 324102 / opt/oracle/app/oracle/product/11.2.4/db_1/lib/libclntsh.so.11.1
From the above output, we can see that there is indeed a process occupied, and the process number is 29888.
Check the process name of 29888 pairs again.
# ps-ef | grep 29888
Find a service that is an application, and after communicating with the test, the process can kill directly, so
Kill-9 29888
The opatch apply was executed successfully again.
The above is all the contents of this article "how to use fuser commands". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.