Sunday, 22 Mar 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  How to work with text colors on Linux

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

Intro to Quantum Random Number Generators

This is part three of a three-part series on quantum security – how it works,…

February 4, 2024

Trade tensions prompt European firms to rethink cloud strategies

Amid rising international commerce tensions, European firms are reassessing their cloud supplier selections, weighing geopolitical…

April 21, 2025

Canva to Acquire Leonardo.AI

Canva, a world chief in visible communication with greater than 190 million month-to-month lively customers,…

July 31, 2024

Data Center Infrastructure Management Market on Track for Rapid Growth

USA News Group – With integration of AI-powered computing steadily on the rise, analysts at…

May 13, 2024

6 trends that will shape the future of the cloud: Gartner

Because of this, Gartner recommends figuring out particular use instances and planning the functions and…

May 19, 2025

You Might Also Like

Portrait of Two Diverse Developers Working on Computers, Typing Lines of Code that Appear on Big Screens Surrounding Them. Male and Female Programmers Creating Innovative Software, Fixing Bugs.
Global Market

Lenovo bolsters hybrid AI platform with Nvidia GPUs

By saad
Cloud Security Concept: Businessman uses tablet on Secure Global Networking, Data Encryption, Firewall Protection, Continuous Monitoring, to Develop Smart Solutions from Digital Technology.
Global Market

Versa extends SASE platform with Inbound SSE and Secure Enterprise Browser

By saad
Nvidia space data center
Global Market

Nvidia joins push for data centers in space

By saad
The European Commission headquarters in Brussels (8)
Global Market

Beware hyperscalers’ ‘sovereignty washing,’ Euro cloud operators tell EU

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.