Difference between revisions of "Du (disk usage) command"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 20: Line 20:
 
* <code>[[sar -F]]</code>
 
* <code>[[sar -F]]</code>
 
* [[Node exporter]] ([[Prometheus]]) and [[Zabbix agent]] exposes filesystem statistics, such as disk space used.
 
* [[Node exporter]] ([[Prometheus]]) and [[Zabbix agent]] exposes filesystem statistics, such as disk space used.
* <code>[[sync]]</code>
+
* <code>[[sync]]</code>
 +
* <code>\du</code> ([[PostgreSQL]])
  
 
==Activities ==
 
==Activities ==

Revision as of 14:09, 9 August 2021

du (disk usage) Unix and Linux command used to display file space usage.


Examples

  • du
  • du -hs
  • du -hs *
  • du -hs /path/to/file
  • du -hs /path/to/directory
  • du -hs -- *
  • du -h --apparent-size /path/to/file_or_directory

Related terms

Activities

See also

Advertising: