Skip to content

Instantly share code, notes, and snippets.

@seriwb
Created February 15, 2014 23:00
Show Gist options
  • Save seriwb/9026430 to your computer and use it in GitHub Desktop.
Save seriwb/9026430 to your computer and use it in GitHub Desktop.
Linuxのディスク情報確認コマンド
#ブロック情報
fdisk -l
#サイズ
df -h
#スワップ
swapon -s
#特定ディレクトリ配下のサイズ確認
du -s /var/*
du -sS /var/* <-そのディレクトリのみ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment