|
@@ -227,17 +227,17 @@ an = sign.
|
|
|
|
|
|
** query all mounted disks
|
|
|
#+begin_src sh :noweb-ref fullest-disk
|
|
|
- df \
|
|
|
+ df
|
|
|
#+end_src
|
|
|
|
|
|
** strip the header row
|
|
|
#+begin_src sh :noweb-ref fullest-disk
|
|
|
- |sed '1d' \
|
|
|
+ |sed '1d'
|
|
|
#+end_src
|
|
|
|
|
|
** sort by the percent full
|
|
|
#+begin_src sh :noweb-ref fullest-disk
|
|
|
- |awk '{print $5 " " $6}'|sort -n |tail -1 \
|
|
|
+ |awk '{print $5 " " $6}'|sort -n |tail -1
|
|
|
#+end_src
|
|
|
|
|
|
** extract the mount point
|