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

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
* [[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]])
+
* <code>[[\du]]</code> ([[PostgreSQL]])
  
 
==Activities ==
 
==Activities ==

Revision as of 14:10, 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: