OS Categories

Where almost everything resides.

Screen is the best software used for full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells using only one SSH sesion or only one console. Getting in Escape key All screen commands are prefixed by an escape key, by default C-a (that's Control-a, sometimes written ^a). To send a literal C-a to the programs in screen, use C-a a. This is useful when when working with screen within screen. For example C-a a n will move screen to a Read more...
Servers that boot from SAN disks that require to upgrade the PowerPath version requires some aditional steps as you have to upgrade the software that handles the disk where the OS is running. Below you can find the pdf oficial document from EMC that explain all the options to perform the upgrade. Here I show a proved procedure to upgrade the software.  To do so, Powerpath provides an script we can use to remove (or configure) the powerpath devices. We will use a mixture of both option, removing Read more...
For a clean output on the IP address for nslookup, create a file with the list of hosts be lookup and run: # for i in `cat /tmp/list`; do echo -n $i": " ; getent hosts $i | awk '{ print $1 }'; done To see the memory consuption in Solaris # vmstat 1 2 |tail -1 | awk '{ print $5/1024, "MB"}'   To run a list of commands (i.e. over SSH) for i in `cat file.host.list` ; do ssh -o ConnectTimeout=5 $i "$(<cmd.txt)" 1>> output.out; done Where cmd.txt contains a list of commands separated Read more...
To configure bonding interface in RedHat machine by hand: [root@localhost ~]# modprobe bonding mode=4 lacp_rate=1 [root@localhost ~]# ifconfig bond0 up [root@localhost ~]# ifenslave bond0 eth0 eth3 The above commands Will add again the module with the parameters already set (m0de 4 means lacp as it is explained below). will enable bond0 interface. will enslave the required interfaces Check on the current status. [root@localhost ~]# cat /proc/net/bonding/bond0 Ethernet Channel Read more...