Finding local disk space

Hi Guys!!

Iam new to this thread.

I have a very urgent requirement of finding the local disk space. Iam running a php script on linux machine and need to find the local disk space on the remote machines.

I tried using df -h, which works if I specify the drive name on the remote machine. If I dont specify the drive name, it gives me the drive space of all the drives on the machine(local disk aswell network drives).

I need to find the disk space of local drives ONLY. How can I get the Local disk information and how can I get the disk space of local disk??

Please help me.......its a bit urgent for me.

Thanks & Regards,
navjak

try df -l

On aix its

/usr/sysv/bin/df -l this works for me...

yeah tried that earlier but it gives me blank.....Gus help me

Its very urgent and Iam not able to get it right

Show us the result of the df command, it may be possible to filter the output.