Linux specific articles

Shell script example | cpu usage monitoring

#!/bin/shmemuse=$(ps -p $(pidof java) -o %mem | awk '{if(NR>1)print}');thresholdVal=50;if [ $memuse >  $thresholdVal ]; then    message="Memory usage for jboss service on application server exceeded threshold.nCurrent use is $memuse %."   …

Continue Reading Shell script example | cpu usage monitoring

FTP

What is FTP? FTP stands for File Transfer Protocol. The protocol specifications were written by Abhay Bhushan and published as Request for Comments (RFC) 114 in April 1971. The File Transfer Protocol…

Continue Reading FTP

linux command | linux command cheat sheet

File Managementls - List files and folderscd - Change directorypwd - Present working directorymkdir - Make a new empty directoryrmdir - Remove an empty directorycp - Copy files or directoryrm…

Continue Reading linux command | linux command cheat sheet