mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This is so that people working from the current stable version can still start using git.
11 lines
256 B
Bash
Executable file
11 lines
256 B
Bash
Executable file
#! /usr/bin/env bash
|
|
#
|
|
# $Id: df.in 6811 2009-07-06 20:41:10Z robin $
|
|
#
|
|
# df <path>
|
|
#
|
|
# Returns: <fs> <fs-size> <fs-used> <fs-avail>
|
|
|
|
echo 0
|
|
df -kP $1 | awk '{print $1, $2, $3, $4}' | tail -1 | awk -v def_factor=1024 -f ${helperdir}/to-bytes.awk
|
|
echo ~~~
|