Skip to content

Commit fdc3cf1

Browse files
committed
Filter tmpfs not showing up in partitions view
1 parent 4faefc4 commit fdc3cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
<div class="card text-center border-info">
286286
<div class="card-header">Partitions / Storage</div>
287287
<div class="card-body">
288-
<?php print "<pre style='text-align: left!important;'>"; echo shell_exec("df -h"); print "</pre>"; ?>
288+
<?php print "<pre style='text-align: left!important;'>"; echo shell_exec("df -h | grep -v tmp"); print "</pre>"; ?>
289289
<p class="card-text"><small class="text-muted">Updated <span><?php echo date("H:i:s");?> (at page load)</span></small></p>
290290
</div>
291291
</div>

0 commit comments

Comments
 (0)