I/O SEEKERS

Many users rent VPS  but sometimes there exist limits I/0  on disks.I show you To not fall how to protect himself from extra cost trap I/O . First use vmstat vmstat is a great tool for fast analyzing  usage ram swap cpu and I/O . To many I/O operations is always reasons for analysis system. The…

Netcat fast port scaner

Sometimes in production environment we can`t install additional software . Only one options i use what we have at hands  .Net cat is great tool and more flexible than old telnet . This script add to you bash profile function nmap_nc . Usage nmap_nc ip  

/dev/tcp forgotten linux delicacy

Most of use nmap , ping ,ping ,wget curl , nc …. when need use or diagnose network from linux command line. I want show you how  to use bash for fast diagnostic , scanning ,send or download files, open websites , check services and create simple backdoor. Lets Begin /dev/{tcp,udp}/ it’s pseudo device file…

Speed test WAN(RX) with nice char

I created a lite more beauty version speed test tool for analysing RX speed of you network. It’s simple idea  curl get website and measue  speed   . Collecting data in file bps.sh   Second script  gnuplot  create nice char after  collect data or in this same time tou can run script in this same directory. gnuplot  speedplot.sh…

Hot to mount img disk file

Some time you need make a lite change on img file. I show you how to use bash mount img disk file with partitions. For test we will use raspberry pibian image from https://www.raspberrypi.org/downloads/raspbian/ When you try mount img image disk with partitions: “mount: wrong fs type, bad option, bad superblock on /dev/loop2, missing codepage or…

Nummber waiting process using this same resources

Script check process with status waiting for disk resourcess  sort list and present proc manual show states state %c One of the following characters, indicating process state: R Running S Sleeping in an interruptible wait D Waiting in uninterruptible disk sleep Z Zombie T Stopped (on a signal) or (before Linux 2.6.33) trace stopped t…

Which disks are attached to a card Fibre Channel

Is simple method check attached disk to HBA card . 1strep we net check pci of Fibre card . dmesg | grep lpfc #or lspci | grep Fiber     lspci | grep “Fibre Channel” 0a:04.0 Fibre Channel: Emulex Corporation Helios-X LightPulse Fibre Channel Host Adapter (rev 01) 0a:04.1 Fibre Channel: Emulex Corporation Helios-X LightPulse…