1,856 reputation
112
bio website deployable.co
location
age
visits member for 1 year, 8 months
seen Apr 17 at 8:24

Apr
11
answered Needed: A simple way to remotely monitor a process on my server
Apr
4
comment Linux: How to calculate/find the slackspace of a file?
stat --printf "%s %b*%B" file can give you the size and the number of blocks and block size in the one output.
Apr
4
awarded  Cleanup
Apr
4
revised Apache server starts automatically after stopping the service
rolled back to a previous revision
Apr
3
comment Apache server starts automatically after stopping the service
If httpd is still using a sysvinit script then it won't have the respawn config, unless that's a default for upstart running sysvinit stuff. I tried adding httpd on a centos vm and am not getting the same kill/restart behavior : /
Apr
3
comment Apache server starts automatically after stopping the service
@Omid Centos6? init --help | tail -1
Apr
3
comment Apache server starts automatically after stopping the service
What do you mean about the centos tag?
Apr
3
revised Apache server starts automatically after stopping the service
make the command upstarty
Apr
3
answered Apache server starts automatically after stopping the service
Apr
3
comment Open list of files in vim to specific lines
There's a number of solutions on so
Apr
3
revised Most accurate disk usage report?
extra de dupe
Apr
3
revised Most accurate disk usage report?
extra detail
Apr
3
answered Most accurate disk usage report?
Apr
2
comment 6.0.7 Debian timeout if more connections at once
What does a wireshark or tcpdump network trace look like from both ends when the problem occurs?
Mar
25
comment My ISO Downloaded as Tar.Gz?
Need some more details as a tar file could contain anything. What distro is it? What's in the tar file? tar -tvzf OEM.tar.gz. There will probably be one big file in there which is the disk image that needs to be ddd to your flash drive.
Mar
24
comment difference between “ls –alR /” and “ls –alR / &”?
Other answers should cover this: unix.stackexchange.com/questions/101160/…
Mar
19
comment Why is iterating over a file twice faster than reading it into memory and computing twice?
In the case of extremely large files, memory constrained machines, or more items to grep for, you might see some speedup using tee so the file is definitely only read once. cat stdout.log | tee >/dev/null >(grep -c 'true'>true.cnt) >(grep -c 'false'>false.cnt); cat true.cnt; cat false.cnt
Mar
18
comment How is the order in which tar works on files determined?
@slm The f_op->iterate call that glibc readdir() eventually filters down to via getdents() is mapped to a filesystem specific implementation. I can't see anything at a higher level that reorders the dirent's the fs implementation returns.
Mar
12
comment Why does this executable still execute after I deleted it?
That glosses over a lot of the detail... Bruce Ediger's explains the process a bit more accurately.
Mar
12
comment How can I force a script to use more resources?
That's still spawning a copy of openssl for every line/password. You could launch openssl once for the whole file cat wordlist | openssl -stdin.... You'd then need to figure out how to identify the matching password and maybe how to exit on a match.