Zombie process is an inactive computer process, according to wikipedia article, "...On Unix operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table, allowing the process that started it to read its exit status. In the term's colorful metaphor, the child process has died but has not yet been reaped..."
So how do I find out zombie process?
Use top or ps command:
# top
OR
# ps aux | awk '{ print $8 " " $2 }' | grep -w Z
Output:
Z 4104
Z 5320
Z 2945
How do I kill zombie process?
You cannot kill zombies, as they are already dead. But if you have too many zombies then kill parent process or restart service.
You can kill zombie process using PID obtained from any one of the above command....
Category Archives: News
How to Unprotect an excel sheet without password
THis document will tel you how to unprotect an excel spread sheet without having the password
In case of a password protect worksheet you are unable to Edit the data on the Excel Sheet. If you do not Remember the Password or do not know the password to unprotect the sheet just follow the below simple steps.
Press ALT + F11 or click on View Code in Developers Tabs
In the Above White Space Enter the below Code. Do not change the code just copy paste:
Press ALT + F11 or click on View Code in Developers Tabs
In the Above White Space Enter the below Code. Do not change the code just copy paste:
Sub PasswordBreaker() 'Breaks worksheet password protection. Dim i As Integer, j As Integer, k As Integer Dim l As Integer, m As Integer, n As Integer Dim i1 As Integer, i2 As Integer, i3 As...
Secure an Excel workbook with a password
To allow only authorized users to view or modify your data, you can help secure your entire workbook file with a password.
1. On the File menu, click Save As
2. On the Tools menu, click General Options.
3. Do either or both of the following:
-
- If you want users to enter a password before they can view the workbook, type a password in the Password to open box, and then click OK.
- If you want users to enter a password before they can save changes to the workbook, type a password in the Password to modify box.
Find and Change File Permissions Recursively, Linux / UNIX
To find all files in /home/user/demo directory, enter:
$ find /home/user/demo -type f -print
To find all files in /home/user/demo directory with permission 777, enter:
$ find /home/user/demo -type f -perm 777 -print
Finally, apply new permission using the -exec option as follows:
$ find /home/user/demo -type f -perm 777 -print -exec chmod 755 {} \;
To select directories and subdirectories use the following syntax:
$ find /home/user/demo -type d -perm 777 -print -exec chmod 755 {} \;...
windows script to run after a specific time
windows script to run after a specific time using timeout
@echo off
command1
REM wait for 10 seconds before executing command2
timeout /t 10
command2...
Unknown table engine ‘InnoDB’
If You are facing problem with Unknown table engine 'InnoDB' on to your mysql Database. You can do following to get rid of this problem.
First look at the
ib_logfile0 and ib_logfile1 in /var/lib/mysql.
If they have been set to size different from the default, that probably will prevent mysqld's startup. The default for innodb_lkog_file_size is 5M.
Add this in my.cnf
[mysqld]
innodb_log_file_size = 12M
And then Proceed by doing following
/etc/init.d/mysql stop
mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak # these are your
mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak # log files
/etc/init.d/mysql start
...
