Projet

Général

Profil

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

root / bin / disk-usage.sh @ 4127f213

1
#!/bin/sh
2

    
3
. /users/guest/assos/bin/scripts-config.sh
4

    
5
echo -e "*Quotas: 9.1 GB*\n"
6

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

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

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

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