LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2003, 12:35 PM   #1
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Rep: Reputation: 30
How to check space


I have to check the total available space in the tmp folder so how to check it. I am able to check the space on hd in different mount points with df command but how to check the size of used and available in a folder.
 
Old 09-15-2003, 12:37 PM   #2
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
Sorry with ls -l it is available but how to get the column headings in the ls command as it is hard to know the values without headings. With me ls -l genereated data is without field/column names.
 
Old 09-15-2003, 12:38 PM   #3
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
have you tried 'df' if executed it will list available space per partition (provided /tmp is placed in its own partition)
 
Old 09-15-2003, 02:56 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
du -h /tmp
 
Old 09-15-2003, 02:58 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
du -k /tmp

if you want to know in kilobytes...

man du

if you want to know more about du...
 
Old 09-15-2003, 11:21 PM   #6
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
du is abbriviation of? It is very hard to remind without knowing the exact name of the command.
 
Old 09-15-2003, 11:30 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
maybe Directory Usage? df as in DiskFree... it's just a guess.
 
Old 09-16-2003, 12:04 AM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
i think it means "disk space used"... but i'm not really sure... it's not "directory usage" because it doesn't just work for directories, it works on files too...

http://www.die.net/doc/linux/man/man1/du.1.html
 
Old 09-16-2003, 05:36 AM   #9
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
yes , it is disk space used...
 
Old 09-16-2003, 10:39 AM   #10
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
Its my suggestion that this detail should be in the man text. When you will get the exact word as du = disk used, df = disk free, ls = ? etc.

Your comments.
 
Old 09-16-2003, 10:53 AM   #11
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Rep: Reputation: 15
hehe, you can use some of the commands, people have writting, in this Thread - or you can install, phpmyadmin - find it here : http://phpsysinfo.sourceforge.net/ - and it will show a site like this : http://phpmyadmin.wizac.net
But I'm sure that you know this, and if you know, then sorry for spam =)
 
Old 09-16-2003, 10:54 AM   #12
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Rep: Reputation: 15
doh, I am sleeping not phpmyadmin.wizac.net, but http://phpsysinfo.wizac.net - doh sry
 
Old 09-16-2003, 10:58 AM   #13
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
Thanks for you input. I suggested to help those who wants to migrate to Linux and think this is very difficult. So these things will make life easy for those. In the start I thought that Linux is very difficult and friends also told me the same. But really I found it to be very easy...............For those who don't know about Linux and want to learn then just spend atleast one week and you will say Linux is very easy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check free disk space TigerLinux Linux - Newbie 9 10-04-2005 05:04 PM
Yum - check for disk space maimonoded Linux - Software 0 03-31-2005 09:23 AM
How do I check free partition space explorer Linux - General 5 04-14-2004 12:35 PM
How to check HD space? sikandar Linux - Software 10 09-01-2003 04:09 AM
check space? dsgdevil Linux - Software 1 02-21-2003 12:33 AM


All times are GMT -5. The time now is 06:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration