Linux command
dpigs 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show the 10 largest installed packages
dpigs
Show the N largest packages
dpigs -n [20]
Show in human-readable format
dpigs -H
Show largest source packages
dpigs -S
说明
dpigs shows which installed packages occupy the most disk space on Debian-based systems. It queries the dpkg database to determine the installed size of each package and sorts them to identify space hogs. The tool is particularly useful when disk space is limited and you need to identify candidates for removal. It can display either binary packages or aggregate source packages, making it easy to see which software projects consume the most space. dpigs is part of the debian-goodies package, a collection of useful utilities for Debian system administrators.
参数
- -n, --lines _n_
- Show n largest packages (default: 10)
- -s, --status _file_
- Use alternate dpkg status file
- -S, --source
- Show source packages instead
- -H, --human-readable
- Human-readable sizes
- -h, --help
- Display help
FAQ
What is the dpigs command used for?
dpigs shows which installed packages occupy the most disk space on Debian-based systems. It queries the dpkg database to determine the installed size of each package and sorts them to identify space hogs. The tool is particularly useful when disk space is limited and you need to identify candidates for removal. It can display either binary packages or aggregate source packages, making it easy to see which software projects consume the most space. dpigs is part of the debian-goodies package, a collection of useful utilities for Debian system administrators.
How do I run a basic dpigs example?
Run `dpigs` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -n, --lines _n_ do in dpigs?
Show n largest packages (default: 10)