Projet

Général

Profil

Paste
Télécharger (286 octets) Statistiques
| Branche: | Révision:

root / bin / disk-usage.sh @ 349952e5

1
#!/bin/sh
2

    
3
. /home/assos/bin/scripts-config.sh
4

    
5
df -h
6
echo -e "\n"
7

    
8
echo "Assos:"
9
du -hcs $dir_multi_assos | grep total
10
echo -e "\n"
11

    
12
echo "D7:"
13
cd $d7_dir_sites
14
du -h -d 1
15
echo -e "\n"
16

    
17
echo "Logs:"
18
du -hcs $dir_log | grep total
19
echo -e "\n"
20

    
21
echo "Backups:"
22
cd $dir_backup
23
du -h -d 2