Author Archive: Vicky Karmakar

rss feed

How to monitor linux system with top

| May 17, 2011 | 0 Comments

Command to be discussed: TOP Where the command can be used ? The Unix/Linux top command gives us the power to monitor the current server performance in dynamic real time. This command comes handy when the server resources becomes low and you want to know which process or user is consuming the most resources. Thus [...]

Continue Reading

how to use awk

| May 17, 2011 | 0 Comments

Awk AWK: Awk is a programming language which allows easy manipulation of structured data and the generation of formatted reports. The Awk is mostly used for pattern scanning and processing. It searches one or more files to see if they contain lines that matches with the specified patterns and then perform associated actions. Awk reads [...]

Continue Reading

what is sudo used for

| May 17, 2011 | 0 Comments

Sudo command There are times when we need to execute a command as root. This ensures an extra level of security since we are aware that we are executing a command which normally we do not execute. Also it records the command in /var/log/messages which can be checked by root to ensure that nobody has [...]

Continue Reading

How to use tcpdump

| May 17, 2011 | 0 Comments

Tcpdump command Tcpdump prints out a description of the contents of packets on a network interface and its output can be varied with various switches. We can use to analyze network packets from a single source or directed to a single service on the system. Think of a imagine when a user is unable to [...]

Continue Reading

how to use traceroute

| May 17, 2011 | 1 Comment

Traceroute command For network troubleshooting, the traceroute command comes handy. The thing to understand is over internet for a data to pass say from A to B, it has to go through various paths, these paths are called hops. Traceroute will will show you exactly where there is packet loss while connecting to another remote [...]

Continue Reading

uptime in inux

| May 17, 2011 | 0 Comments

Uptime Uptime is the time for which the system is up and running. That is time since last system reboot. It is a useful command with a line output. Run the uptime command as follows, uptime The output is as follows. 08:29:49 up 88 days, 7:34, 2 users, load average: 0.06, 0.04, 0.07 08:29:49 – [...]

Continue Reading

How to use vmstat

| May 17, 2011 | 2 Comments

Vmstat Vmstat command is used to report virtual memory usage. It reports information about processes, memory, paging, block IO, traps, disks and cpu activity. >> To use vmstat command, type the following vmstat The output is as follows. procs memory swap io system cpu r b w swpd free buff cache si so bi bo [...]

Continue Reading

How to use wget

| May 17, 2011 | 0 Comments

Wget There are many download managers available on internet yet there are few which are comparable to the versatility of wget command line download manager. To download any webpage, use the following command wget http://www.google.co.com The end of the output is as follows. Saving to: `index.html’ [ ] 10,407 –.-K/s in 0.08s 2011-05-15 23:06:41 (127 [...]

Continue Reading

What is xinetd

| May 17, 2011 | 0 Comments

Xinetd Xinetd is the improved/extended version of inetd (interned daemon). It is used to provide access control and resource management. Xinetd daemon starts at boot up but if you find it is not working, start it as follows service xinetd start To start it at bootup, use the following command chkconfig xinetd on >> All [...]

Continue Reading

How to check free memory in linux

| May 17, 2011 | 0 Comments

Free command Regular checking the systems memory usage is essential to certain that the system does not crash. Also on linux servers, it is important to see that the swap memory usage is as less as possible. If a server uses swap that means it is running out of RAM which in turn slows down [...]

Continue Reading