- Products
- Learn
- Local User Groups
- Partners
- More
On-Premise SD-WAN Management
Register HereWhat's New in R82.10?
Watch Here AI Security Masters E8:
Claude Mythos: New Era in Cyber Security
CheckMates Go:
The Moment Before
Hi,
What is the difference between these two commands, and why is the output different?
show system disk usage
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 32G 14G 19G 42% /
/dev/md0 291M 92M 185M 34% /boot
/dev/md3 60M 11M 50M 18% /boot/efi
/dev/mapper/vg_splat-lv_log 582G 8.3G 574G 2% /var/log
tmpfs 94G 891M 94G 1% /dev/shm
df -H
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 35G 15G 21G 42% /
/dev/md0 305M 96M 194M 34% /boot
/dev/md3 63M 11M 52M 18% /boot/efi
/dev/mapper/vg_splat-lv_log 625G 8.9G 616G 2% /var/log
tmpfs 101G 934M 100G 1% /dev/shm
In my LAB the outputs are same if I use "-h" switch:
[Expert@mgmt-sakos-lab:0]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 26G 20G 7.0G 74% /
/dev/sda2 291M 61M 215M 23% /boot
/dev/mapper/vg_splat-lv_log 20G 16G 5.0G 76% /var/log
tmpfs 7.8G 11M 7.8G 1% /dev/shm
cgroup 7.8G 0 7.8G 0% /sys/fs/cgroup
[Expert@mgmt-sakos-lab:0]# clish -c "show system disk usage"
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 26G 20G 7.0G 74% /
/dev/sda2 291M 61M 215M 23% /boot
/dev/mapper/vg_splat-lv_log 20G 16G 5.0G 76% /var/log
tmpfs 7.8G 11M 7.8G 1% /dev/shm
cgroup 7.8G 0 7.8G 0% /sys/fs/cgroup
And the help said:
[Expert@mgmt-sakos-lab:0]# df --help
Usage: df [OPTION]... [FILE]...
Show information about the file system on which each FILE resides,
or all file systems by default.
Mandatory arguments to long options are mandatory for short options too.
-a, --all include dummy file systems
-B, --block-size=SIZE scale sizes by SIZE before printing them; e.g.,
'-BM' prints sizes in units of 1,048,576 bytes;
see SIZE format below
--direct show statistics for a file instead of mount point
--total produce a grand total
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si likewise, but use powers of 1000 not 1024
-i, --inodes list inode information instead of block usage
This maybe aswer to your question.
Hi @RemoteUser
According to this sk: https://support.checkpoint.com/results/sk/sk144112
This command should be equivalent.
From my point of view, I always use df -h 🙂
Akos
In my LAB the outputs are same if I use "-h" switch:
[Expert@mgmt-sakos-lab:0]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 26G 20G 7.0G 74% /
/dev/sda2 291M 61M 215M 23% /boot
/dev/mapper/vg_splat-lv_log 20G 16G 5.0G 76% /var/log
tmpfs 7.8G 11M 7.8G 1% /dev/shm
cgroup 7.8G 0 7.8G 0% /sys/fs/cgroup
[Expert@mgmt-sakos-lab:0]# clish -c "show system disk usage"
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 26G 20G 7.0G 74% /
/dev/sda2 291M 61M 215M 23% /boot
/dev/mapper/vg_splat-lv_log 20G 16G 5.0G 76% /var/log
tmpfs 7.8G 11M 7.8G 1% /dev/shm
cgroup 7.8G 0 7.8G 0% /sys/fs/cgroup
And the help said:
[Expert@mgmt-sakos-lab:0]# df --help
Usage: df [OPTION]... [FILE]...
Show information about the file system on which each FILE resides,
or all file systems by default.
Mandatory arguments to long options are mandatory for short options too.
-a, --all include dummy file systems
-B, --block-size=SIZE scale sizes by SIZE before printing them; e.g.,
'-BM' prints sizes in units of 1,048,576 bytes;
see SIZE format below
--direct show statistics for a file instead of mount point
--total produce a grand total
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si likewise, but use powers of 1000 not 1024
-i, --inodes list inode information instead of block usage
This maybe aswer to your question.
As @AkosBakos indicated, I also tested in R81.20 and R82 labs, and outputs were exactly the SAME. I wish I had logical explanation why yours are different.
Andy
Which CP version is this ? As the percent values are the same, this could be caused by using the different calculation models binary/decimal:
4,7 GB = 4,38 GiB
E.g. Windows Explorer shows GiB numbers but calls it GB...
From the help:
-H, --si likewise, but use powers of 1000 not 1024
Akos
That makes sense.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 12 | |
| 10 | |
| 9 | |
| 7 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
Thu 09 Jul 2026 @ 10:00 AM (CEST)
Schutz souveräner Workloads: Check Point & die AWS European Sovereign CloudThu 09 Jul 2026 @ 11:00 AM (CEST)
The Cloud Architects Series: Check Point Edge Protection SD-WAN & SASEThu 09 Jul 2026 @ 11:00 AM (EDT)
Tips and Tricks 2026 #9 - What's New with Check Point Email SecurityFri 10 Jul 2026 @ 11:00 AM (IDT)
CheckMates Live Netherlands - Sessie 48: Nieuwe Check Point Workspace SecurityTue 14 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E11: READY OR NOT: Securing the AI Enterprise 3/5 - AI Workforce SecurityThu 09 Jul 2026 @ 11:00 AM (EDT)
Tips and Tricks 2026 #9 - What's New with Check Point Email SecurityFri 10 Jul 2026 @ 11:00 AM (IDT)
CheckMates Live Netherlands - Sessie 48: Nieuwe Check Point Workspace SecurityTue 14 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E11: READY OR NOT: Securing the AI Enterprise 3/5 - AI Workforce SecurityThu 30 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E12: READY OR NOT: Securing the AI Enterprise 4/5 - AI GatewayThu 20 Aug 2026 @ 10:00 AM (PDT)
AI Security Masters E13: READY OR NOT: Securing the AI Ent 5/5 - AI Research & Threat LandscapeAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY