Saturday, 11 Apr 2026
Subscribe
logo
  • Global
  • AI
  • Cloud Computing
  • Edge Computing
  • Security
  • Investment
  • Sustainability
  • More
    • Colocation
    • Quantum Computing
    • Regulation & Policy
    • Infrastructure
    • Power & Cooling
    • Design
    • Innovations
    • Blog
Font ResizerAa
Data Center NewsData Center News
Search
  • Global
  • AI
  • Cloud Computing
  • Edge Computing
  • Security
  • Investment
  • Sustainability
  • More
    • Colocation
    • Quantum Computing
    • Regulation & Policy
    • Infrastructure
    • Power & Cooling
    • Design
    • Innovations
    • Blog
Have an existing account? Sign In
Follow US
© 2022 Foxiz News Network. Ruby Design Company. All Rights Reserved.
Data Center News > Blog > Global Market > Examining disk space on Linux
Global Market

Examining disk space on Linux

Last updated: January 12, 2025 10:11 am
Published January 12, 2025
Share
Diverse Office: Indian IT Programmer Working on Desktop Computer. Female Specialist Creating Innovative Software. Engineer Developing App, Program, Video Game. Writing Code in Terminal.
SHARE

$ alias bysize="ls -lhS"

Utilizing the fdisk command

The fdisk command can present helpful stats in your disk partitions. Right here’s an instance:

$ sudo fdisk
fdisk: unhealthy utilization
Strive 'fdisk --help' for extra info.
$ sudo fdisk -l
Disk /dev/sda: 14.91 GiB, 16013942784 bytes, 31277232 sectors
Disk mannequin: KINGSTON SNS4151
Items: sectors of 1 * 512 = 512 bytes
Sector measurement (logical/bodily): 512 bytes / 512 bytes
I/O measurement (minimal/optimum): 512 bytes / 512 bytes
Disklabel sort: gpt
Disk identifier: 818C0FC9-CBBA-49E5-953B-A511A4E40A3D

System Begin Finish Sectors Dimension Sort
/dev/sda1 2048 1230847 1228800 600M EFI System
/dev/sda2 1230848 3327999 2097152 1G Linux filesystem
/dev/sda3 3328000 31277055 27949056 13.3G Linux filesystem

Disk /dev/zram0: 3.7 GiB, 3967811584 bytes, 968704 sectors
Items: sectors of 1 * 4096 = 4096 bytes
Sector measurement (logical/bodily): 4096 bytes / 4096 bytes
I/O measurement (minimal/optimum): 4096 bytes / 4096 bytes

Disk /dev/loop0: 103.99 MiB, 109043712 bytes, 212976 sectors
Items: sectors of 1 * 512 = 512 bytes
Sector measurement (logical/bodily): 512 bytes / 512 bytes
I/O measurement (minimal/optimum): 512 bytes / 512 bytes

Disk /dev/loop1: 8.44 MiB, 8847360 bytes, 17280 sectors
Items: sectors of 1 * 512 = 512 bytes
Sector measurement (logical/bodily): 512 bytes / 512 bytes
I/O measurement (minimal/optimum): 512 bytes / 512 bytes

Utilizing the lsblk command

The lsblk command gives very helpful info in your disk partitions. The output proven beneath clearly reveals that the disk (sda) had three partitions and their sizes and mount factors.

$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 104M 1 loop /var/lib/snapd/snap/core/16928
loop1 7:1 0 8.4M 1 loop /var/lib/snapd/snap/gping/13
sda 8:0 0 14.9G 0 disk
├─sda1 8:1 0 600M 0 half /boot/efi
├─sda2 8:2 0 1G 0 half /boot
└─sda3 8:3 0 13.3G 0 half /dwelling
/
zram0 252:0 0 3.7G 0 disk [SWAP]

Wrap-up

These instructions described on this submit will help you consider disk storage, diagnose disk utilization points and handle disk area successfully.

See also  CompTIA updates Linux+ certification | Network World

Source link

TAGGED: Disk, Examining, Linux, space
Share This Article
Twitter Email Copy Link Print
Previous Article Self-invoking code benchmarks help you decide which LLMs to use for your programming tasks Self-invoking code benchmarks help you decide which LLMs to use for your programming tasks
Next Article RyboDyn Raises $4M in Pre-Seed Funding RyboDyn Raises $4M in Pre-Seed Funding
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Your Trusted Source for Accurate and Timely Updates!

Our commitment to accuracy, impartiality, and delivering breaking news as it happens has earned us the trust of a vast audience. Stay ahead with real-time updates on the latest events, trends.
FacebookLike
TwitterFollow
InstagramFollow
YoutubeSubscribe
LinkedInFollow
MediumFollow
- Advertisement -
Ad image

Popular Posts

AI and the cybersecurity race

Matt Frye, Head of Presales & Schooling at Hornetsecurity, explores easy methods to leverage AI…

April 15, 2024

Can air cooling survive the AI era?

Alistair Barnes, Head of Mechanical Engineering at Colt Knowledge Centre Companies, explains why air nonetheless…

February 9, 2026

Linux operators: Using |, >, >>, &, &&, !, =, () and many more

Within the instance beneath, the head command fails as a result of it wasn’t run…

July 14, 2024

Energy Industry Ramps Up Efforts to Solve the Data Center Power Shortage

This 12 months’s Baker Hughes Annual Assembly in Florence, Italy, highlighted simply how far curiosity…

February 10, 2025

Enterprises can now run real-time data through Google Cloud’s most advanced VMs

Be a part of our every day and weekly newsletters for the newest updates and…

January 20, 2025

You Might Also Like

semiconductor chips manufacturing
Global Market

Broadcom strikes chip deals with Google, Anthropic

By saad
Netzwerken, Karriereplanung
Global Market

Intel secures Google cloud and AI infrastructure deal

By saad
Large AWS sign. Amazon Web Services (AWS) is a subsidiary of Amazon that provides on-demand cloud computing platforms - Las Vegas, Nevada, USA - December 3, 2019
Global Market

AI demand is so high, AWS customers are trying to buy out its entire capacity

By saad
Why sovereignty now shapes data centre planning in Europe
Global Market

Why sovereignty now shapes data centre planning in Europe

By saad
Data Center News
Facebook Twitter Youtube Instagram Linkedin

About US

Data Center News: Stay informed on the pulse of data centers. Latest updates, tech trends, and industry insights—all in one place. Elevate your data infrastructure knowledge.

Top Categories
  • Global Market
  • Infrastructure
  • Innovations
  • Investments
Usefull Links
  • Home
  • Contact
  • Privacy Policy
  • Terms & Conditions

© 2024 – datacenternews.tech – All rights reserved

Welcome Back!

Sign in to your account

Lost your password?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
You can revoke your consent any time using the Revoke consent button.