Remote desktop to Windows KVM machine

[root@ramesh ~]# sudo iptables -nL -v –line-numbers -t filter | more Chain INPUT (policy ACCEPT 34274 packets, 3640K bytes) num pkts bytes target prot opt in out source destination 1 14 936 ACCEPT udp — virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53 2 ... more →
Posted in: Linux

Reducing space in LVM partition and removing disk from the server

You might have allocated more space to lvm partition for future use but now its not required hence you are planning to reduce the LVM partition and to remove the disk from the server. This can be done only offline so you need to get downtime if there is any application holding this filesystem¬† to unmount it to perform below steps. suse11-1:~... more →
Posted in: Linux

How to configure Network Bonding

Network bonding is aggregation of multiple network interfaces to single interface for load balancing, high availability, fault tolerance etc., This can be achieved by using the kernel module bonding. By default this will not loaded which we need to load this module manually while doing the configuration. I have created the bonding... more →
Posted in: Linux

Useful SAR commands

An abbreviation of SAR is System Activity Reporter which is an important tool for system administrators to get the performance overview of the server at different point of time. Using sar commaned, we can know the cpu, memory , disk etc, utilization for the current or for the past. CPU usage of all cpu’s [root@rhel6-1 ~]#... more →
Posted in: Linux

Useful Vim Commands

What is Vim ? Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems. Vim is often called a “programmer’s editor,” and so useful for programming that many consider it an entire IDE. It’s not just for programmers,... more →
Posted in: Linux

How to extend the LVM Partition / Resizing lvm partion

If required space is not available in the VG then request Vmware or SAN team for a new disk. To Extend the lvm partion, we need to have free space in volume group. This can be verified from the vgs command. # vgs VG #PV #LV #SN Attr VSize VFree vg0 1 1 0 wz--n- 3.06G 2.06G suse01:~ # Once the required space is available... more →
Posted in: Linux

Find command with some examples

Find command is available by default in most of the Linux distros so you don’t need to install any packages to get this command. Find command is very useful to search it for a particular file based on various search criteria like permissions, ownership, modifcation of date/time etc., Using find command even you can search it... more →
Posted in: Linux

How to encrypt and decrypt the file in Linux

Sometimes you may need to send a important files as a attachment thru emails. Better if the files was sent in encryption mode then unauthorized person can’t misuse the file. Now we will see here how to encrypt and decrypt the file in Linux. To encrypt a file : File can be encrypted using gpg command as shown below #gpg -c test.txt>... more →
Posted in: Linux

How to find top CPU utilization processes

At frequent intervals, cpu will be utilized high however sometimes you can’t find which process is consuming. Below commands will help you to find top consuming cpu processes. [root@rhel6-1 ~]# ps -eo pcpu,args --sort=-%cpu | head -n 10 %CPU COMMAND 0.8 /sbin/init 0.8 /sbin/udevd -d 0.1 hald 0.0 [kthreadd] 0.0... more →
Posted in: Linux
1 2