Linux

Linux stuff

Sometimes I get a stuck Virtual Machine that just won't go down and it's usually due to a lack of memory in the VM. When I issue a shutdown command from within the VM it starts the shutdown process but hangs part way through. Executing xe vm-shutdown uuid=<insert UUID here> --force does nothing but lock up the terminal. If this happens to you follow the steps below to forcefully shut the VM down. WARNING!! Only do this as a last resort. xe vm-list (note the VM's UUID) list_domains (find Read more...
Working with multiple files in vi it's possible... :e filename - Edit a file in a new buffer :bnext (or :bn) - go to next buffer :bprev (of :bp) - go to previous buffer :bd - delete a buffer (close a file) :sp filename - Open a file in a new buffer and split window ctrl+ws - Split windows ctrl+ww - switch between windows ctrl+wq - Quit a window ctrl+wv - Split windows vertically hide - close current window :only - keep only this window open :ls - show current buffers :b 2 - open buffer Read more...
Configuring Jumbo Frames enables the Ethernet interfaces to send and receive packets larger than the standard 1500 bytes. However, the actual transfer size depends on the switch capability and the device driver capability. Note - Refer to the documentation that came with your switch for exact commands to configure Jumbo Frames support. Jumbo frames can be enable in a Linux environment with the following steps Enable Jumbo Frames in a Linux Environment 1. Ensure that the nxge software Read more...
Configuring Jumbo Frames enables the Ethernet interfaces to send and receive packets larger than the standard 1500 bytes. However, the actual transfer size depends on the switch capability and the device driver capability. Note - Refer to the documentation that came with your switch for exact commands to configure Jumbo Frames support. Enabling Jumbo Frames in a Solaris Environment Now we will check how to enable Jumbo Frames in both a SPARC and an x86 environment. To Enable Jumbo Frames Read more...