Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

df -k noly shows root filesystem.

Status
Not open for further replies.

maddave

Technical User
Jan 3, 2002
72
0
0
GB
Quick message. Maybe Im being stupid! running Red Hat enterprise 4.

When I run the command "df -k" I only get shown the logical volume usage. I dont get a list of all folders /tmp /etc /dev... etc.

Even issueing "df -k /tmp" it just shows same info system.
df -all gives:
/proc,/boot and /shm


Im used to HP-UX and only recently started using red hat. Am I missing something? Cant find anything on red hat knowledgebase or in man pages.

Thanks.
 
issue [tt]fdisk -l /dev/sda[/tt] (or whatever your disk drive is) and take a look to the partitions, I'm quite sure you have only 2 partitions: / and swap

Cheers.

Chacal, Inc.[wavey]
 
Maybe you want:
[tt]cd / && du -sh *[/tt]
That will give you disk usage for each directory, summarized and human-readable (don't know if that's what they really mean, but it's how I remember them and it seems to work ;-))

----
JBR
 
Code:
du -sh /*
[code]
would avoid the cd /


seeking a job as java-programmer in Berlin: [URL unfurl="true"]http://home.arcor.de/hirnstrom/bewerbung[/URL]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top