Swap usage Linux scripts and commands To see SWAP usage by processes script: #!/bin/sh # Get current swap usage for all running processes # Erik Ljungstrom 27/05/2011 SUM=0 OVERALL=0 for DIR in `find /proc/ -maxdepth 1 -type d | egrep “^/proc/[0-9]”` ; do PID=`echo $DIR | cut -d / -f 3` PROGNAME=`ps -p $PID -oContinue reading “Swap usage Linux scripts and commands”
Category Archives: Uncategorized
Linux scripts and commands to see RAM/memory utilization
Script to run top command after every 5 minutes RAM utilization: #!/bin/sh top -b -n 1 -o %MEM | head -17 >> /var/log/logging.txt echo “=========” >> /var/log/logging.txt Change the permissions to execute, chmod 777 script1 move the script to cronfrequently to run it after every 5 mins, mv script1 /etc/actions/cronfrequently/ (use cronhourlybyfour directory for 15Continue reading “Linux scripts and commands to see RAM/memory utilization”
5 Commands to Get Public IP using Linux Terminal
Public IP are used for communication between computers over internet. A computer running with public ip is accessible all over world using internet. So we can say that it is the identity of computer on internet. Now the question is how do we know our public ip. For computers having GUI can easily get thereContinue reading “5 Commands to Get Public IP using Linux Terminal”
Switches in GNS3
Ethernet Switch devices GNS3 with Dynamips help integrates an Ethernet switch that supports VLANs with 802.1q trunking. Trunk ports trunk all VLANs known to the switch – no VLAN pruning here. It is just a basic virtual switch with limited functionality that provides the very basics you’d want in a switch. If you drag anContinue reading “Switches in GNS3”
module/slot/port –
Introduction This document explains the interface numbering scheme used in Cisco 1800, Cisco 2800 and Cisco 3800 Series Routers. It also includes line numbering associated with async interfaces. Prerequisites Requirements There are no specific requirements for this document. Components Used The information in this document is based on these hardware versions: Cisco 1800 Series RoutersContinue reading “module/slot/port –”
CCNA Data Center / CCNA SPNGN
Virtualization / Cloud Computing
Windows 2012 Modifying Installation
NAS – Network Attached Storage / NAS vs. SAN / UFS Explorer NAS data recovery
Network-attached storage (NAS) is file-level computer data storage connected to a computer network providing data access to a heterogeneousgroup of clients. NAS not only operates as a file server, but is specialized for this task either by its hardware, software, or configuration of those elements. NAS is often manufactured as a computer appliance – a specialized computer built from the ground up for storingContinue reading “NAS – Network Attached Storage / NAS vs. SAN / UFS Explorer NAS data recovery”