Linux - Low space check

原创 2018年04月16日 11:10:39
##################### low space : ################################

1. [root@app2 ~]# df -kh  :  (disk filesystem check which partition got low space : preferably user df -hP


2. [root@app2~]# df -hP /opt/Oracle/
Filesystem            Size  Used Avail Use% Mounted on
/dev/oracle_vg-oracle_lv   40G   32G  5.7G  85% /opt/Oracle
 

3. [root@app2 Oracle]# du -sck * | sort -n     (disk usage  - sck :  s is subfolder, k is size in 1024 bytes units)

OR  du -sck * --block-size=1GB | sort -n

4 lost+found
5942460 em12c-media
27139136 em12c
33081600 total


4. File deleting/Cleanup
User following command to find and remove files
1)  ls -tr | head -n 1   -- check the oldest file
 find ./ -name  '*.txt' -mtime +XX    --- modified more than XX days ago
 find ./ -name  '*' -mtime +40 | wc -l
 find ./ -name  '*' -mtime +40 -exec rm -rf {} \;    --- delete files are modified 40 days ago

 find ./ -name  '*' -mtime +40 | wc -l

5. delete the content of a file: 

A easiest way to empty or blank a file content using shell redirect null (non-existent object) to the file as below:


linux下如何查看disk space硬盘应用情况

主要是运用 df 指令,df是disk filesystem的缩写 其后面还可以加很多有用的tag df -h...
  • u012204343
  • u012204343
  • 2014-07-15 05:00:23
  • 1416

centos low disk space问题

今天在虚拟机的centos7 上安装harbor时,拷贝文件时出现: 查看后发现是磁盘空间不足的问题,使用df命令查看,发现/dev/mapper/cl-root 的使用率是93%,  ...
  • lucy06
  • lucy06
  • 2017-12-21 13:19:31
  • 74

Ubuntu 解决更新软件包的时候出现的 “Low Disk Space” 存储空间不足问题

原博文链接:http://www.aobosir.com/blog/2017/01/19/Ubuntu-not-enough-free-disk-space-when-upgrading-low-di...
  • github_35160620
  • github_35160620
  • 2017-01-19 17:25:35
  • 3463

ceph 报警 [ low disk space] 解决

参考报警信息 [root@hh-yun-puppet-129021 ~]# ceph health detail HEALTH_WARN mon.hh-yun-ceph-cinder026-12807...
  • signmem
  • signmem
  • 2016-03-03 09:32:46
  • 3568

CCSDS LDPC

  • 2011年08月14日 13:04
  • 1.25MB
  • 下载

sybase Space available in the log segment has fallen critically low in database 'tempdb'.

Space available in the log segment has fallen critically low in database tempdb.  All future modific...
  • zwhfyy
  • zwhfyy
  • 2007-05-13 20:07:00
  • 4282

ASE :Space available in segment 'logsegment' has fallen critically low in database

ASE :Space available in segment 'logsegment' has fallen critically low in database
  • wengyupeng
  • wengyupeng
  • 2016-05-26 16:50:38
  • 902

low space check and clean up

#####################low space : ################################   du -kh  :  check usage of wh...
  • dingxy
  • dingxy
  • 2017-08-04 07:09:35
  • 159

mac下解决phpStorm系统目录分区的磁盘空间不足

phpStorm系统目录分区的磁盘空间不足 low disk space on a phpstorm system directory partition我的PhpStorm是放在桌面上的,所以右键单...
  • qq_14922059
  • qq_14922059
  • 2016-03-15 17:44:14
  • 445

Linux_12 Useful “df” Commands to Check Disk Space in Linux

via: http://www.tecmint.com/how-to-check-disk-space-in-linux/   On the internet you will find plen...
  • mikyz
  • mikyz
  • 2017-04-06 17:38:14
  • 213
收藏助手
不良信息举报
您举报文章:Linux - Low space check
举报原因:
原因补充:

(最多只允许输入30个字)