≡ Menu

Ramesh Natarajan

Lazy sysadmin is the best sysadmin –Anonymous System administrators job is not visible to other IT groups or end-users. Mostly they look at administrators and wonder why sysadmins don’t seem to have any work. If you see a sysadmin who is always running around, and trying to put down fire, and constantly dealing with production [...]

{ 51 comments }

This article provides a total of 24 examples on iostat, vmstat, and mpstat commands. iostat reports CPU, disk I/O, and NFS statistics. vmstat reports virtual memory statistics. mpstat reports processors statictics. This article is part of our ongoing Linux performance monitoring series. Please note that iostat and vmstat are part of the sar utility. You [...]

{ 9 comments }

Question: When I perform rsync, it asks for my password on the remote server before starting the transfer. I would like to avoid this, and perform rsync without password. Can you explain with an example on how to setup rsync over ssh without password on Linux? Answer: The following steps explains how to setup rsync [...]

{ 16 comments }

Many of you asked me this question: I read your articles regularly and learned a lot from them. I would like to thank TGS. How can I help? The answer is simple: Help me grow the blog by personally recommending it to your friends and colleagues. Send them this welcome url, and request them to [...]

{ 0 comments }

12 Bash For Loop Examples for Your Linux Shell Scripting

There are two types of bash for loops available. One using the “in” keyword with list of values, another using the C programming like syntax. This article is part of our on-going bash tutorial series. This explains both of the bash for loop methods, and provides 12 different examples on how to use the bash [...]

{ 54 comments }

Question: How do I execute certain shell script at a specific intervals in Linux using cron job? Provide examples using different time periods. Answer: Crontab can be used to schedule a job that runs on certain internal. The example here show how to execute a backup.sh shell script using different intervals. Also, don’t forget to [...]

{ 28 comments }

Question: I have a php script on my server that can be execute from the command line and also can be accessed from the browser using Apache web server. I would like to execute execute this php script every 1 hour. How do I schedule this as php cron job on Linux environment. Answer: Use [...]

{ 18 comments }

SQLite3 is an extremely lightweight SQL database engine that is self-contained and serverless. There is absolutely no configuration that you need to do to get it working. All you need to do is–install it, and start using it. Since this is serverless, it is used in lot of the famous software that you are using, [...]

{ 10 comments }