MongoDB: Mongodb - How do I view the current process/operation? Answer: To view the current operation simply connect to mongo and issue the following command:
db.currentOp();
This will return a BSON object detailing the current operation. ...
Linux: How do I stop an automatic raid check? Answer: MD (software) raid checks are performed every Sunday at 1am on Centos6 systems, to stop a current raid check you can run the following command ...
Hosting Control Panels: How do I log the connection IP in qmail (H-Sphere)? Answer: In versions newer than H-Sphere 2.5 Patch 1 you can increase the logging level by editing the "/var/qmail/control/options" file. Simply add (or edit any existing ...
Hosting Control Panels: What is the MySQL password for OnApp installation? Answer: You can view the MySQL database name and password for an onapp in the following file.
cat /onapp/interface/config/database.yml
You can then use this information to connect to ...
Command Line: How do I copy the partition layout to a new drive? Answer: It's useful in RAID setups to copy the partition tables over to a second/third/etc drive to save using fdisk to set them all up. To ...
Command Line: How do I see the progress of a dd? Answer: To view the current position of a dd you need to send signal SIGUSR1
You can either find the pid of dd and send the signal ...