Monday, April 2, 2018

Finding files by size in unix

$ find /tmp/  -size +500M

The above command finds files larger than 500MB sizes

$ find /tmp/  -size +500M -size -2GB -exec du -sh {} \;

It finds files that are between 500MB and 2GB sizes and run du -sh command on each file to see the sizes

Saturday, February 17, 2018

Chinna Kannan Azhaikkiraan Song Keyboard Notes

Chinna    Kannan    Azhaikkiraan 
C  D#      D  D#       F  A#A# C

Raathaiyai    Poongothaiyai 
A#  F G        FG A# F G

Aval     Manamkonda   Ragasiya    Raagathai    Paadi 
D F#    G F  G F           G F G F      D F G F       D# DC

Kangal   Solkindra   Kavithai
BC C      C C  D       A# A# C

Ilam       Vayathil     Ethanai    Kodi......
A# A#    C D D#      A# A#      C D D# D C

Enrum   Kathalai    Kondadum   Kaviyame 


Puthumai   Malarum    Inimai 


Antha   Mayakkathil    Inaivathu    Uravukku   Perumai 

Wednesday, January 10, 2018

To see the number of CPU in Linux server

lscpu - command will display the configuration of the current linux system


$ lscpu

Also if you want only the CPU and core list, you can run below command


$ lscpu | egrep '^Thread|^Core|^Socket|^CPU\('

It will display output like below

CPU(s):                8
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1