529 reputation
36
bio website
location New Mexico
age
visits member for 4 years, 1 month
seen 2 days ago

Mar
24
answered Single “find” command with multiple arguments?
Mar
2
comment how to change the maximum number of fork process by user in linux
@vonbrand - absolutely. You should post this as the answer with possible things to check. +1
Feb
14
comment What method executes on bash exit via CTRL-D?
NOTE: returning weird characters on exit instead of numbers may result in some other scripts failing when they are not supposed to. exit [number] makes the return value available to the parent. The parent calls wait or waitpid to interpret the result of the child process's exit. This interpretation is based on the lowest eight bits of the return value. exit 0 is success, exit non-zero is considered some kind of failure. Or possibly a warning.
Feb
4
comment rm: .filename not removed: Disc quota exceeded
You can actually use disk in the sense that you have to write to a directory when you call unlink - the syscall rm uses. Over quota means no write access.
Feb
1
answered bg command seems not to behave
Feb
1
answered recover removed file in unix
Jan
31
answered Linux Remote Server Workspace is too busy and nonresponsive?
Jan
5
awarded  Yearling
Jan
4
answered How do I view the OS installation date on Solaris 10?
Jan
4
comment Why a command launched with nohup isn't able to write file after user logout?
Daniel is talking about autofs - mounting your home directory only when you are logged on. There is no simple workaround for your problem except to ensure you have at least one current interactive process on the box. Create a separate "dummy" session, for example. Or write to files in a known directory like /tmp that does not vanish.
Jan
2
comment old hard drive failing and cannot access files
It has to be either firmware issues in the controller or more likely: problems with one of the disk hardware components. You really should NOT try to "fix" it. Get another disk to copy to, or copy it off to a safe place. You can also pay major money to one of the disk recovery places.
Jan
2
answered old hard drive failing and cannot access files
Dec
26
answered how to launch an sftp transfer via the console
Dec
26
comment How to count 900 million lines in a second
SSD's are really expensive per GB of storage and are more effective in a SAN environment where software tiering is active. A hypothetical 900 million line file with 128 byte records (avg) would use 11.5GB, and a 128GB OCZ Vertex 4 costs $US140 at newegg. Storing one file would use $12.57 of storage, filesystem overhead excluded. That is crazy. IMO - creating gigantic files is frequently ill-advised, a poor use of a resource, and is always expensive. An SSD would provide at least a factor of 10 speed up on a full file read.
Dec
26
comment How to count 900 million lines in a second
Take ~1500 lines starting from a truly random line, assuming the line length fits a normal distribution (which may not be a good assumption), then you have a 95% chance that the mean length of those lines represents the actual mean length. ~1500 would constitute statistically valid sample. So dividing (filesize /mean record length) would render pretty good estimate. This is way more trouble than wc -l. Your real problem is that your wc -l is I/O bound, and even with a 15000 rpm SATA drive or a really good SAN ~99% of elapsed time will be I/O wait.
Dec
26
comment how to launch an sftp transfer via the console
Good. Last question: Are ssh-keys installed on all three boxes? If yes it will make the mish-mash of an all ssh|tar transfer simpler.
Dec
25
comment Laptop having random and frequent slowdowns
What does the event log show from a previous time when there was a slowdown? That is probably the first place to look for errors.
Dec
24
comment how to launch an sftp transfer via the console
Please validate this: you want to move files on boxA to boxB, but you have to do that from boxC, correct? I assume you can login via ssh to any of the boxes, yes?
Dec
24
comment Bash profile shows “Unexpected End of File” error
what is the output of the following: source ~/.bashrc
Dec
16
answered Why is the setuid permission bit not set for mkdir in modern Unix systems?