- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
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 |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY