Centos下删除文件后空间并未释放

[root@DeviceSP /]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda3        90G   82G  3.8G  96% /
tmpfs           3.9G  2.0M  3.9G   1% /dev/shm
/dev/vda1      1008M   62M  896M   7% /boot
[root@DeviceSP /]#
[root@DeviceSP /]# lsof -n|grep deleted
NetworkMa  1622        root  txt       REG              252,3      875912    3034304 /usr/sbin/NetworkManager (deleted)
wpa_suppl  1702        root  txt       REG              252,3      713488    3039797 /usr/sbin/wpa_supplicant (deleted)
shellinab  2413 shellinabox  txt       REG              252,3      408504    3039605 /usr/sbin/shellinaboxd (deleted)
shellinab  2414 shellinabox  txt       REG              252,3      408504    3039605 /usr/sbin/shellinaboxd (deleted)
certmonge  2547        root  txt       REG              252,3      263736    3038258 /usr/sbin/certmonger (deleted)
Xorg       2602        root  txt       REG              252,3     2274256    3022168 /usr/bin/Xorg (deleted)
console-k  2653        root  txt       REG              252,3      155320    3029356 /usr/sbin/console-kit-daemon.#prelink#.6fWniy (deleted)
gnome-ses  2729         gdm  txt       REG              252,3      252096    3021549 /usr/bin/gnome-session (deleted)
devkit-po  2734        root  txt       REG              252,3      138072    3039866 /usr/libexec/devkit-power-daemon.#prelink#.SpsZgx (deleted)
gnome-set  2767         gdm  txt       REG              252,3       58456    3028751 /usr/libexec/gnome-settings-daemon.#prelink#.6lWWIc (deleted)
at-spi-re  2768         gdm  txt       REG              252,3       79776    3021559 /usr/libexec/at-spi-registryd.#prelink#.Dk5oUi (deleted)
gvfsd      2781         gdm  txt       REG              252,3      152624    3029353 /usr/libexec/gvfsd (deleted)
metacity   2782         gdm  txt       REG              252,3      587568    3039510 /usr/bin/metacity (deleted)
gnome-pow  2784         gdm  txt       REG              252,3      224240    3016919 /usr/bin/gnome-power-manager.#prelink#.aF9n77 (deleted)
gdm-simpl  2785         gdm  txt       REG              252,3      369024    3039505 /usr/libexec/gdm-simple-greeter.#prelink#.HURdWm (deleted)
polkit-gn  2788         gdm  txt       REG              252,3       57728    3039704 /usr/libexec/polkit-gnome-authentication-agent-1.#prelink#.pGQBK0 (deleted)
polkitd    2797        root  txt       REG              252,3       14248    4205560 /usr/libexec/polkit-1/polkitd (deleted)
gdm-sessi  2809        root  txt       REG              252,3      109400    3018576 /usr/libexec/gdm-session-worker.#prelink#.HJpwNL (deleted)
mysqld     8718       mysql    4u      REG              252,3           0    4726100 /tmp/ibaZ1yy3 (deleted)
mysqld     8718       mysql    5u      REG              252,3         463    4726101 /tmp/ibUYrPAP (deleted)
mysqld     8718       mysql    6u      REG              252,3           0    4726102 /tmp/ibAM95CB (deleted)
mysqld     8718       mysql    7u      REG              252,3        2160    4726103 /tmp/ib0qA8I9 (deleted)
mysqld     8718       mysql   11u      REG              252,3           0    4726104 /tmp/ibMETCwZ (deleted)
java      16828        root    1w      REG              252,3 56444028955    5643494 /usr/local/H3CSPlus/probe/tomcat/logs/catalina.out (deleted)
java      16828        root    2w      REG              252,3 56444028955    5643494 /usr/local/H3CSPlus/probe/tomcat/logs/catalina.out (deleted)
java      16828        root   19w      REG              252,3       90383    5640978 /usr/local/H3CSPlus/probe/tomcat/logs/catalina.2019-08-02.log (deleted)
java      16828        root   20w      REG              252,3        1582    5640981 /usr/local/H3CSPlus/probe/tomcat/logs/localhost.2019-08-02.log (deleted)
java      16828        root   21w      REG              252,3           0    5636614 /usr/local/H3CSPlus/probe/tomcat/logs/manager.2019-08-02.log (deleted)
java      16828        root   22w      REG              252,3           0    5636615 /usr/local/H3CSPlus/probe/tomcat/logs/host-manager.2019-08-02.log (deleted)
java      16828        root   56w      REG              252,3       14774    5637312 /usr/local/H3CSPlus/probe/tomcat/logs/localhost_access_log.2019-08-03.txt (deleted)
[root@DeviceSP /]# cd /usr/local/
[root@DeviceSP local]# 
[root@DeviceSP local]# cd H3CSPlus/probe/tomcat/bin/
[root@DeviceSP bin]# ./shutdown.sh
16828
Using CATALINA_BASE:   /usr/local/H3CSPlus/probe/tomcat
Using CATALINA_HOME:   /usr/local/H3CSPlus/probe/tomcat
Using CATALINA_TMPDIR: /usr/local/H3CSPlus/probe/tomcat/temp
Using JRE_HOME:        /usr/local/H3CSPlus/java-8-openjdk-amd64/jre
Using CLASSPATH:       .:/usr/local/H3CSPlus/java-8-openjdk-amd64/lib/dt.jar:/usr/local/H3CSPlus/java-8-openjdk-amd64/lib/tools.jar:/usr/local/H3CSPlus/probe/tomcat/bin/bootstrap.jar:/usr/local/H3CSPlus/probe/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:    /usr/local/H3CSPlus/probe/tomcat/bin/CATALINA_PID
Tomcat did not stop in time.
To aid diagnostics a thread dump has been written to standard out.
Killing Tomcat with the PID: 16828
The Tomcat process has been killed.
[root@DeviceSP bin]# lsof -n|grep deleted
NetworkMa  1622        root  txt       REG              252,3     875912    3034304 /usr/sbin/NetworkManager (deleted)
wpa_suppl  1702        root  txt       REG              252,3     713488    3039797 /usr/sbin/wpa_supplicant (deleted)
shellinab  2413 shellinabox  txt       REG              252,3     408504    3039605 /usr/sbin/shellinaboxd (deleted)
shellinab  2414 shellinabox  txt       REG              252,3     408504    3039605 /usr/sbin/shellinaboxd (deleted)
certmonge  2547        root  txt       REG              252,3     263736    3038258 /usr/sbin/certmonger (deleted)
Xorg       2602        root  txt       REG              252,3    2274256    3022168 /usr/bin/Xorg (deleted)
console-k  2653        root  txt       REG              252,3     155320    3029356 /usr/sbin/console-kit-daemon.#prelink#.6fWniy (deleted)
gnome-ses  2729         gdm  txt       REG              252,3     252096    3021549 /usr/bin/gnome-session (deleted)
devkit-po  2734        root  txt       REG              252,3     138072    3039866 /usr/libexec/devkit-power-daemon.#prelink#.SpsZgx (deleted)
gnome-set  2767         gdm  txt       REG              252,3      58456    3028751 /usr/libexec/gnome-settings-daemon.#prelink#.6lWWIc (deleted)
at-spi-re  2768         gdm  txt       REG              252,3      79776    3021559 /usr/libexec/at-spi-registryd.#prelink#.Dk5oUi (deleted)
gvfsd      2781         gdm  txt       REG              252,3     152624    3029353 /usr/libexec/gvfsd (deleted)
metacity   2782         gdm  txt       REG              252,3     587568    3039510 /usr/bin/metacity (deleted)
gnome-pow  2784         gdm  txt       REG              252,3     224240    3016919 /usr/bin/gnome-power-manager.#prelink#.aF9n77 (deleted)
gdm-simpl  2785         gdm  txt       REG              252,3     369024    3039505 /usr/libexec/gdm-simple-greeter.#prelink#.HURdWm (deleted)
polkit-gn  2788         gdm  txt       REG              252,3      57728    3039704 /usr/libexec/polkit-gnome-authentication-agent-1.#prelink#.pGQBK0 (deleted)
polkitd    2797        root  txt       REG              252,3      14248    4205560 /usr/libexec/polkit-1/polkitd (deleted)
gdm-sessi  2809        root  txt       REG              252,3     109400    3018576 /usr/libexec/gdm-session-worker.#prelink#.HJpwNL (deleted)
mysqld     8718       mysql    4u      REG              252,3          0    4726100 /tmp/ibaZ1yy3 (deleted)
mysqld     8718       mysql    5u      REG              252,3        463    4726101 /tmp/ibUYrPAP (deleted)
mysqld     8718       mysql    6u      REG              252,3          0    4726102 /tmp/ibAM95CB (deleted)
mysqld     8718       mysql    7u      REG              252,3       2160    4726103 /tmp/ib0qA8I9 (deleted)
mysqld     8718       mysql   11u      REG              252,3          0    4726104 /tmp/ibMETCwZ (deleted)
[root@DeviceSP bin]# ./startup.sh
cat: /usr/local/H3CSPlus/probe/tomcat/bin/CATALINA_PID: 没有那个文件或目录
Using CATALINA_BASE:   /usr/local/H3CSPlus/probe/tomcat
Using CATALINA_HOME:   /usr/local/H3CSPlus/probe/tomcat
Using CATALINA_TMPDIR: /usr/local/H3CSPlus/probe/tomcat/temp
Using JRE_HOME:        /usr/local/H3CSPlus/java-8-openjdk-amd64/jre
Using CLASSPATH:       .:/usr/local/H3CSPlus/java-8-openjdk-amd64/lib/dt.jar:/usr/local/H3CSPlus/java-8-openjdk-amd64/lib/tools.jar:/usr/local/H3CSPlus/probe/tomcat/bin/bootstrap.jar:/usr/local/H3CSPlus/probe/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:    /usr/local/H3CSPlus/probe/tomcat/bin/CATALINA_PID
Tomcat started.
[root@DeviceSP bin]#
[root@DeviceSP bin]#
[root@DeviceSP bin]#
[root@DeviceSP bin]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda3        90G   29G   57G  34% /
tmpfs           3.9G  2.0M  3.9G   1% /dev/shm
/dev/vda1      1008M   62M  896M   7% /boot
[root@DeviceSP bin]#

 

posted @ 2019-08-02 17:38  香菜哥哥  阅读(2100)  评论(0编辑  收藏  举报