Posts

More than 100% CPU in top in Linux/Mac

…  processor goes ie it completely uses that CPU without giving any idle/free time for that CPU. Now consider the situation that we have a …

Auto Backup using Dropbox in Linux/Mac

…  which I wanted to keep a copy online as a backup and for viewing from other places. Its not always possible to save all the essentials …

User Level Threads

…  dangling pointer if(first == last) *Q = NULL; // removing last element so Q empty else *Q = curr; //Change starting point of the Q …  // begin pseudo code //allocate a stack (via malloc) of a certain size (choose 8192) void *stackP = malloc(8192); //allocate a TCB (via malloc) TCB_t *tcb = (TCB_t *) malloc(sizeof(TCB_t)); //call init_TCB …

Cron a Django Program

…  needs a lot of configurations and settings for the environment to run. So after some searches I got that django has an undocumented …  top_level_rx.match(path) is not None def prepare_environment(): # we’ll need this script’s directory for searching …  ‘..’)) # set up the environment using the settings module from django.core.management import …

Service Engineer/System Administrator Interview Questions

…  is not my code alone.  It was the group effort of Vivek Ram, Cijo George, Sandeep Unni and mine during our epic preparation for …  information. Convert all lower case to upper and vice versa. tr “[a-z] [A-Z]” “[A-Z] [a-z]” < file print those lines with …

Operator Preference Grouping Order in C

…  grouping comes in handy during C interview questions  which tries to manipulate the same variable in multiple ways …

Ontology Linked Data

…  to interact with the website and share more content and views to the article. This lead the web to evolve itself to focus itself more …  1.0 to Web 2.0 is a direct result of the change in the behavior of those who use the World Wide Web, Web 1.0 trends included worries over …

Important MySQL DBA Interview Questions

…  are a few sets of interview questions expected for MySQL DBA position.These are compilation of the …  transactions in process at the time of the failure. Resolving any pending distributed transactions undergoing a two-phase commit at the …  have been granted the RESTRICTED SESSION system privilege. What is Partial Backup? – A Partial Backup is any operating system …