"Du -hs /*"의 두 판 사이의 차이

(새 문서: ==개요== {{소문자}} ;du -hs /* <syntaxhighlight lang='console'> root@localhost:~# du -hs /* 0 /bin 135M /boot 0 /dev 6.6M /etc 36K /home 0 /lib 0...)
 
3번째 줄: 3번째 줄:
;du -hs /*
;du -hs /*


<syntaxhighlight lang='console'>
root@localhost:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            967M    0  967M  0% /dev
tmpfs          199M  676K  199M  1% /run
/dev/vda1        50G  23G  26G  47% /
tmpfs          994M    0  994M  0% /dev/shm
tmpfs          5.0M    0  5.0M  0% /run/lock
tmpfs          994M    0  994M  0% /sys/fs/cgroup
/dev/vdb1        30G  25G  3.9G  87% /var/lib/docker/volumes
tmpfs          199M    0  199M  0% /run/user/0
</syntaxhighlight>
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
root@localhost:~# du -hs /*
root@localhost:~# du -hs /*
33번째 줄: 45번째 줄:
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
root@localhost:~# df -h
root@localhost:~# du -hs /var/*
Filesystem      Size  Used Avail Use% Mounted on
1.5M    /var/backups
udev            967M     0 967M  0% /dev
521M    /var/cache
tmpfs          199M  676K  199M  1% /run
42G     /var/lib
/dev/vda1        50G  23G  26G  47% /
4.0K    /var/local
tmpfs          994M     0  994M  0% /dev/shm
0       /var/lock
tmpfs          5.0M     0 5.0M  0% /run/lock
852M    /var/log
tmpfs          994M     0  994M  0% /sys/fs/cgroup
4.0K    /var/mail
/dev/vdb1        30G  25G  3.9G  87% /var/lib/docker/volumes
4.0K    /var/opt
tmpfs          199M     0  199M  0% /run/user/0
0       /var/run
16K    /var/spool
40K    /var/tmp
20K     /var/www
</syntaxhighlight>
<syntaxhighlight lang='console'>
root@localhost:~# du -hs /var/*
1.5M    /var/backups
521M    /var/cache
42G     /var/lib
4.0K    /var/local
0       /var/lock
852M    /var/log
4.0K    /var/mail
4.0K    /var/opt
0       /var/run
16K    /var/spool
40K    /var/tmp
20K    /var/www
</syntaxhighlight>
<syntaxhighlight lang='console'>
root@localhost:~# du -hs /var/lib/*
12K    /var/lib/AccountsService
32K     /var/lib/apache2
214M    /var/lib/apt
8.0K    /var/lib/aspell
180K    /var/lib/cloud
3.2M    /var/lib/command-not-found
440K    /var/lib/containerd
4.0K    /var/lib/dbus
4.0K    /var/lib/dhcp
16K    /var/lib/dictionaries-common
20M    /var/lib/dkms
42G    /var/lib/docker
35M    /var/lib/dpkg
24K    /var/lib/emacsen-common
4.0K    /var/lib/git
16K    /var/lib/grub
12K    /var/lib/initramfs-tools
8.0K    /var/lib/ispell
12K    /var/lib/locales
8.0K    /var/lib/logrotate
4.0K    /var/lib/man-db
4.0K    /var/lib/misc
36K    /var/lib/PackageKit
28K    /var/lib/pam
36K    /var/lib/php
4.0K    /var/lib/plymouth
36K    /var/lib/polkit-1
4.0K    /var/lib/private
4.0K    /var/lib/python
12K    /var/lib/sgml-base
8.0K    /var/lib/sudo
384K    /var/lib/systemd
4.0K    /var/lib/ubuntu-advantage
8.0K    /var/lib/ubuntu-release-upgrader
252K    /var/lib/ucf
12K    /var/lib/update-manager
4.0K    /var/lib/update-notifier
608K    /var/lib/usbutils
8.0K    /var/lib/vim
16K     /var/lib/xml-core
</syntaxhighlight>
</syntaxhighlight>



2023년 3월 13일 (월) 20:07 판

1 개요

du -hs /*
root@localhost:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            967M     0  967M   0% /dev
tmpfs           199M  676K  199M   1% /run
/dev/vda1        50G   23G   26G  47% /
tmpfs           994M     0  994M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           994M     0  994M   0% /sys/fs/cgroup
/dev/vdb1        30G   25G  3.9G  87% /var/lib/docker/volumes
tmpfs           199M     0  199M   0% /run/user/0
root@localhost:~# du -hs /*
0       /bin
135M    /boot
0       /dev
6.6M    /etc
36K     /home
0       /lib
0       /lib32
0       /lib64
0       /libx32
16K     /lost+found
12K     /media
4.0K    /mnt
20K     /opt
du: cannot access '/proc/2472282/task/2472282/fd/4': No such file or directory
du: cannot access '/proc/2472282/task/2472282/fdinfo/4': No such file or directory
du: cannot access '/proc/2472282/fd/3': No such file or directory
du: cannot access '/proc/2472282/fdinfo/3': No such file or directory
0       /proc
7.2M    /root
676K    /run
0       /sbin
4.0K    /srv
0       /sys
588K    /tmp
3.0G    /usr
43G     /var
root@localhost:~# du -hs /var/*
1.5M    /var/backups
521M    /var/cache
42G     /var/lib
4.0K    /var/local
0       /var/lock
852M    /var/log
4.0K    /var/mail
4.0K    /var/opt
0       /var/run
16K     /var/spool
40K     /var/tmp
20K     /var/www
root@localhost:~# du -hs /var/*
1.5M    /var/backups
521M    /var/cache
42G     /var/lib
4.0K    /var/local
0       /var/lock
852M    /var/log
4.0K    /var/mail
4.0K    /var/opt
0       /var/run
16K     /var/spool
40K     /var/tmp
20K     /var/www
root@localhost:~# du -hs /var/lib/*
12K     /var/lib/AccountsService
32K     /var/lib/apache2
214M    /var/lib/apt
8.0K    /var/lib/aspell
180K    /var/lib/cloud
3.2M    /var/lib/command-not-found
440K    /var/lib/containerd
4.0K    /var/lib/dbus
4.0K    /var/lib/dhcp
16K     /var/lib/dictionaries-common
20M     /var/lib/dkms
42G     /var/lib/docker
35M     /var/lib/dpkg
24K     /var/lib/emacsen-common
4.0K    /var/lib/git
16K     /var/lib/grub
12K     /var/lib/initramfs-tools
8.0K    /var/lib/ispell
12K     /var/lib/locales
8.0K    /var/lib/logrotate
4.0K    /var/lib/man-db
4.0K    /var/lib/misc
36K     /var/lib/PackageKit
28K     /var/lib/pam
36K     /var/lib/php
4.0K    /var/lib/plymouth
36K     /var/lib/polkit-1
4.0K    /var/lib/private
4.0K    /var/lib/python
12K     /var/lib/sgml-base
8.0K    /var/lib/sudo
384K    /var/lib/systemd
4.0K    /var/lib/ubuntu-advantage
8.0K    /var/lib/ubuntu-release-upgrader
252K    /var/lib/ucf
12K     /var/lib/update-manager
4.0K    /var/lib/update-notifier
608K    /var/lib/usbutils
8.0K    /var/lib/vim
16K     /var/lib/xml-core

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}