How to Monitor Keyboard Keystrokes in centos 6.6


Please help in installing the monitoring keyboard keystrokes in centos 6.6

I tried with “How to Monitor Keyboard Keystrokes Using ‘LogKeys’ in Linux” in centos 6.6 but I am confused while running these some commands:-

sudo make install

sudo locale-gen

sudo logkeys -s

and the directory /var/log/logkeys.log is empty

Please help me regarding this.


Here are the proper instructions for installing LogKeys monitoring tool in CentOS 6.5.

# yum install gcc make gcc-c++	
# wget
# tar xvzf logkeys-0.1.1a.tar.gz   
#cd logkeys-0.1.1a    
# ./configure               
# make                       
# make install

Once LogKeys installed successfully, you can start monitoring keystrokes with the help of following command.

# locale-­gen

For more information, read this article:

First of all thanks for the contribution

but when i am executing the command locale-gen, it is giving an error message as "bash: locale-gen: command not found

Please help me out


P. Venu