Re: `du -h` not printing out the filesystems?

2005-08-30 Thread Glenn Dawson
At 08:43 PM 8/30/2005, Robert G. wrote: chkn# du -h 12K. chkn# Anyone know what that is? This is a brand new FreeBSD 5.4 install. A bit of a guess, but it looks like you're running du in a dir that has no subdirs. -Glenn Thanks -- Robert G.

Re: `du -h` not printing out the filesystems?

2005-08-30 Thread Dan Nelson
In the last episode (Aug 30), Robert G. said: chkn# du -h 12K. chkn# Anyone know what that is? This is a brand new FreeBSD 5.4 install. Did you mean to run df maybe? -- Dan Nelson [EMAIL PROTECTED] ___

Re: du -k VS ls -l (what I'm missing?)

2004-07-01 Thread Matthew Seaman
On Fri, Jul 02, 2004 at 01:04:32AM +0400, Alex K wrote: what do I miss here? sum of individual file sizes is much more than total in ls and more than du -k reports bash-2.05b$ ls -l total 354112 -rw-r--r-- 1 lesha wheel 98490960 1 ??? 12:29 88479E51B1D77190A2A8C882 -rw-r--r-- 1

Re: du -s causes reboot

2004-05-16 Thread Eugene Lee
On Sat, May 15, 2004 at 04:50:24AM -0700, Kris Kennaway wrote: : : On Sat, May 15, 2004 at 04:54:10AM -0500, Eugene Lee wrote: : : FreeBSD 4.9p7. I have a new Dell PowerEdge 1750 that is giving me fits. : I have a ~/src directory containing source tarballs that are unpacked. : A du -s ~/src

Re: du -s causes reboot

2004-05-15 Thread Kris Kennaway
On Sat, May 15, 2004 at 04:54:10AM -0500, Eugene Lee wrote: FreeBSD 4.9p7. I have a new Dell PowerEdge 1750 that is giving me fits. I have a ~/src directory containing source tarballs that are unpacked. A du -s ~/src locks up my ssh session and causes it machine to reboot. No entries in

Re: du

2004-03-16 Thread Chris
On Tuesday 16 March 2004 10:51 am, Brian Henning wrote: does du return the size in KB by default? thanks You can try du -h That's listed in man du -- Best regards, Chris ___ [EMAIL PROTECTED] mailing list

Re: du

2004-03-16 Thread Chris
On Tuesday 16 March 2004 10:53 am, Chris wrote: On Tuesday 16 March 2004 10:51 am, Brian Henning wrote: does du return the size in KB by default? thanks You can try du -h That's listed in man du Sorry - I forgot to answer - Yes -- Best regards, Chris

Re: du

2004-03-16 Thread Matthew Seaman
On Tue, Mar 16, 2004 at 10:55:33AM -0600, Chris wrote: On Tuesday 16 March 2004 10:53 am, Chris wrote: On Tuesday 16 March 2004 10:51 am, Brian Henning wrote: does du return the size in KB by default? thanks You can try du -h That's listed in man du Sorry - I forgot to answer -

RE: du

2004-03-16 Thread Henning, Brian
Seaman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 11:33 AM To: Chris Cc: [EMAIL PROTECTED] Subject: Re: du On Tue, Mar 16, 2004 at 10:55:33AM -0600, Chris wrote: On Tuesday 16 March 2004 10:53 am, Chris wrote: On Tuesday 16 March 2004 10:51 am, Brian Henning wrote: does du return

Re: du

2004-03-16 Thread Matthew Seaman
[ du(1) accuracy ] On Tue, Mar 16, 2004 at 12:17:12PM -0600, Henning, Brian wrote: The only reason why I question it is when I lookup the size in windows (the directory is shared with samba) I see it as less. From bsd: 390 /home/henninb/jpg From windows: 372KB windows Is it because of

Re: du

2004-03-16 Thread Lowell Gilbert
Please don't top-post. Henning, Brian [EMAIL PROTECTED] writes: The only reason why I question it is when I lookup the size in windows (the directory is shared with samba) I see it as less. From bsd: 390 /home/henninb/jpg From windows: 372KB windows Is it because of the share or the

Re: du

2004-03-16 Thread Steve Ireland
- Original Message - From: Lowell Gilbert [EMAIL PROTECTED] To: Henning, Brian [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 16:15 Subject: Re: du Please don't top-post. Henning, Brian [EMAIL PROTECTED] writes: The only reason why I question it is when I

Re: du,df tools

2003-09-23 Thread Mike Hogsett
first, why does 59375408 + 1348433 != 61337213 df -k /home/henninb Filesystemkbytesused avail capacity Mounted on 61337213 59375408 134843398%/home/henninb I believe your disk has 1% reserved space. See newfs(8) -m free space %

Re: du,df tools

2003-09-23 Thread Andy K
Hi Brain Try df -h (h for human readable output I think)Also, in you shell profile change BLOCKSIZE= to k for kilobytes, M for Megabytes to suit you needs Regards Andrew Kozak ] On Wed, 2003-09-24 at 03:52, Brian Henning wrote: Greetings: I would like to use df and du tools to get some stat

Re: du -sh inconsistant with df -h

2002-12-20 Thread Mike Loiterman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul: You hit the nail right on the head! I did a lsof +L1 and found stunnel taking up a huge (2148999) amount of space. Killed it, restarted it and all my space is back! Now, the question is why does it keep accumulating all that

Re: [Fwd: Re: du -sh inconsistant with df -h]

2002-12-16 Thread Paul A. Scott
From: Mike Loiterman [EMAIL PROTECTED] snip Where are the extra 1.6 megs at? If a running process opens a file and then unlink(2)'s it, the file will not show up in the filesystem, and du will not reflect any space it uses. However, df will. Paul So is there any way to reclaim

Re: du -sh inconsistant with df -h

2002-12-16 Thread Paul A. Scott
I'm posting this offline message to the group for others who may be researching the same problem. Apparently 'stunnel' was the culprit. Are you familiar with 'lsof'? This utility, in /usr/ports/sysutils/lsof, will show all open files. It may help you discover the cause of the problem. I

Re: du -sh inconsistant with df -h

2002-12-15 Thread Paul A. Scott
From: Mike Loiterman [EMAIL PROTECTED] snip Where are the extra 1.6 megs at? If a running process opens a file and then unlink(2)'s it, the file will not show up in the filesystem, and du will not reflect any space it uses. However, df will. Paul -- Paul A. Scott mailto:[EMAIL PROTECTED]

Re: du -sh inconsistant with df -h

2002-12-15 Thread Jens Rehsack
Mike Loiterman wrote: This is strange. When I do: [11:49:09 root@fat_man: /var]# du -sh 7.0M. but when I do: [11:49:18 root@fat_man: /var]# df -h FilesystemSize Used Avail Capacity Mounted on /dev/ad0s1a97M55M34M62%/ /dev/ad0s1f 1.7G 1.2G 403M75%

Re: du, find/xargs/sort, and MP3.tar

2002-10-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-23 17:05:48 -0400: On 22 Oct 2002, Gary W. Swearingen wrote: Peter Leftwich [EMAIL PROTECTED] writes: Then I thought I'd get crafty and `tar tvf MP3.DONE0415021909MPT.tar the-tarfile.out` thinking I could later run things through `sort` but I am hung up

Re: du, find/xargs/sort, and MP3.tar

2002-10-23 Thread Peter Leftwich
On 22 Oct 2002, Gary W. Swearingen wrote: Peter Leftwich [EMAIL PROTECTED] writes: Then I thought I'd get crafty and `tar tvf MP3.DONE0415021909MPT.tar the-tarfile.out` thinking I could later run things through `sort` but I am hung up on how to get similar output that shows the contents of

Re: du, find/xargs/sort, and MP3.tar

2002-10-22 Thread Gary W. Swearingen
Peter Leftwich [EMAIL PROTECTED] writes: Then I thought I'd get crafty and `tar tvf MP3.DONE0415021909MPT.tar the-tarfile.out` thinking I could later run things through `sort` but I am hung up on how to get similar output that shows the contents of MP3/. tar cf - MP3/ | tar tvf -