File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Linux / UNIX
How to find the free(available) memory for a physical hard disk in linux machine.
Joined: Jul 29, 2005
Feb 06, 2006 02:50:00
How to find the free(available) memory for physical hard disk in linux machine, not a logical disk. Is there any shell script or command is available .
Joined: Jun 25, 2001
Feb 06, 2006 09:45:00
"dmesg" should show it when it prints out boot log's reported architecture. For redhat, it's also in /var/log/messages.
Also fdisk will do it, but that tends to be in sectors, not in GB, so a little interpretation is required. But it's also the most accurate.
An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: How to find the free(available) memory for a physical hard disk in linux machine.
Geting CPU Usage of a Machine
How to find free hard disk space?
Determine Hard disk free space Linux File system?
Jboss starting heap issue
how to get hard disk serial number using java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015