dmidecode 查硬體資訊
dmidecode -t [TYPE]
Valid type keywords are:
bios
system
baseboard
chassis
processor
memory
cache
connector
slot
例如: dmidecode -t memory 查記憶體硬體資訊
dmidecode -t [TYPE]
Valid type keywords are:
bios
system
baseboard
chassis
processor
memory
cache
connector
slot
例如: dmidecode -t memory 查記憶體硬體資訊
fuser 查檔案或檔案系統正由那個程序使用
Usage: fuser [ -a | -s | -c ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...
[ - ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...
fuser -l
fuser -V
Show which processes use the named files, sockets, or filesystems.
-c mounted FS
-f silently ignored (for POSIX compatibility)
-i ask before killing (ignored without -k)
-k kill processes accessing the named file
-l list available signal names
-m show all processes using the named filesystems
-n SPACE search in this name space (file, udp, or tcp)
-s silent operation
-SIGNAL send this signal instead of SIGKILL
-u display user IDs
-v verbose output
-V display version information
-4 search IPv4 sockets only
-6 search IPv6 sockets only
- reset options
例1: fuser -m /mnt/usb-flash -v 查指定的檔案系統,並顯示詳細資訊。