6,842 reputation
11738
bio website
location Boston, MA
age
visits member for 5 years, 1 month
seen yesterday

Jul
14
revised What are the skills required for a deployment engineer for network monitoring product company?
added 164 characters in body
Jul
14
answered What are the skills required for a deployment engineer for network monitoring product company?
Jul
14
comment How to restore remote access to a RHEL system from expanded permissions set over the entire filesystem?
In what format do you keep your backups?
Jul
12
answered Best way to compare (diff) a full directory structure?
Jul
11
comment Exchange server replacement that runs on Linux
@scott: do you use it with just imap for email or do you also use it for calendering as well?
Jul
10
revised Determine Location of Inode Usage
added 828 characters in body
Jul
10
answered Faster IMAP searching for Courier IMAP server on Linux
Jul
10
comment Determine Location of Inode Usage
That would likely take a billion years. A quicker thing to do is to run lsof | grep DIR and look in each of those directories for lots of new files.
Jul
10
comment Determine Location of Inode Usage
The inodes could also be taken by really deep directories, which this won't find. There are a number of weird edge cases in this, but the most common situation is a directory full of files with normal names.
Jul
10
comment Determine Location of Inode Usage
@mike G: You're 100% correct about this not being the fastest way to do this sort of thing. In my mind, the correct way to optimize this is to redirect to stderr when starting and finishing the "count directory entries" part of the script. That way, when you hit a directory with a million entries it will say "processing directory spool/postfix/maildrop" and then not say instantly "finished" and boom -- look in spool/postfix/maildrop and you'll see lots of files.
Jul
10
comment Determine Location of Inode Usage
I just ran a test on a directory with a million files and ls took 22 seconds and echo * took 12 seconds. (For the record, echo * in shell won't hit the arg limit because echo in 99% of shells in active use is a built-in)
Jul
10
comment Determine Location of Inode Usage
True about the ls -- in situations like this I worry more about it being clear what I'm doing and not so much about the performance. I'm pretty sure that you can use echo $line/* | wc -w in place of ls $line | wc -l and you avoid the ls sorting issue.
Jul
10
revised Determine Location of Inode Usage
added 185 characters in body
Jul
10
answered Determine Location of Inode Usage
Jul
10
comment What is the difference between unlink and rm?
"Premature optimization is the root of all evil (or at least most of it) in programming." -- Donald Knuth en.wikiquote.org/wiki/Donald_Knuth
Jul
10
comment Skipping hardlinks when using TSM Backup
Let us know what the eventual resolution to this is -- if it is an exclude list or if there really is a magic "please don't explode" flag you can set in tsm...
Jul
9
comment Skipping hardlinks when using TSM Backup
Another document discusses the difference here publib.boulder.ibm.com/infocenter/tivihelp/v1r1/topic/…
Jul
9
revised Skipping hardlinks when using TSM Backup
added 1 characters in body; added 10 characters in body
Jul
9
revised Skipping hardlinks when using TSM Backup
deleted 283 characters in body
Jul
9
revised Skipping hardlinks when using TSM Backup
added 1136 characters in body