Visit The New, Modern Unix Linux Community


How to determine how much space is available on client machine


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to determine how much space is available on client machine
# 1  
How to determine how much space is available on client machine

Hi,

Is there a command to determine how much space is available / used on a client machine ?.

Thanks
# 2  
decamposem,

df is the command to look for available space.In AIX df -g / or df -m

or just man df that will do.
# 3  
Thanks for the quick reply.

Is there a command to show the percentage how much each directory uses in space ?.
# 4  
I am using Putty with Solaris 10
# 5  
Check the (man page of) du command.

Regards
# 6  
i wish i knew what that meant Smilie
# 7  
Quote:
Originally Posted by decamposem
Thanks for the quick reply.

Is there a command to show the percentage how much each directory uses in space ?.
You can use:

df -k or df -kh as applicable.....
This will show you the percentage utilisation of mountpoints(Directories) of only mounted file systems....

According to me there is no command to get percentage utilisation
of directories, recursivelly through a filesystem.But you can know it's
utilisation in KB or B or GB.
For that you can use:
du -sh <dir. name>

Last edited by Reboot; 11-30-2008 at 03:47 PM..
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #144
Difficulty: Easy
IEEE designed POSIX around the common structure of the major competing variants of the Unix system, publishing the first POSIX standard in 1988.
True or False?

10 More Discussions You Might Find Interesting

1. Linux

Unable to connect to Server machine from a client machine using ftp service

Hi, Could you please help me with the below issue.. I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1). I'm trying to connect to server from the client machine using ftp service. I have installed vsftpd daemon on both the machines. I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies

2. Solaris

machine server and machine client

Hello, i need to create a communication between two machines solaris 2 installed in VM workstation; to begin with NFS and do these : Machine A : share -F nfs /opt and in Machine B : mount -F nfs machineA:/opt /mnt also share -F nfs -o rw=machineB /opt and in B mount -F nfs... (0 Replies)
Discussion started by: herbich1985
0 Replies

3. Solaris

Determine free space in a Disk device

Version: Solaris 10 (August 2011) on VM I am kind of new to Solaris.From VM workstation i allocated 35 GB to this Solaris VM's Disk The disk was named c1t0d0 Few basic slices for root(8gb), swap(517mb) and /export/home(494mb) were created by the solaris Installer during the... (18 Replies)
Discussion started by: polavan
18 Replies

4. IP Networking

How to Determine client's DNS server Ip

Is there a way for a server to determine client's DNS ip? I have an application that logs client's IP but in certain cases its desirable to know their DNS too (1 Reply)
Discussion started by: vickylife
1 Replies

5. AIX

Determine disk space in AIX

Hi I need to extend a FS in AIX but Im not sure on how to calculate the free space Please advise if my math is correct: -------PP SIZE: 64 megabyte(s) --------TOTAL PPs: 1086 (69504 megabytes) so the total size of volume is 64 * 1086 = 69504 MB (695GB) Free PP is-- FREE... (4 Replies)
Discussion started by: hedkandi
4 Replies

6. AIX

Determine space on a disk

Hello, I am trying to understand how to calculate actual disk space on a logical volume. Based on the output below, how would I convert the total and free PPs to MB and GB? Thank you. # lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: ... (4 Replies)
Discussion started by: dkranes
4 Replies

7. Solaris

How to get the IP address / Host name of client machine

Hi How to get the IP address / Host name of a particular user connected to Unix Server. For example: If used 'DevUser1' is connected to Unix server. I need to find out from which PC this connection has been made. How can this be achieved? Thanks (6 Replies)
Discussion started by: MVL
6 Replies

8. Shell Programming and Scripting

How to shutdown client machine from the server

I have a unix server through which some ten client machines are connected. I want to shutdown/restart all the machine from the server through the shell script during the particular time of the day. I welcome your suggestions. Thanks in advance. With regards Victor (1 Reply)
Discussion started by: mvictorvijayan
1 Replies

9. UNIX for Advanced & Expert Users

Windows machine with NFS-Client

Hi all expert, can anybody know how to export windows user home directory on NFS server so user can access there files from windows as well as Linux. In short configure windows machine with an NFS client is there any third party software & how 2 configure it . Any idea. Thanks in... (1 Reply)
Discussion started by: jagnikam
1 Replies

10. UNIX for Dummies Questions & Answers

how to determine the disk space usage

how can we determine the disk space used by a certain directory? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies

Featured Tech Videos