9
Interaction of fork() and clock_gettime() on Linux 2.6.xview story

http://stackoverflow.com – I need to monitor a section of code that includes a fork and I want to confirm that clock_gettime() is documented as working for this scenario. Here is the pseudo code: starttime = clock_gettime() if (fork() == 0) { /* in the child */ endtime = clock_gettime() print "elapsed time is " endtime - starttime } I can find example code where this technique is used, but I am concerned that (HowTos)

9
Interrupting blocking calls from parallel threadview story

http://stackoverflow.com – The simple code below exemplifies a problem I'm having waking a thread that is blocking on a driver call. (HowTos)

9
PID hash table entries: 4096 (order: 12, 32768 bytes)?view story

http://stackoverflow.com – Reading a server boot sequence of a redhat server 5.8, i saw this and for me is very unclear, maybe i wrong, but i know the linux kernel body allocator uses a power of two mechanism for allocate and dellocate the system memory, From boot messagges: PID hash table entries: 4096 (order: 12, 32768 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 33554432 (order: 16, 268435456 b (HowTos)

9
MakerBot Patents An Automatic Filament Switching System While Parent Company Stratasys Enjoys A Financial Bumpview story

http://techcrunch.com –  A MakerBot patent shows that the company is working on a dual-filament solution that can change print colors on the fly. By leading the filaments through the heated extruder using a sort of “slider” system, the patent suggests that future MakerBots should be able to change colors mid-print, a vast improvement over current dual-color solutions. (IT news)

9
(SOLVED) arm-linux-androideabi-ld: Undefined reference to "printf" [on hold]view story

http://stackoverflow.com – I am trying to build a very simple program in ARM Assembly using the arm-linux-androideabi toolchain included in the Android NDK. (HowTos)

9
Dofullbackup.html Call from Perl No Longer Workingview story

http://forums.cpanel.net – I'm a user with a reseller account on a typical web hosting provider. My provider recently moved my account to a new server with Cpanel 11.42.1 installed. For years, I have been doing my own accounts backups to a remote server using Cpanel dofullbackup from a Perl script running on cron nightly. I have the cron job do a backup of one account per night. (HowTos)

9
Output not in correct format - cd scriptview story

http://www.unix.com – I have a script that looks like this: Code: dirname2=/usr/tmp/filelist/*/* for dirname2 in /tmp/filelist/*/*; do (cd $dirname2/catalog ||echo "file does not exist" && echo "$dirname2" |cut -d '/' -f 7,8 && echo $i && ls -la |awk 'NR>3 {SUM += $5} END {  print "Total number of kb " SUM }');done 2>>/tmp/allerrors What happens (HowTos)

9
awk - why this is not working? trying next word!view story

http://www.unix.com – Hi Experts, Can you please advise , why I am not able to make it work, or why this is not working: I spent quite a lot of time on this figuring out , but not working, file : Code: This is a test file thanks for your reply This is another file again Have a nice day this is a small file thanks again. I am trying: Code: cat file|awk '{for(i=i;i<=NF;i++)if($i~"file") pr (HowTos)

9
"if" Loop not working when executing script using cronview story

http://www.unix.com – I am facing this weird issue where the script is working fine from the command line but when I am executing it from cron though it is working fine but the "if" loop is processing else part though I know that the if part of the logic is true and ideally the loop should execute the if portion. After executing the script though I am getting the value for the variable SZ=0 but for some re (HowTos)

9
Help in Understanding awk if ( F ) syntax -view story

http://www.unix.com – Hi Experts, I was looking at the below link, for finding words next to it, And unable to understand this syntax: Can any one please explain , what is meaning of this code: Code: if ( F ) s = s ? s OFS $i : $i from: HTML Code: http://www.unix.com/unix-for-dummies-questions-and-answers/226523-match-... Thanks.. (HowTos)