• RSS
  • SmsJobs
  • Sms
  • GoogleBuzz
  • Facebook
  • Twitter
  • Linkedin
  • Youtube
The Linux Juggernaut

The Linux Juggernaut

roles on……

Archive for May, 2010

RAM plays an important role in the performance of a system. So we should monitor this memory usage to troubleshoot system. free is the basic command to get details of RAM and swap usage.

#free

Example :

# free
total used free shared buffers cached
Mem: 3059872 2842016 217856 0 33936 2012684
-/+ buffers/cache: 795396 2264476
Swap: 2000052 67672 1932380

When you see its giving total size, used and free size in bytes. If … Continue Reading

Posted by Surendra On Tuesday-May - 11 - 2010 Add Comments READ FULL POST

What is a”Core file” ? Ans : A core file is created when a program is crashed/stoped abnormally due to some bug. This will be huge size which contains all the memory info, crash info which is used for programmers to debug the issue and find a solution or patch to that bug.

Why we system administrators are interested in that core files?
Ans : This is because of their size. As we do … Continue Reading

Posted by Surendra On Tuesday-May - 11 - 2010 Add Comments READ FULL POST

A “defunct” processes is also known as a “zombie” processes. A Zombie process is referred as dead process which is receding on your system thought its completed executing. In one shot we can say its a dead processes. This process will be in your process table and consuming your memory. Having more defunct process will consume your memory which intern slows your system. We have to kill the defunct process in order to free RAM Continue Reading

Posted by Surendra On Saturday-May - 8 - 2010 1 Comment READ FULL POST

Some times its required for us to know what is the RAM used by an application. Suppose in your machine Apache service or Mysql service is consuming up all your RAM. So how to check it? Is there any direct command to do this? The answer to this is no. We have to use two commands to do this. Here is the way to see what is the ram used by a particular Application.Continue Reading

Posted by Surendra On Thursday-May - 6 - 2010 2 Comments READ FULL POST

To see all the process run by a perticular user
#ps -u username u

Example
#ps -u rajesh u

or

To see all the files opened by user
#lsof grep username

Example
#lsof grep rajesh

To see memory used by a perticular user
#ps -u username u awk ‘{print $2}’

Example
ps -u krishna u awk ‘{print $2}’

Now you will get all the PID’s run by user Krishna. So try to get memory usage … Continue Reading

Posted by Surendra On Wednesday-May - 5 - 2010 Add Comments READ FULL POST

Q. I know the subject is not quite what I want to know, but there is a command to list running processes and I can’t remember what it is? There are many commands to accomplish this. Here is the list.

To see all the process running on a system
#ps -A

Example output :

PID TTY TIME CMD
1 ? 00:00:01 init
2 ? 00:00:00 kthreadd
3 ? 00:00:00 migration/0
4 ? 00:00:00 ksoftirqd/0
5
Continue Reading

Posted by Surendra On Wednesday-May - 5 - 2010 Add Comments READ FULL POST

email newsletter

Linux_redirection_operators

Linux/Unix redirecti

 Redirecting operators in Linux  In order to understand about Redirecting operators ...

dns records, dns configuration, dns stuff, dns server, open dns, dns report, how dns works, dns port number, dns in linux, global dns, types of dns, define dns, universal dns, dns address, domain name system, dns advantage, dns ip address, dns watch, dns query types, open dns address, check dns, dns namespace, dns resource records, dns tutorial, dns details, a dns, what is a dns, who is dns, how to dns, dns who is, dyn dns, dns servers, dns server service, dns a name, search dns, dns name, domain dns, dns setup, set dns

Domain Name Server(D

History of DNS server How DNS server evolved? To understand why we ...

Linux Bash Shell sho

This is a small post on improving your productivity when working with ...

Up coming posts on D

We are very much happy to announce that we started posting on ...

Wishing you Happy an

Dear Friends/Readers, I take this opportunity to convey our sincere thanks ...

  • About Linux Juggernaut

    How the blog name selected? Juggernaut: * a massive inexorable force that seems to crush everything in its way ...readmore>>

  • Contact Me

    Contact us Send an Email Phone number and vCard LinkedIn profile Advertise with us
  • About Me

    Surendra Kumar Chowdary

    My name is Surendra Kumar Anne. I am from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present i work at Persistent Systems as Module Lead.   read more »