Archive for September, 2015

i have a task to rsync all files and folders which is older than 3 days in capacity 2TB.

Here is the way i did.

# touch -mt 09201200 /tmp/compare
[[email protected] media.live]# ll /tmp/ |grep compare
-rw-r--r--   1 root     root        0 Sep 20 12:00 compare

the run the find command:

find /.../product -type f -newer ./tmp/compare -exec stat {} \; |egrep "File|Modify"

it should list all the files which is modified from 09201200 date up to present.

then you will have file list. just need to run rsync to do the last step.

Transparent Huge Pages (THP) are enabled by default in RHEL 6 for all applications. The kernel attempts to allocate hugepages whenever possible and any Linux process will receive 2MB pages if the mmap region is 2MB naturally aligned. The main kernel address space itself is mapped with hugepages, reducing TLB pressure from kernel code…
Read more:
https://access.redhat.com/solutions/46111
more »

Normally you can use Whois to query nameservers:

$ whois -h whois.verisign-grs.com “nameserver =ns1.inboxs.com”

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

Server Name: NS1.INBOXS.COM
IP Address: 128.199.201.000
Registrar: GODADDY.COM, LLC
Whois Server: whois.godaddy.com
Referral URL: http://registrar.godaddy.com

>>> Last update of whois database: Thu, 03 Sep 2015 15:04:12 GMT <<< [bash][/bash] The implementation of this feature is up to the TLD. .GOV, for example, does not return nameserver queries: [bash][/bash] $ whois -h whois.nic.gov "nameserver =a.gov-servers.net" % DOTGOV WHOIS Server ready No match for nameserver "A.GOV-SERVERS.NET". >>> Last update of whois database: 2015-09-03T15:04:58Z <<< Please be advised that this whois server only contains information pertaining to the .GOV domain. For information for other domains please use the whois server at RS.INTERNIC.NET. [bash][/bash]