understand disk usage over time
Project description
Use ‘pip3 install excavate’ to install.
Synopsis
Excavate is a very simple command line utility used to understand how disk usage in a particular part of the file system has changed over time. It lists out the all of the files contained in a particular directory and its subdirectories while sorting them according to when they last changed, from youngest to oldest. When listing the files it also gives their size and the accumulated disk space need to hold the file and all younger files. Files in the top three deciles in size are colored red, pink, and yellow respectively.
Usage: excavate [options] [<path>…]Options:-d, –date give modification date rather than description of age-s, –size sort by size rather than by age-w, –warn warn of inaccessible files
Normally the output would be piped into more (or less). For example:
> excavate /etc | less MODIFIED SIZE ACCUM FILE just now 0 B 0 B /etc/mtab 6 hours ago 76.3 kB 76.3 kB /etc/ld.so.cache 6 hours ago 106 B 76.4 kB /etc/selinux/targeted/seusers 6 hours ago 3.7 MB 3.78 MB /etc/selinux/targeted/policy/policy.30 6 hours ago 13.2 kB 3.79 MB /etc/selinux/targeted/contexts/files/file_contexts.homedirs 6 hours ago 44.7 kB 3.84 MB /etc/selinux/targeted/contexts/files/file_contexts.homedirs.bin 6 hours ago 1.39 MB 5.23 MB /etc/selinux/targeted/contexts/files/file_contexts.bin 6 hours ago 379 kB 5.61 MB /etc/selinux/targeted/contexts/files/file_contexts 2 days ago 9 B 5.61 MB /etc/tuned/active_profile 2 days ago 656 B 5.61 MB /etc/vmware/config 3 days ago 15.3 kB 5.63 MB /etc/cron.daily/google-chrome-beta 3 days ago 2.25 kB 5.63 MB /etc/alternatives/google-chrome 3 days ago 33 B 5.63 MB /etc/vmware/usbarb.rules 4 days ago 2.82 kB 5.63 MB /etc/localtime 4 days ago 129 B 5.63 MB /etc/selinux/targeted/.policy.sha512 4 days ago 607 B 5.63 MB /etc/selinux/targeted/setrans.conf 4 days ago 2.62 kB 5.64 MB /etc/selinux/targeted/booleans.subs_dist 4 days ago 74 B 5.64 MB /etc/selinux/targeted/contexts/securetty_types 4 days ago 245 B 5.64 MB /etc/selinux/targeted/contexts/customizable_types 4 days ago 422 B 5.64 MB /etc/selinux/targeted/contexts/files/file_contexts.subs_dist 4 days ago 0 B 5.64 MB /etc/selinux/targeted/contexts/files/file_contexts.subs 4 days ago 0 B 5.64 MB /etc/selinux/targeted/semanage.trans.LOCK 4 days ago 0 B 5.64 MB /etc/selinux/targeted/semanage.read.LOCK 4 days ago 30 B 5.64 MB /etc/selinux/targeted/contexts/initrc_context 4 days ago 254 B 5.64 MB /etc/selinux/targeted/contexts/default_contexts ...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file excavate-1.0.tar.gz
.
File metadata
- Download URL: excavate-1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95efb0d01f6593b87d6d37d1cc8595e3946c839203730ab79ea952084767a039 |
|
MD5 | 8328d027e527eea4cf9f8d6c6a68b583 |
|
BLAKE2b-256 | f32c860cb61428f6a62f63c3015afd994ae5da0cc89c4e18d9997fc1f407181a |