8,627 reputation
11029
bio website sites.google.com/site/arcege
location Salem, MA
age 45
visits member for 3 years, 2 months
seen 6 hours ago

Software configuration manager on UNIX/Linux system. Python, Bourne shell, C. Automation, Ant, Make, Maven, Ivy, Jenkins/Hudson, CruiseControl.


Apr
14
awarded  Nice Answer
Jan
28
comment When should I not kill -9 a process?
@dhruvbird But it would still be effort and possible downtime until the db file is repaired/restored (that's assuming that there are sufficient notifications to let you know of the corruption). Why deal with this risk by using something that should not be used? SIGKILL is not for terminating processes.
Jan
28
comment When should I not kill -9 a process?
@dhruvbird With file descriptors opened with O_SYNC, then they would be safe with a SIGKILL. Anything else risks a file being closed before buffers are written to the file. Is the data corrupted beyond repair, possibly not, but you can't say, with SIGKILL, that it won't be corrupted. Behavior not withstanding, the risk is still there. To answer your question, SIGKILL is for extreme circumstances and corruption is an expected risk, so yes, anything that corrupts on SIGKILL is acceptable.
Jan
26
awarded  Yearling
Jan
19
answered How can I use tee to print the input stream?
Dec
23
reviewed Approve suggested edit on Delete files specified by the output of find: rm thinks argument list is too long.
Dec
22
answered awk split parameter by char
Dec
18
reviewed Reject suggested edit on Find holes in an enumeration in awk
Dec
18
answered Find holes in an enumeration in awk
Dec
9
comment Display content of all currently detached screen
Joachin; for a single command without at, it would just be a shell for loop: for i in $(seq 20); do screen -p $i -X hardcopy; done; this would be a "Compound Command" which is still a single command (unless you are talking about a single "Simple Command").
Dec
9
revised Display content of all currently detached screen
added 241 characters in body
Dec
9
comment Display content of all currently detached screen
Good addition, Stehpane. I always forget about at; I usually only use it in conjunction with grep to find something in a stream. Works well.
Dec
9
answered Display content of all currently detached screen
Oct
25
comment A shell script that never dies
I didn't notice the bash shebang; I only use Bourne semantics myself and never noticed the difference with trap in Bash.
Oct
24
comment A shell script that never dies
SIGQUIT (^) could also be sent to terminate instead of using the shouldn't-be-used SIGKILL.
Oct
17
comment Different version of Python cannot find modules
It isn't failing on my side, so I'm not sure where the problem could be. Since the build is finding bzlib.h, the most likely reason is that there is a version mismatch between what you installed for the bzip2 development package and what is expected in Python. The version of libbz2-dev on my system is 1.0.6-1, what was installed on your system?
Oct
15
answered Different version of Python cannot find modules
Oct
14
awarded  Nice Answer
Sep
2
revised Why not simply use %h in OpenSSH ssh's ControlPath option?
Fleshed out the answer based on comments section.
Sep
2
answered Why not simply use %h in OpenSSH ssh's ControlPath option?