• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for October 2017

How to split iso or file using ‘split’ command in Linux

by admin

You may need to cut down or split a file into smaller pieces sometimes. This is very useful when you want to cut down a large iso to fit into a DVD or CD. or can also be used to transfer over a network. To split the file into smaller pieces, we can use the […]

Filed Under: Linux

CentOS / RHEL 6 : How to disable Transparent Huge pages (THP)

by admin

Transparent Huge Pages (THP) are enabled by default in RHEL 6 for all applications. The kernel will always attempt to satisfy a memory allocation using hugepages. If no hugepages are available (due to non availability of physically continuous memory for example) the kernel will fall back to the regular 4KB pages. Explicit Huge Pages V/s […]

Filed Under: Linux

CentOS / RHEL 7 : How to disable Transparent Huge pages (THP)

by admin

Explicit Huge Pages V/s Transparent Huge Pages There can be two types of HugePages in the system: Explicit Huge Pages which are allocated explicitly by vm.nr_hugepages sysctl parameter and Transparent Huge Pages which are allocated automatically by the kernel. Verify if THP is enabled “tuned.service” on CentOS / RHEL 7 set the transparent_hugepage to always […]

Filed Under: CentOS/RHEL 7, Linux

RHEL/CentOS 6,7 : How to caculate the size of hugepage used by a specific process/application

by admin

You have a system configured with hugepages and you want to find per-process hugepages utilization. # grep -i huge /proc/meminfo HugePages_Total: 2176 HugePages_Free: 2065 HugePages_Rsvd: 2065 Hugepagesize: 2048 kB Method 1 The following command can be used to see which processes are using THP: for i in /proc/*/smaps; do if [[ $(grep ‘^AnonHugePages’ $i | […]

Filed Under: CentOS/RHEL 7, Linux

CentOS / RHEL 6,7 : How to configure hugepages

by admin

What is hugepages HugePages is a feature integrated into the Linux kernel with release 2.6. This feature basically provides the alternative to the 4K page size (16K for IA64) providing bigger pages. HugePages is a method to have larger pages where it is useful for working with very large memory. Configure hugepages by using the […]

Filed Under: CentOS/RHEL 7, Linux

Linux OS Service ‘cpuspeed’

by admin

Service Name cpuspeed Description This executes a daemon which dynamically adjusts CPU speed and voltage based on demand for CPU and automatically detects available CPU speeds. This is necessary only for Note/Desktop PC, but not for server. This daemon monitors the system’s idle percentage and reduces or raises the CPUs’ clock speeds and voltages accordingly […]

Filed Under: Linux, Linux Services

How to disable auto completion (tab completion) in bash shell

by admin

Disabling auto-complete feature globally for all the users With bash shell you would usually have the auto completion feature turned on by default. To disable the auto complete feature of the Bash shell for all the users of the system, you can add the following parameter in the file /etc/inputrc: # vi /etc/inputrc set disable-completion […]

Filed Under: Linux

Solaris : How to automate scp transfer (using passwordless ssh)

by admin

Because Secured Copy (SCP) is part of a suite of tools available with Secure Shell (SSH), you must first configure passwordless SSH before you can utilize the same for SCP. Authentication is checked against public key pairs for known hosts, instead of user id and password. Once you have SSH successfully configured to authenticate without […]

Filed Under: Solaris

How to configure passwordless ssh in Solaris

by admin

The post details out steps to configure passwordless ssh using RSA Public Key Authentication, in other words: passwordless login using public Key. This procedure is used to reduce the number of login prompts needed to do secure remote login with Sun Secure Shell (SSH) this including also SCP ( Secure Copy) and SFTP ( Secure […]

Filed Under: Solaris

VCS (Infoscale Availability) : How to online and offline resources

by admin

Resource online basics Resources are brought online automatically when the service group is brought online. They can also be brought online manually after the maintenance task according to the order defined in the dependency tree. The resource agent runs the online entry point which in turn runs the specific startup operations required to bring the […]

Filed Under: VCS

Next Page »

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright