My mistake
This commit is contained in:
parent
1e7343e6cb
commit
911418aac5
1 changed files with 4 additions and 2 deletions
|
@ -14,11 +14,13 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with lainsafe. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
my $disk_size = `df -h | awk 'NR==2 {print \$2; exit}'`;
|
||||
my $disk_usage = `df -h | awk 'NR==2 {print \$3; exit}')`;
|
||||
my $disk_size = `df -h | awk 'NR==2 {print \$2; exit}'`;
|
||||
my $disk_usage = `df -h | awk 'NR==2 {print \$3; exit}'`;
|
||||
my $disk_free = `df -h | awk 'NR==2 {print \$4; exit}'`;
|
||||
my $disk_percentage = `df -h | awk 'NR==2 {print \$5; exit}'`;
|
||||
|
||||
print "Content-type: text/html\n\n";
|
||||
|
||||
print "<!DOCTYPE html>
|
||||
<html lang=\"en\">
|
||||
<head>
|
||||
|
|
Loading…
Add table
Reference in a new issue