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

From wikieduonline
Jump to navigation Jump to search
Line 19: Line 19:
 
* [[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>
 +
 +
==Activities ==
 +
* [[Chgrp, chmod, chown, chcon, du, rm performance information]]
  
 
== See also ==
 
== See also ==

Revision as of 13:23, 22 September 2020

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 commands

Activities

See also

Advertising: