forked from dundee/gdu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gdu.1
82 lines (82 loc) · 2.3 KB
/
gdu.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
.\" Automatically generated by Pandoc 2.14.1
.\"
.TH "gdu" "1" "2021-10-23" "" ""
.hy
.SH NAME
.PP
gdu - Pretty fast disk usage analyzer written in Go
.SH SYNOPSIS
.PP
\f[B]gdu [flags] [directory_to_scan]\f[R]
.SH DESCRIPTION
.PP
Pretty fast disk usage analyzer written in Go.
.PP
Gdu is intended primarily for SSD disks where it can fully utilize
parallel processing.
However HDDs work as well, but the performance gain is not so huge.
.SH OPTIONS
.PP
\f[B]-h\f[R], \f[B]--help\f[R][=false] help for gdu
.PP
\f[B]-i\f[R], \f[B]--ignore-dirs\f[R]=[/proc,/dev,/sys,/run] Absolute
paths to ignore (separated by comma)
.PP
\f[B]-I\f[R], \f[B]--ignore-dirs-pattern\f[R] Absolute path patterns to
ignore (separated by comma)
.PP
\f[B]-X\f[R], \f[B]--ignore-from\f[R] Read absolute path patterns to
ignore from file
.PP
\f[B]-l\f[R], \f[B]--log-file\f[R]=\[dq]/dev/null\[dq] Path to a logfile
.PP
\f[B]-m\f[R], \f[B]--max-cores\f[R] Set max cores that GDU will use.
.PP
\f[B]-c\f[R], \f[B]--no-color\f[R][=false] Do not use colorized output
.PP
\f[B]-x\f[R], \f[B]--no-cross\f[R][=false] Do not cross filesystem
boundaries
.PP
\f[B]-H\f[R], \f[B]--no-hidden\f[R][=false] Ignore hidden directories
(beginning with dot)
.PP
\f[B]-n\f[R], \f[B]--non-interactive\f[R][=false] Do not run in
interactive mode
.PP
\f[B]-p\f[R], \f[B]--no-progress\f[R][=false] Do not show progress in
non-interactive mode
.PP
\f[B]-s\f[R], \f[B]--summarize\f[R][=false] Show only a total in
non-interactive mode
.PP
\f[B]-d\f[R], \f[B]--show-disks\f[R][=false] Show all mounted disks
.PP
\f[B]-a\f[R], \f[B]--show-apparent-size\f[R][=false] Show apparent size
.PP
\f[B]-f\f[R], \f[B]-\[em]input-file\f[R] Import analysis from JSON file.
If the file is \[dq]-\[dq], read from standard input.
.PP
\f[B]-o\f[R], \f[B]-\[em]output-file\f[R] Export all info into file as
JSON.
If the file is \[dq]-\[dq], write to standard output.
.PP
\f[B]-v\f[R], \f[B]--version\f[R][=false] Print version
.SH FILE FLAGS
.PP
Files and directories may be prefixed by a one-character flag with
following meaning:
.TP
\f[B]!\f[R]
An error occurred while reading this directory.
.TP
\f[B].\f[R]
An error occurred while reading a subdirectory, size may be not correct.
.TP
\f[B]\[at]\f[R]
File is symlink or socket.
.TP
\f[B]H\f[R]
Same file was already counted (hard link).
.TP
\f[B]e\f[R]
Directory is empty.