Posts
More than 100% CPU in top in Linux/Mac
… 100% CPU for a process. I also have seen this multiple times but always wondered how it can be. Here is an example of how my top … it completely uses that CPU without giving any idle/free time for that CPU. Now consider the situation that we have a multi core CPU. …
Enable Multiple Login in Same Account in Gmail
Gmail recently started merging its App accounts to Gmail. Hence you wont be able to login into both the accounts in the same browser now. Here is a way on which you can still do it. This can be done for people who have multiple gmail accounts and want to b …
User Level Threads
… "threads.h" #define SLEEP_TIME 1 int global = 0; int ID = 1; void function() { printf("Function Started 1st Time\n"); fflush(stdout); int local = 0; int lID = … %d Running\n",lID); sleep(SLEEP_TIME); yield(); printf("Function %d Incrementing …
Cron a Django Program
… move up one directory at a time from this script’s # path, searching for settings.py settings_module = …
Service Engineer/System Administrator Interview Questions
… file contain word ‘XYZ’ anywhere in it no matter how many times,print ‘Success’ once. awk ‘/XYZ/ {print “SUCCESS”; exit 0;}’ …
Ontology Linked Data
… queried. Example of Linked Data are DBpedia and New York Times Linked Data. They extract structured information from Wikipedia and The New York Times to allow the user to ask sophisticated queries against the information …
Important MySQL DBA Interview Questions
… resources (locks) held by transactions in process at the time of the failure. Resolving any pending distributed transactions undergoing a two-phase commit at the time of the instance failure. Can Full Backup be performed when the database …
Installing Django on Dreamhost
… you are done. I hope it works it took me some time to figure out some issues and fix it. If you get 5xx error check your …
Recent Comments