Ceci est une ancienne révision du document !


Quota groupe / Occupation groupe

  • df (disk free)
df -h

Exemple de résultat :

r730data6:/users/psmn/ltaulell   1,0T   22G 1003G   3% /home/ltaulell

Je suis dans le groupe psmn, et nous occupons 22G.

Consommation d'espace utilisateur

  • du (disk usage)
du -csh * | less
du -csh ~/tmp/ | more

man du. Cette commande peut être lourde, et longue a renvoyer un résultat.

-c = total
-s = summarize
-h = human readable

Exemple de résultat :

ltaulell@x5570comp1:~$ du -shc *
38M     benchs
1,9G    builds
2,2M    cmichel
4,2M    gruiickode
49K     home.osm
6,0K    intel
6,0K    lib
136K    LLNL
26K     LLNL.tgz
6,0G    mandel
6,6M    perl5
22K     povtest
8,0K    privatemodules
2,1M    python
116M    tests
73M     tools4psmn
122M    trinity
232M    vtest
37M     xGEMM
8,4G    total
  • tree (contents of directories in a tree-like format)
tree -hRL 3 --du | less 

man tree.

-h = human readable
-R = recursive
-L <level> = Max display depth of the directory tree
--du = accumulation of each directory (size and/or number)

Exemple de résultat :

.
├── [1.0M]  benchs
│   ├── [  11]  classification
│   ├── [   4]  cpuburn
│   ├── [7.1K]  cpuburn-in.tar.gz
│   ├── [402K]  lmbench3.tar.gz
│   ├── [  42]  stress-1.0.4
│   ├── [191K]  stress-1.0.4.tar.gz
│   ├── [  56]  survey_freq.sh
│   ├── [  83]  survey_sensors.sh
│   ├── [366K]  sysbench-0.3.1.tar.gz
│   └── [ 62K]  unixbench-4.1.0.tar.gz
├── [ 62M]  builds
faq/stockage.1433768938.txt.gz · Dernière modification : 2020/08/25 15:58 (modification externe)