The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to get the file system size lucaxvu High Level Programming 1 02-13-2008 02:17 PM
file system size magasem AIX 7 02-06-2008 12:21 AM
How to reduce font size in a file lyoncc Shell Programming and Scripting 1 10-15-2007 01:25 PM
How to reduce the size of a logical volume in solaris 9 aribault SUN Solaris 6 10-28-2005 01:27 AM
Free size for File System videsh77 UNIX for Dummies Questions & Answers 7 02-03-2005 02:44 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-2008
Registered User
 

Join Date: Oct 2007
Posts: 7
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
How to reduce fil system size seen in bdf!

When i execute bdf, /home direcory seems 100% full. But when i check /home with 'du', total used memory is 30 MB in 1,4 Gb. how can I reduce this 100% to its real state?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-02-2008
rikxik's Avatar
Registered User
 

Join Date: Dec 2007
Posts: 100
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Paste the output you get from df and du alongwith the commands you are executing.
Reply With Quote
  #3 (permalink)  
Old 05-02-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,228
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Are you trying to make your filesystem smaller? Or are you trying to see how much space (freee and used) the filesystem has?
Reply With Quote
  #4 (permalink)  
Old 05-08-2008
Registered User
 

Join Date: Oct 2007
Posts: 7
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
egt81,sys,root # bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 262144 82544 168385 33% /
/dev/vg00/lvol1 127573 38819 82375 32% /stand
/dev/vg00/lvol8 786432 553072 219350 72% /var
/dev/vg00/lvol9 524288 1229 490375 0% /var/adm/crash
/dev/vg00/lvol7 1703936 1517468 174829 90% /usr
/dev/vg00/lvol20 196608 148615 45029 77% /usr/local/mysql-5.1.7-beta-hpux11.11-hppa2.0w-64bit
/dev/vg00/lvol19 262144 27960 219585 11% /usr/Systems/Global_Instance_7.1.6_Master
/dev/vg00/lvol17 3014656 1340934 1569530 46% /usr/Systems/1354RM_1_7.4.7_Master
/dev/vg00/lvol18 1245184 51814 1118846 4% /usr/Systems/1354RM_1_7.4.7_Master/maintenance
/dev/vg00/lvol15 2424832 781081 1541074 34% /usr/Systems/1353NM_1_7.4.4_Master
/dev/vg00/lvol16 1245184 171106 1006996 15% /usr/Systems/1353NM_1_7.4.4_Master/maintenance
/dev/vg00/lvol6 262144 5041 241050 2% /tmp
/dev/vg00/lvol5 2555904 2215281 319398 87% /opt
/dev/vg00/lvol14 393216 323176 65690 83% /opt/tao1.4l_p6
/dev/vg00/lvol13 3670016 3006134 622463 83% /opt/oracle10g
/dev/vg00/lvol12 196608 69591 119140 37% /opt/JacORB2.1.3.2
/dev/vg00/lvol4 1376256 1280889 10035 100% /home
/dev/vg00/lvol10 393216 216757 165454 57% /alcatel
/dev/vg00/lvol23 2097152 716990 1293929 36% /alcatel/OMSG
/dev/vg00/lvol22 16056320 7049260 8725624 45% /alcatel/DEPOT
/dev/vg00/lvol11 13631488 13014262 598032 96% /alcatel/8.1PL1
egt81,sys,root #


As you see from bdf, /home is 100%.

But in real state it has only 149 MB memory in /home directory:
egt81,sys,root # cd /home
egt81,sys,root # du -xsk * | sort -nr
111875 alcatel
13599 axadmin
12930 snml
1542 install
940 can
873 egt5
502 egt4
456 egt1
439 egt3
435 mustafa
429 egt2
386 egitim2
166 egitim4
162 egitim5
10 oracle
10 koray
10 eerbab
4 poseidon
0 swdl1692
0 lost+found
egt81,sys,root #
Reply With Quote
  #5 (permalink)  
Old 05-08-2008
rikxik's Avatar
Registered User
 

Join Date: Dec 2007
Posts: 100
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
What is the output of this:

Code:
du -ks /home
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102