A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

How to find VLAN number in AIX?

How to find VLAN number in AIX?

You can use the entstat command to find the VLAN number.

# entstat -dt en2 | grep -i vlan Invalid VLAN ID Packets: 0 Port VLAN ID: 400 VLAN Tag IDs: None [root@servr1:/root] # entstat -dt en1 | grep -i vlan Invalid VLAN ID Packets: 0 Port VLAN […]

Enable disk in Veritas Volume Manager

Enabling a disk

If you move a disk from one system to another during normal system operation, VxVM does not recognize the disk automatically. The enable disk task enables VxVM to identify the disk and to determine if this disk is part of a disk group. Also, this task re-enables access to a disk […]

Reattaching Failed Disks in Veritas Volume Manager

Veritas volume manager troubleshooting guide info.

Reattaching failed disks You can perform a reattach operation if a disk could not be found at system startup, or if VxVM is started with some disk drivers unloaded and unloadable (causing disks to enter the failed state). If the underlying problem has been fixed (such as a cable […]

Killing process by name except root

How to kill apache process which are not owned by root.

Kill -9 `ps -eaf | grep apache | grep -v root | awk ‘{print $2}’`

How to start and stop services/daemons in Unix/Lnux System

You may need to restart services after you changed the configuration files. You can use the following methods to restart services.

RedHat, CentOS and Fedora Core Linux /sbin/service sshd restart

Suse linux /etc/rc.d/sshd restart

Debian/Ubuntu /etc/init.d/sshd restart

Solaris 9 and below /etc/init.d/sshd stop /etc/init.d/sshd start

Solaris 10 svcadm disable ssh svcadm enable ssh

AIX stopsrc […]

How do I mount a CD rom in AIX?

First find out whether CD rom is available on the server using the following command:

#lsdev | grep -i cd cd0 Available 05-08-00 IDE DVD-RAM drvive You may get a output like above.

Type the following command to mout: #mount -V cdrfs -o ro /dev/cd0 /cdrom