root / bin / disk-usage.sh @ cf6a035a
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 |