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...
AIX
In order to show the Word Wide Name (WWN) of the HBAs in an AIX server:
root@aix_server :/root# lscfg -vl fcs* | grep -i net
Network Address.............C0507603C95E00F8
Network Address.............C0507603C95E00FA
Network Address.............C0507603C95E00FC
Network Address.............C0507603C95E00FE
Network Address.............C0507603C95E0100
Network Address.............C0507603C95E0102
Network Address.............C0507603C95E0104
Network Address.............C0507603C95E0106
#
To Read more...
How many sockets on those servers and how many total physical cores
# lparstat -i
Node Name : server2
Partition Name : server2
Partition Number : 26
Type : Shared-SMT-4
Mode Read more...
When connecting over ssh to a server with Putty, we can easily export the DISPLAY and run any X-Window application after enable the X11 in the PuTTY configuration. However, if you change to another account any X-Window application will fail as we have to share the MIT-MAGIC Cookies from the first user connected, here is how we can do it.
user1@server3$ echo $DISPLAY
localhost:10.0
user1@server3$ xauth list
server3/unix:10 MIT-MAGIC-COOKIE-1 6586998224e70480f72d195f55191dc4
server3/unix:11 Read more...
See the list of interfaces on which tcpdump can listen:
tcpdump -D
Listen on interface eth0:
tcpdump -i eth0
Listen on any available interface (cannot be done in promiscuous mode. Requires Linux kernel 2.2 or greater):
tcpdump -i any
Be verbose while capturing packets:
tcpdump -v
Be more verbose while capturing packets:
tcpdump -vv
Be very verbose while capturing packets:
tcpdump -vvv
Be verbose and print the data of each packet in both hex and ASCII, excluding the link level Read more...