Linux Top Process
When you used Linux top process to monitor your server/PC, you might want to know what meant by the Cpu(s) variable used in percentage.
Eg.
top – 16:24:04 up 80 days, 18:23, 1 user, load average: 0.48, 0.46, 0.44
Tasks: 226 total, 2 running, 222 sleeping, 0 stopped, 2 zombie
Cpu(s): 2.2%us, 2.5%sy, 0.4%ni, 92.0%id, 3.0%wa, 0.0%hi, 0.0%si, 0.0%st
1. us -> User CPU time: The time the CPU has spent running users’ processes that are not niced.
2. sy -> System CPU time: The time the CPU has spent running the kernel and its processes.
3. ni -> Nice CPU time: The time the CPU has spent running users’ proccess that have been niced.
4. wa -> iowait: Amount of time the CPU has been waiting for I/O to complete.
5. hi -> Hardware IRQ: The amount of time the CPU has been servicing hardware interrupts.
6. si -> Software Interrupts.: The amount of time the CPU has been servicing software interrupts.
Original Source: http://www.seoforclients.com/hr/top/
How to check WordPress version from backend
Today, I will share how a bad guy(hacker) try to scan your WordPress version however I am not going to share how to do this.
With WordPress 2.8.x or earlier, WordPress version status were stored in a file named version.php in the wp-includes folder, some plugin such as WP Security Scan will try to hide the WordPress version number from scanning.
In order to get your WordPress version, you may do like the following command to grep the WordPress version.
mickgenie@mickgenie.com [~]# grep wp_version wp-includes/version.php
* @global string $wp_version
$wp_version = ‘2.8.6′;
Import failed for WordPress XML file?
This will happen if you used WordPress Export and Import tool for WordPress to WordPress migration, you might/might not faced this problem when you migrated your WordPress from 1 server to another server but this is good for your knowledge.
Eg.
I would like to migrate my WordPress blog from wordpress.com to my domain such as mickgenie.com.
Step:
1. I will go to wordpress.com administrator and export the data file to XML format to my local PC.
2. I will go to mickgenie.com administrator to restore it.
BUT,
I got “timed out” where the XML is not fully restore.
Solution suggested by Mick Genie:
Read the rest of this entry »
Run ASP.Net with cPanel
Nothing is impossible for Unix and many of the users do not know how to run ASP.Net framework from cPanel.
With this article, I will teach you how to enable ASP.Net Framework from cPanel, but before that, you must be the server owner/administrator for the server that tried to install this and have/have not setup the server.
To run ASP.Net(.aspx) from Apache, you may install third party component to support the ASP.Net. cPanel included a feature called EasyApache and EasyApache allow user to install third party component named mod_mono and mono project that make the possible for ASP.Net run in Apache.
For more information for the support component from the Microsoft .Net Framework, please refer to the mono default web page, Mono Project.
To run EasyApache, run the following script from root by using shell will do.
# /scripts/easyapache
mail – send and receive mail
With Linux Platform, you may sending an email without any programming coding, by using mail command, you could sending an email from the email server, below is a sample command.
root@mickgenie.com [~]# mail admin@mickgenie.com
Subject: Testing Mail from mickgenie.com
Emal message here
.
Cc:
root@mickgenie.com [~]#
By using “mail [email address], the command will request you to enter the email subject, press enter and enter your email message. Please aware that you need to enter a dot(.) to let the command understand that your message is done.