How to Remove Windows is not genuine Notification in Windows Se7en
Sometimes when we buy Windows 7 CD/DVD from the market, if it is pirated, So after installation we will get error message like windows is not genuine as shown below. So we can remove this notification follow the below mentioned steps :-
Step:1 – Open the command prompt as Administrator.
Step:2 – In the Command prompt type the command “SLMGR -REARM” and hit enter.
Step:3 – When we press enter, it will start executing the above command and below window will appear .
Step:4 – Now reboot your Machine and now onwards you will not get message like “Windows 7 build 7600 This copy of windows is not genuine”.
How to Enable Secure SSL Protocol
A man-in-the-middle attacker can force the communication to a less secure level and then attempt to break the weak encryption. The attacker can also truncate encrypted messages. Because sometimes Servers use SSLv2 protocol with low encryption ciphers. There are known flaws in the SSLv2 protocol. These flaws have been fixed in SSLv3 (or TLSv1). SSLv2 should be disabled and MEDIUM or HIGH encryption ciphers must be used. SSLV3 should be used instead of SSLv2.
# vim /etc/httpd/conf.d/ssl.conf
Remove or Comment on Following Lines
Line No. 93 :- SSLProtocol all -SSLv2
Line No. 98 :- SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
Add Following Line
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite ALL:!aNull:!ADH:!eNULL:!LOW:!EXP:!RC4+RSA:+HIGH:+MEDIUM
# /etc/init.d/httpd restart
# chkconfig httpd on
How to check CPU Utilization in Linux
# mpstat -P -ALL (for Each CPU Utilization)
Linux 2.6.39-400.17.1.el6uek.x86_64 (unixserveradmin.com) 09/10/2013 _x86_64_ (16 CPU)
04:28:05 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
04:28:05 PM all 80.42 0.00 18.69 0.06 0.00 0.42 0.00 0.00 0.40
04:28:05 PM 0 80.08 0.00 18.79 0.03 0.00 1.01 0.00 0.00 0.09
04:28:05 PM 1 89.24 0.00 9.67 0.36 0.00 0.02 0.00 0.00 0.71
04:28:05 PM 2 63.74 0.00 35.84 0.04 0.00 0.13 0.00 0.00 0.25
04:28:05 PM 3 87.14 0.00 12.11 0.06 0.00 0.00 0.00 0.00 0.68
04:28:05 PM 4 77.02 0.00 22.66 0.01 0.00 0.01 0.00 0.00 0.29
04:28:05 PM 5 88.26 0.00 10.43 0.04 0.00 0.00 0.00 0.00 1.27
04:28:05 PM 6 74.55 0.00 25.16 0.02 0.00 0.01 0.00 0.00 0.27
04:28:05 PM 7 91.69 0.00 7.29 0.02 0.00 0.00 0.00 0.00 0.99
04:28:05 PM 8 88.60 0.00 9.88 0.34 0.00 0.02 0.00 0.00 1.16
04:28:05 PM 9 89.59 0.00 9.89 0.42 0.00 0.02 0.00 0.00 0.09
04:28:05 PM 10 86.76 0.00 12.68 0.06 0.00 0.01 0.00 0.00 0.49
04:28:05 PM 11 87.48 0.00 12.06 0.06 0.00 0.00 0.00 0.00 0.40
04:28:05 PM 12 87.02 0.00 11.62 0.02 0.00 0.01 0.00 0.00 1.33
04:28:05 PM 13 87.14 0.00 10.64 0.03 0.00 0.00 0.00 0.00 2.18
04:28:05 PM 14 91.33 0.00 7.60 0.02 0.00 0.02 0.00 0.00 1.03
04:28:05 PM 15 91.52 0.00 7.85 0.02 0.00 0.00 0.00 0.00 0.60
# mpstat (for ALL CPU)
Linux 2.6.39-400.17.1.el6uek.x86_64 (unixserveradmin.com) 09/10/2013 _x86_64_ (16 CPU)
04:29:25 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
04:29:25 PM all 80.45 0.00 18.70 0.06 0.00 0.42 0.00 0.00 0.37# sar (Today CPU Utilization)
# sar
Linux 2.6.39-400.17.1.el6uek.x86_64 (unixserveradmin.com) 09/10/2013 _x86_64_ (16 CPU)
12:00:01 AM CPU %user %nice %system %iowait %steal %idle
12:10:01 AM all 17.04 0.00 4.26 0.04 0.00 78.66
12:20:01 AM all 95.24 0.00 24.05 0.00 0.00 0.00
12:30:01 AM all 93.87 0.00 23.61 0.00 0.00 0.00
12:40:01 AM all 16.41 0.00 4.12 0.00 0.00 79.47
12:50:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
01:00:01 AM all 16.53 0.00 4.23 0.00 0.00 79.24
01:10:01 AM all 97.52 0.00 23.47 1.36 0.00 0.00
01:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
01:30:01 AM all 8.93 0.00 2.28 0.00 0.00 88.79
01:40:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
01:50:01 AM all 93.28 0.00 23.37 0.00 0.00 0.00
02:00:02 AM all 16.65 0.00 4.22 0.00 0.00 79.13
02:10:01 AM all 16.82 0.00 4.31 0.00 0.00 78.87
02:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
02:30:01 AM all 94.29 0.00 24.07 0.00 0.00 0.00
02:40:02 AM all 92.47 0.00 23.65 0.00 0.00 0.00
02:50:01 AM all 16.52 0.00 4.18 0.00 0.00 79.30
03:00:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
03:10:01 AM all 16.42 0.00 4.20 0.02 0.00 79.37
03:20:01 AM all 93.68 0.00 24.09 0.01 0.00 0.00
03:30:01 AM all 16.35 0.00 4.20 0.00 0.00 79.45
03:40:01 AM all 95.06 0.00 24.08 0.00 0.00 0.00
03:50:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
04:00:01 AM all 9.07 0.00 2.30 0.00 0.00 88.64
04:10:01 AM all 94.39 0.00 23.88 0.00 0.00 0.00
04:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
04:30:01 AM all 93.10 0.00 23.61 0.00 0.00 0.00
04:40:01 AM all 16.66 0.00 4.18 0.00 0.00 79.15
04:50:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
05:00:01 AM all 16.73 0.00 4.23 0.00 0.00 79.04
05:10:01 AM all 93.43 0.00 23.79 0.00 0.00 0.00
05:20:01 AM all 16.32 0.00 4.13 0.00 0.00 79.55
05:30:02 AM all 0.00 0.00 0.00 0.00 0.00 0.00
05:40:01 AM all 95.20 0.00 23.91 0.00 0.00 0.00
05:50:01 AM all 91.35 0.00 23.30 0.00 0.00 0.00
06:00:01 AM all 16.62 0.00 4.20 0.00 0.00 79.19
06:10:01 AM all 93.97 0.00 23.75 0.01 0.00 0.00
06:10:01 AM CPU %user %nice %system %iowait %steal %idle
06:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
06:30:01 AM all 16.31 0.00 4.15 0.00 0.00 79.53
06:40:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
06:50:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
07:00:01 AM all 16.40 0.00 4.14 0.00 0.00 79.45
07:10:01 AM all 159.78 0.00 24.52 0.11 0.00 0.00
07:20:01 AM all 120.22 0.00 24.24 0.02 0.00 0.00
07:30:01 AM all 95.56 0.00 24.06 0.00 0.00 0.00
07:40:01 AM all 92.29 0.00 23.28 0.00 0.00 0.00
07:50:01 AM all 9.14 0.00 2.32 0.00 0.00 88.55
08:00:01 AM all 94.16 0.00 23.39 0.00 0.00 0.00
08:10:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
08:20:01 AM all 91.82 0.00 23.49 0.00 0.00 0.00
08:30:01 AM all 93.53 0.00 24.03 0.00 0.00 0.00
08:40:01 AM all 96.17 0.00 24.13 0.01 0.00 0.00
08:50:01 AM all 96.25 0.00 24.65 0.00 0.00 0.00
09:00:01 AM all 16.88 0.00 4.29 0.00 0.00 78.83
09:10:01 AM all 16.38 0.00 4.22 0.00 0.00 79.41
09:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
09:30:01 AM all 94.55 0.00 24.19 0.00 0.00 0.00
09:40:01 AM all 16.73 0.00 4.26 0.00 0.00 79.00
09:50:01 AM all 95.08 0.00 24.26 0.00 0.00 0.00
10:00:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
10:10:01 AM all 17.14 0.00 4.35 0.01 0.00 78.51
10:20:01 AM all 98.10 0.00 24.71 0.01 0.00 0.00
10:30:01 AM all 17.01 0.00 4.30 0.00 0.00 78.69
10:40:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
10:50:01 AM all 95.97 0.00 24.60 0.01 0.00 0.00
11:00:01 AM all 94.10 0.00 23.99 0.00 0.00 0.00
11:10:01 AM all 16.98 0.00 4.37 0.00 0.00 78.66
11:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
11:30:01 AM all 17.23 0.00 4.43 0.00 0.00 78.35
11:40:01 AM all 96.17 0.00 24.56 0.00 0.00 0.00
11:50:01 AM all 99.37 0.00 25.45 0.00 0.00 0.00
12:00:01 PM all 0.00 0.00 0.00 0.00 0.00 0.00
12:10:01 PM all 98.79 0.00 25.22 0.00 0.00 0.00
12:20:01 PM all 97.01 0.00 24.78 0.00 0.00 0.00
12:20:01 PM CPU %user %nice %system %iowait %steal %idle
12:30:01 PM all 97.58 0.00 25.25 0.00 0.00 0.00
12:40:01 PM all 17.06 0.00 4.39 0.00 0.00 78.55
12:50:01 PM all 0.00 0.00 0.00 0.00 0.00 0.00
01:00:01 PM all 17.50 0.00 4.51 0.02 0.00 77.97
01:10:01 PM all 17.13 0.00 4.41 0.00 0.00 78.46
01:20:01 PM all 0.00 0.00 0.00 0.00 0.00 0.00
01:30:01 PM all 0.00 0.00 0.00 0.00 0.00 0.00
01:40:01 PM all 95.01 0.00 24.27 0.01 0.00 0.00
01:50:01 PM all 16.98 0.00 4.42 0.03 0.00 78.57
02:00:01 PM all 16.77 0.00 4.34 0.00 0.00 78.88
02:10:01 PM all 95.78 0.00 24.94 0.00 0.00 0.00
02:20:01 PM all 0.00 0.00 0.00 0.00 0.00 0.00
02:30:01 PM all 95.92 0.00 24.73 0.34 0.00 0.00
02:40:01 PM all 16.84 0.00 4.42 0.00 0.00 78.74
02:50:01 PM all 0.00 0.00 0.00 0.00 0.00 0.00
03:00:01 PM all 96.14 0.00 25.38 0.00 0.00 0.00
03:10:01 PM all 17.02 0.00 4.42 0.00 0.00 78.56
03:20:01 PM all 94.97 0.00 25.16 0.00 0.00 0.00
03:30:01 PM all 95.93 0.00 25.59 0.00 0.00 0.00
03:40:01 PM all 95.26 0.00 25.50 0.00 0.00 0.00
03:50:01 PM all 0.00 0.00 0.00 0.00 0.00 0.00
04:00:01 PM all 17.51 0.00 4.56 0.00 0.00 77.93
04:10:01 PM all 0.00 0.00 0.00 0.00 0.00 0.00
04:20:01 PM all 17.12 0.00 4.57 0.00 0.00 78.31
Average: all 74.54 0.00 18.87 0.02 0.00 6.57
# ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 (Top 10 CPU users Utilization)
%CPU PID USER COMMAND
3.1 1930 root /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f root
2.4 10501 root /usr/bin/java -Djava.util.logging.config.file=/usr/local/apache-tomcat-cluster_2/conf/logging.properties -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:MaxPermSize=512m -verbose:gc -XX:+PrintClassHistogram -XX:+DisableExplicitGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/local/apache-tomcat-cluster_2/endorsed -classpath /usr/local/apache-tomcat-cluster_2/bin/bootstrap.jar:/usr/local/apache-tomcat-cluster_2/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/apache-tomcat-cluster_2 -Dcatalina.home=/usr/local/apache-tomcat-cluster_2 -Djava.io.tmpdir=/usr/local/apache-tomcat-cluster_2/temp org.apache.catalina.startup.Bootstrap start
2.4 10382 root /usr/bin/java -Djava.util.logging.config.file=/usr/local/apache-tomcat-cluster_1/conf/logging.properties -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:MaxPermSize=512m -verbose:gc -XX:+PrintClassHistogram -XX:+DisableExplicitGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/local/apache-tomcat-cluster_1/endorsed -classpath /usr/local/apache-tomcat-cluster_1/bin/bootstrap.jar:/usr/local/apache-tomcat-cluster_1/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/apache-tomcat-cluster_1 -Dcatalina.home=/usr/local/apache-tomcat-cluster_1 -Djava.io.tmpdir=/usr/local/apache-tomcat-cluster_1/temp org.apache.catalina.startup.Bootstrap start
18.4 1899 root CROND
1.8 1931 root /usr/sbin/postdrop -r
156 1901 root java -jar /root/JavaApplication12/dist/JavaApplication12.jar
0.1 1533 apache /usr/sbin/httpd
0.1 1464 apache /usr/sbin/httpd
0.1 1277 apache /usr/sbin/httpd
# iostat (CPU statistics & input/output statistics for devices and partitions. It can be use to find out your system’s average CPU utilization since the last reboot.)
Linux 2.6.39-400.17.1.el6uek.x86_64 (unixserveradmin.com) 09/10/2013 _x86_64_ (16 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
80.40 0.00 19.11 0.06 0.00 0.43
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 2.62 18.62 173.16 276808442 2574697924