Alard 11 лет назад
Родитель
Сommit
8dc09b1e79
2 измененных файлов: 18 добавлений и 0 удалений
  1. +4
    -0
      README.md
  2. +14
    -0
      du-all

+ 4
- 0
README.md Просмотреть файл

@@ -50,6 +50,10 @@ Run the scripts in `screen`, `tmux` or something similar. `touch RUN` before you
* `./pack-multiple` (you may run more than one)
* `./upload-multiple` (you may run more than one)

Utility scripts:

* `./du-all` will run `du -hs` in all queues


Scheduling priorities
---------------------


+ 14
- 0
du-all Просмотреть файл

@@ -0,0 +1,14 @@
#!/bin/bash
# This shows du -hs for the important directories.
source ./config.sh || exit 1

du -hs \
$INCOMING_UPLOADS_DIR \
$CHUNKER_WORKING_DIR \
$PACKING_QUEUE_DIR/* \
$PACKER_WORKING_CHUNKS_DIR/* \
$PACKER_WORKING_MEGAWARC_DIR/* \
$UPLOAD_QUEUE_DIR/* \
$UPLOADER_WORKING_DIR/* \
2> >(grep -v 'du: cannot \(access\|read\)' >&2)


Загрузка…
Отмена
Сохранить