Beruflich Dokumente
Kultur Dokumente
nixCraft
Linux Tips, Hacks, Tutorials, And Ideas In Blog Format
Usage
Key
t
A
f
Sorts the display by top consumers of various system resources. Useful for
quick identification of performance-hungry tasks on a system.
Enters an interactive configuration screen for top. Helpful for setting up top
for a specific task.
Sample Outputs:
swpd
free
buff cache
si
so
bi
bo
in
cs us sy id wa st
0 0
32
2 4 1 96 0 0
1 0
0 0
0 1151 1569 4 1 95 0 0
0 0
6 1117 439 1 0 99 0 0
0 0
0 0
0 1187 1417 4 1 96 0 0
0 0
18 1253 1123 5 1 94 0 0
=> Related: How do I find out Linux Resource utilization to detect system
bottlenecks?
#3: w Find Out Who Is Logged on And What They Are Doing
w command displays information about the users currently on the machine, and
their processes.
# w username
# w vivek
Sample Outputs:
TTY
FROM
LOGIN@
IDLE
JCPU
PCPU WHAT
root
pts/0
10.1.3.145
14:55
root
pts/1
10.1.3.145
17:43
#4: uptime Tell How Long The System Has Been Running
The uptime command can be used to see how long the server has been running.
The current time, how long the system has been running, how many users are
currently logged on, and the system load averages for the past 1, 5, and 15
minutes.
# uptime
Output:
1 can be considered as optimal load value. The load can change from system to
system. For a single CPU system 1 3 and SMP systems 6-10 load value might
be acceptable.
Sample Outputs:
PID TTY
TIME CMD
1?
00:00:02 init
2?
00:00:02 migration/0
3?
00:00:01 ksoftirqd/0
4?
00:00:00 watchdog/0
5?
00:00:00 migration/1
6?
00:00:15 ksoftirqd/1
....
.....
4881 ?
00:53:28 java
4885 tty1
00:00:00 mingetty
4886 tty2
00:00:00 mingetty
4887 tty3
00:00:00 mingetty
4888 tty4
00:00:00 mingetty
4891 tty5
00:00:00 mingetty
4892 tty6
00:00:00 mingetty
4893 ttyS1
00:00:00 agetty
12853 ?
00:00:00 cifsoplockd
12854 ?
00:00:00 cifsdnotifyd
14231 ?
00:10:34 lighttpd
14232 ?
00:00:00 php-cgi
54981 pts/0
00:00:00 vim
55465 ?
00:00:00 php-cgi
55546 ?
00:00:00 bind9-snmp-stat
55704 pts/1
00:00:00 ps
To turn on extra full mode (it will show command line arguments passed to
process):
# ps -AlF
OR
# pgrep lighttpd
OR
# pgrep -u vivek php-cgi
# free
Sample Output:
total
Mem:
used
12302896
-/+ buffers/cache:
Swap:
free
9739664
4061800
1052248
shared
buffers
2563232
cached
523124
5154740
8241096
1052248
=> Related: :
1. Linux Find Out Virtual Memory PAGESIZE
2. Linux Limit CPU Usage Per Process
3. How much RAM does my Ubuntu / Fedora Linux desktop PC have?
Sample Outputs:
0.09
tps
0.51
0.03
Blk_read/s
0.00
%idle
95.86
Blk_wrtn/s
Blk_read
Blk_wrtn
22.04
31.88
512.03
16193351 260102868
sda1
0.00
0.00
0.00
2166
sda2
22.04
31.87
512.03
16189010 260102688
180
sda3
0.00
0.00
0.00
1615
Sample Outputs:
CPU
06:45:16 PM
all
2.00
0.00
0.22
0.00
0.00
97.78
06:45:20 PM
all
2.07
0.00
0.38
0.03
0.00
97.52
06:45:24 PM
all
0.94
0.00
0.28
0.00
0.00
98.78
06:45:28 PM
all
1.56
0.00
0.22
0.00
0.00
98.22
06:45:32 PM
all
3.53
0.00
0.25
0.03
0.00
96.19
Average:
all
%user
2.02
%nice
06/26/2009
0.00
%system
0.27
%iowait
0.01
=> Related: : How to collect Linux system utilization data into a file
0.00
%steal
97.70
%idle
Sample Output:
%user
%nice
06/26/2009
%sys %iowait
%irq
%soft %steal
%idle
06:48:11 PM all
3.50
0.09
0.34
0.03
0.01
0.17
0.00
95.86
1218.0
06:48:11 PM
3.44
0.08
0.31
0.02
0.00
0.12
0.00
96.04
1000.3
06:48:11 PM
3.10
0.08
0.32
0.09
0.02
0.11
0.00
96.28
34.93
06:48:11 PM
4.16
0.11
0.36
0.02
0.00
0.11
0.00
95.25
0.00
06:48:11 PM
3.77
0.11
0.38
0.03
0.01
0.24
0.00
95.46
44.80
06:48:11 PM
2.96
0.07
0.29
0.04
0.02
0.10
0.00
96.52
25.91
06:48:11 PM
3.26
0.08
0.28
0.03
0.01
0.10
0.00
96.23
14.98
06:48:11 PM
4.00
0.10
0.34
0.01
0.00
0.13
0.00
95.42
3.75
06:48:11 PM
3.30
0.11
0.39
0.03
0.01
0.46
0.00
95.69
76.89
=> Related: : Linux display each multiple SMP CPU processors utilization
individually.
# pmap -d 47394
Sample Outputs:
47394:
/usr/bin/php-cgi
Address
Device
Mapping
0000000000400000
0000000000886000
00000000008a9000
0000000000aa8000
000000000f678000
[ anon ]
[ anon ]
000000314a600000
000000314a81b000
000000314a81c000
000000314aa00000
000000314ab4c000
.....
......
..
00002af8d48fd000
00002af8d490c000
00002af8d4916000
00002af8d4b15000
00002af8d4b16000
mapped: 933712K
writeable/private: 4304K
[ stack ]
[ anon ]
shared: 768000K
To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that
contain data, not, for example, SYN and FIN packets and ACK-only packets,
enter:
# tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) ((tcp[12]&0xf0)>>2)) != 0)'
#
#
#
#
cat
cat
cat
cat
/proc/cpuinfo
/proc/meminfo
/proc/zoneinfo
/proc/mounts
sensor can return simple values or more complex information like tables. For each
type of information, one or more displays are provided. Displays are organized in
worksheets that can be saved and loaded independently from each other. So,
KSysguard is not only a simple task manager but also a very powerful tool to
control large server farms.
as powerful as the KDE System Guard, it provides the basic information which
may be useful for new users:
Displays various basic information about the computers hardware and
software.
Linux Kernel version
GNOME version
Hardware
Installed memory
Processors and speeds
System Status
Currently available disk space
Processes
Memory and swap space
Network usage
File Systems
Lists all mounted filesystems along with basic information about each.
disks, network interfaces, local and remote mailboxes, and many other things.
vnstat vnStat is a console-based network traffic monitor. It keeps a log of
hourly, daily and monthly network traffic for the selected interface(s).
htop htop is an enhanced version of top, the interactive process viewer,
which can display the list of processes in a tree form.
mtr mtr combines the functionality of the traceroute and ping programs in a
single network diagnostic tool.
Did I miss something? Please add your favorite system motoring tool in the
comments.
Share this on:
Download PDF version
About the author: Vivek Gite is a seasoned sysadmin and a trainer for the Linux/Unix &
shell scripting. Follow him on Twitter. OR read more like this:
How do I Find Out Linux CPU Utilization?
How do I find out Linux Resource utilization to detect system bottlenecks?
Linux command to gathers up information about a Linux system
How Much RAM does my Ubuntu / Fedora Linux desktop PC have?
Howto: Linux Kill and Logout Users
FreeBSD Display Information About The System Hardware
Linux find the memory used by a program / process using pmap command
Keeping a Log Of Daily Network Traffic for ADSL or Dedicated Remote Linux
ss: Display Linux TCP / UDP Network and Socket Information
Linux Display Bandwidth Usage on Network Interface By Host
Pretty much common knowledge (or should be) but handy to have listed
all in one place.
REPLY
LINK
Jim (JR)
(quote)
Pretty much common knowledge. . . .
(/quote)
Yea, right!
Ive been around the block two or three times and a number of these are
familiar to me but some of the ways theyre used here were not. Also a fair
number of these were absolutely brand-new and they look damned useful!
I am so going to book-mark this page it isnt funny! Its likely that I will want to
spread this URL around like the Flu as well. . . . :-D
@Vivek
*GREAT* list for those of us who are mere mortals. . . .
Jim (JR)
REPLY
Steve
LINK
LINK
Mike Williams
REPLY
farseas
LINK
If you did a lot of sysadmin you would already know the answer
to that question.
REPLY
robb
LINK
Chris
LINK
Nice list. For systems with just a few nodes I recommend Munin. Its
easy to install and configure. My favorite tool for monitoring a linux cluster is
Ganglia.
P.S. I think you should change this #2: vmstat Network traffic statistics by TCP
connection
REPLY
ftaurino
LINK
another useful tool is dstat , which combines vmstat, iostat, ifstat, netstat
information and more. but this is a very useful list with some interesting examples!
REPLY
LINK
James
LINK
Sohrab Khan
Dear i am learning the Linux pl z help me, I you have any useful
notes pl z sent it to my E-mail.
Thanks
REPLY
LINK
vasu
LINK
darkdragn
LINK
Artur
LINK
nig belamp
LINK
PC4N6
Uhm, geez, this isnt blogspot. Head over there if you have an
uncontrollable need to flame people above your level of understanding
REPLY
RB-211
LINK
LINK
grammer nazi
Jeff
LINK
Also: before stuff can become common knowledge youll first have to
encounter it at least once. Like here in this nice list. Thanks for
sharing!
REPLY
LINK
David
Roberto
LINK
Fireman
LINK
LINK
flame on!
REPLY
Raj
LINK
LINK
kaosmonk
LINK
Amr El-Sharnoby
I can see that the best tool to monitor processes , CPU, memeory and
disk bottleneck at once is atop
But the tool itself can cause a lot of trouble in heavily loaded servers and it
enables process accounting and has a service running all the time
To use it efficiently on RHEL , CentOS;
1- install rpmforge repo
2- # yum install atop
3- # killalll atop
4- # chkconfig atop off
5- # rm -rf /tmp/atop.d/ /var/log/atop/
6- then dont directly run atop command , but instead run it as follows;
# ATOPACCT= atop
This tool has saved me hundreds of hours really! and helped me to diagnose
bottlenecks and solve them that couldnt otherwise be easily detected and would
LINK
nixCraft
@Chris / James
Thanks for the heads-up!
REPLY
Solaris
LINK
quba
LINK
Hi,
We have just added your latest post 20 Linux System Monitoring Tools
Every SysAdmin Should Know to our Directory of Technology . You
can check the inclusion of the post here . We are delighted
to invite you to submit all your future posts to the directory and get a huge base of
visitors to your website.
Warm Regards
Techtrove.info Team
http://www.techtrove.info
REPLY
LINK
Cristiano
You probably wanna add IFTOP tool, its really simple and light, very
useful when u need to have a last moment remote access to a server to see hows
the trific going.
REPLY
Peko
LINK
Yeah, well why a so good admin (I dig(g) your site) wont you use
spelling checkers?
Typo #2 Web-based __Monitioring__ Tool
REPLY
LINK
paul tergeist
LINK
harrywwc
Hi guys,
good list and some great submitted pointers to other useful tools.
to those carp-ing on about typos give us all a break. youve never made a typo?
ever?
Idea: How bout those who have never *ever* made an error in typing text be the
first one(s) to give people grief about making a typo?
I _used_ to be a real PITA about this; then I grew up.
The purpose of this blog, and other forms of communication, is to *communicate*
concepts and ideas. *If* you have received those clearly in spite of the typos
then the purpose has been fulfilled.
/me gets down off his soapbox
.h
REPLY
LINK
StygianAgenda
Lolcatz
LINK
Typos*
REPLY
LINK
roflcopter
Typographical error*
REPLY
LINK
Pdraig Brady
A script I use often to show the real memory usage of programs on linux,
is ps_mem.py
I also summarised a few linux monitoring tools here
Id also mention the powertop utility
REPLY
Saad
LINK
This blog is more impressive and more useful than ever. I need more
help regarding proper installation document on php-network weathermap on
Cacti as plugins
REPLY
Jack
LINK
No love for whowatch ? Real time info on whos logged in, how their
connected (SSH, TTY, etc) and what process thay have running.
http://www.pttk.ae.krakow.pl/~mike/#whowatch
REPLY
LINK
StygianAgenda
Ponzu
LINK
LINK
Manoj
LINK
su -
Eric schulman
LINK
dtrace is a notable mention for the picky hackers that wish to know more
about the behavior of the operating system and its programs internals.
REPLY
LINK
Ashok kumar
REPLY
Enzo
LINK
LINK
Adrian Fita
LINK
Knightsream
Well, the one i use right now is Pandora FMS 3.0 and its making my
work easy.
REPLY
LINK
praveen k
LINK
LINK
Mathieu Desnoyers
LINK
Andy Leo
REPLY
LINK
Aveek Sen
Very informative.
REPLY
LINK
The Hulk
kburger
LINK
LINK
Ram
LINK
Kartik Mistry
`iotop` is nice one to be include in list. I used `vnstat` very much for
keeping track of my download when I was on limited connection :)
REPLY
nixCraft
LINK
@Everyone
Thanks for sharing all your tools with us.
REPLY
feilong
LINK
boz
LINK
mtr
REPLY
LINK
Scyldinga
Im with @paul tergeist, tools every linux user should know. The ps
samples are nice, thanks.
No reference to configuration management tools ?
cfengine/puppet/chef?
REPLY
LINK
Ken McDonell
LINK
Lance
bogo
LINK
Very nice collection of linux applications. I work with linux but I cant say
that i know them all.
REPLY
LINK
MEHTA GHANSHYAM
LINK
fasil
LINK
Aleksey Tsalolikhin
LINK
Abdul Kayyum
Aurelio
LINK
feilong, I agree. I use nmon on my linux boxes from years. Its worth a
look.
REPLY
LINK
komradebob
LINK
pradeep
how the hell i missed this site this many days :P thank god i found it
:) i love it
REPLY
Jay
LINK
LINK
Manuel Fraga
Osmius: The Open Source Monitoring Tool is C++ and Java. Monitor
everything connected to a network with incredible performance. Create and
integrate Business Services, SLAs and ITIL processes such as availability
management and capacity planning.
REPLY
aR
LINK
LINK
Shailesh Mishra
LINK
Bjarne Rasmussen
Balaji
LINK
LINK
Stefan
And for those which like lightweight and concise graphical metering:
xosview +disk -ints -bat
REPLY
Raja
LINK
Rajat
LINK
LINK
nima0102
LINK
David Thomas
Excellent list!
REPLY
Vinidog
LINK
REPLY
LINK
Bob Marcan
From the guy who wrote the collect utility for Tru64:
Name : collectl Relocations: (not relocatable)
Version : 3.3.5 Vendor: Fedora Project
Release : 1.fc10 Build Date: Fri Aug 21 13:22:42 2009
Install Date: Tue Sep 1 18:10:34 2009 Build Host: x86-5.fedora.phx.redhat.com
Group : Applications/System Source RPM: collectl-3.3.5-1.fc10.src.rpm
Size : 1138212 License: GPLv2+ or Artistic
Signature : DSA/SHA1, Mon Aug 31 14:42:40 2009, Key ID bf226fcc4ebfc273
Packager : Fedora Project
URL : http://collectl.sourceforge.net
Summary : A utility to collect various linux performance data
Description :
A utility to collect linux performance data
Best regards, Bob
REPLY
Tman
LINK
LINK
Somnath Pal
Hi,
Thanks for the nice collection with useful samples. Consider adding tools to
monitor SAN storage, multipath etc. also.
Best Regards,
Somnath
REPLY
Eddy
LINK
Kestev
LINK
openNMS
REPLY
LINK
Sergiy
Thanks for the article. I am not admin myself, but tools are very useful
for me too.
Thanks for the comments also :)
REPLY
LINK
Mark Seger
LINK
PeteG
Darn,
Ive been using Linux since Windows 98 was the current MicroSnot FOPA.
I know all this stuff. I do not make typoous.
Why do you post this stuff?
We all know it.
Sure we do!
But do we remember it? I just read through it and found stuff that I used long ago
and it was like I just learned it. I found stuff I didnt know either.
Hummmm Imagine that!
Thanks, particularly for the PDF.
Saved me making one.
Hey, wheres the HTML to PDF howto?
Thanks again.
REPLY
LINK
Denilson
Use:
free -m
LINK
AndrewW
LINK
Abhijit
LINK
greg
Kevin
LINK
LINK
Stefano
Just thanks! :)
REPLY
GBonev
LINK
LINK
Gokul
LINK
Bilal Ahmad
LINK
Jalal Hajigholamali
Thanks a lot
REPLY
LINK
mancai
nice sharing, this is what i want looking for few day ago tq
REPLY
LINK
aruinanjan
This is a nice document for new user, thaks to owner of this document.
arun
REPLY
LINK
myghty
LINK
Rakib Hasan
PRR
LINK
REPLY
Yusuf
LINK
Mark,
I am in technology myself and this tutorial page is very well organized
Thanks for taking the time to create this awesome page
great help for Linux new bees like myself.
REPLY
Yusuf
LINK
Shrik
LINK
sekar
LINK
it is cool
REPLY
LINK
Giriraaj
LINK
Bhagyesh Dhamecha
LINK
Ganesan AS
LINK
Mark Seger
you can no longer see it with a different tool? For example if you see a drop in
network performance and wonder if there was a memory or cpu problem, its too
late to go back and see what else was going on. I know it bothers me. Again, by
running collectl I never have to worry about that because it collects everything
(when run as a deamon) or you can just tell it to report lots of things when running
interactively and by default is shows cpu, disk and network. If you want to add
memory, you can always include it but you will need a wider screen to see the
output.
As a curiosity for those who run sar I never do what do you use for a
monitoring interval? The default is to take 10 minute samples which I find quite
worthless remember sar has been around forever dating back to when cpus
were much slower and monitoring much more expensive. Id recommend to run
sar with a 10 second sampling level like collectl and youll get far more out of it.
The number of situations which this would be too much of a load on your system
would be extremely rare. Anyone care to comment?
-mark
REPLY
miles
LINK
Amr El-Sharnoby:
atop is awesome, thanks for the tip.
REPLY
Serg
LINK
hi Mark
absolutely agreed with you mate! if you are the sysadmin something you will do
it for yourself and do it right!
These tools like ps,top and other is commonly used by users who administrated a
non-productive or desktop systems or for some users whos temporary came to
the system and who needed to get a little bit of information about the box and its
pretty good enough for them. )
REPLY
LINK
met00
If you are running a web server and you have multiple clients writing
code, you will one day see CPU slow to a crawl. Why?, you will ask. ps -ef and
top will show that mysql is eating up resources
HMM?
If only there was a tool which showed me what command was being issued
against the database
mytop
Once you find the select statement that has mysql running at 99% of the CPU, you
can kill the query and then go chase down the client and kill them too (or in my
case bill them at $250/hr for fixing their code).
REPLY
LINK
Mark Seger
re mysql its not necessarily that straight forward. I was working with
someone who had a system with mysql that was crawling. it was taking multiple
seconds for vi to echo a single character! we ran collectl on it and could see low
cpu, low network and low disk i/o. Lots of available memory, so what gives? A
close look showed me that even those the I/O rates were low, the average request
sizes were also real low probably do so small db requests.
digging even deeper with collectl I saw the i/o request service times were multiple
seconds! in other words when you requested an I/O operation not matter how fast
the disk is, it took over 2 second to complete and thats why vi was so slow, it was
trying to write to its backing store.
bottom line running a single tool and only looking at one thing does not tell the
whole story. you need to see multiple things AND see them at the same time.
-mark
REPLY
LINK
mtituh Alu
I have a postfix mail server, recently through tcpdump I see alot of traffic
to dc.mx.aol.com, fedExservices.com, wi.rr.com, mx1.dixie-net.com. I believe my
mail server is spamming. How do I find out it is spamming? and how do I stop it.
Please help.
REPLY
LINK
nixCraft
LINK
kirankumarl
Dear sir pls send me some linex pdf file by wich i can learn how to install
& maintanes
REPLY
LINK
Visigoth
JK
LINK
Hiii vivek,
Do you know any application to shut down a ubuntu 9.1 machine when one of its
network interface is down..I need it for clustering..
REPLY
AD
LINK
Tarek
LINK
LINK
deepu
Solo
LINK
OMG !
Amazing Super Ultra nice info . THX pinguins !
REPLY
vijay
LINK
LINK
Venu Yadav
LINK
Prashant Redkar
LINK
Saorabh Kumar
Spyros
LINK
Very interesting read that really includes the tools that every admin
should know about.
REPLY
LINK
amitabh mishra
Hi
Its a great topic. Actually i am a Mysql DBA and i fond a lot of new things here.
So i can say it will help in future.
Thanks once again
REPLY
LINK
Chinmaya
LINK
saurav
wow this is some great info,also the various inputs in comments. One i
would like to add is
ulimit
User limits limit the use of system-wide resources.
Syntax
ulimit [-acdfHlmnpsStuv] [limit]
Options
-S Change and report the soft limit associated with a resource.
-H Change and report the hard limit associated with a resource.
-a All current limits are reported.
-c The maximum size of core files created.
-d The maximum size of a processs data segment.
-f The maximum size of files created by the shell(default option)
-l The maximum size that may be locked into memory.
-m The maximum resident set size.
-n The maximum number of open file descriptors.
-p The pipe buffer size.
-s The maximum stack size.
-t The maximum amount of cpu time in seconds.
-u The maximum number of processes available to a single user.
-v The maximum amount of virtual memory available to the process.
ulimit provides control over the resources available to the shell and to processes
started by it, on systems that allow such control.
REPLY
LINK
Thanks,
Ashraf
REPLY
arief
LINK
Great tips..
Thanks
REPLY
LINK
Eduardo Cereto
LINK
Lava Kafle
wolfc01
LINK
See http://sourceforge.net/projects/procexp
REPLY
LINK
ohwell
if an admin doesnt know 90% of those tools, he isnt a real admin. you
will find most of these tools explained in any basic linux howto
REPLY
ravi
LINK
how the systems can be seen from sitting on one computer like as
admin. what is going on screen in grd floor computers?
REPLY
LINK
Anonymous
FHJ
LINK
I assume you can find the process ID for example if your process
is called foo.bar, you could do
ps -ef | grep foo.bar
this will give the PID (process ID) as well as other information.
Then do
kill -9 PID (where PID is the number your found in the above).
If you are working on a Mac you have to do sudo kill -9 PID since the kill
someone
LINK
LINK
kalyan de
Thanks,
I think it will be very helpfull for me as i am practicng oracle in redhat linux4. Today
i will try to check it. I want 1 more help. I am not clear about crontab. saupposed i
want to start a crontab in my system with any script which i have kept in
/home/oracle and want to execute in every 1 hour. Can u send me how i can do
with details.
Thanks,
kalyan de.
Chennai, india
+91 9962300520
REPLY
LINK
Samuel Egwoyi
Basil
LINK
Fenster
LINK
hey, thanks, just installed htop and iptraf, very nice tools!!
REPLY
zim
LINK
atop
man atop shows
The program atop is an interactive monitor to view the load on a Linux system. It
shows the occupation of the most critical hardware resources (from a performance
point of view) on system level, i.e. cpu, memory, disk and network.It also shows
which processes are responsible for the indicated load with respect to cpu- and
memory load on process level; disk- and network load is only shown per process if
a kernel patch has been installed.
REPLY
LINK
Boggles
Have to agree with zim. Atop is a great tool along with its report
generating sister application atopsar. This is a must-have on any server I
manage.
REPLY
Amit
LINK
Hello,
How to install a Suphp on cpanel.
REPLY
LINK
Walker
Thanks :)
THIS helped me a lot.
REPLY
LINK
m6mb3rtx
LINK
dudhead
giftzy
LINK
LINK
georges
LINK
fuser command is missing from this list. it tells you which command is
using a file at the moment. Since in Linux everything is a file, it is very useful to
know!
Use it this way:
# to know which process listens on tcp port 80:
fuser 80/tcp
Naga
LINK
LINK
LINK
Abdullah
nice list, at the end i think what you meant is Bonus and not bounce
bounce means jump
bonus means extra goodies :)
REPLY
LINK
dust
LINK
Jerome Christopher
LINK
sriharikanth
Jyoti
LINK
very useful
REPLY
t.k.
LINK
LINK
Thomas
LINK
Zanil Hyder
Though i have come across most of these names, having them all in one
list will prove to be a good resource. I am going to make a list from these and have
it within my website which i use for reference.
Thanks for the examples.
REPLY
LINK
brownman
chandra
LINK
REPLY
George
LINK
LINK
SHREESAI LUG
hiiiiiiiiiiiii
we r SHREESAI LINUX USER GROUP FRM MUMBAI
THIS COMMANDS R REALLY NICE
THANKS
VIVEK SIR
PLZ REPLY US ON MAIL
REPLY
LINK
Tunitorios
LINK
Marcelo Cosentino
Try ftptop . I think you can find it in centos , red hat , slack, debian
etc
Ftptop works with a lot of ftp servers daemons.
REPLY
LINK
mark seger
jan
LINK
sriram
LINK
LINK
Riadh Rezig
LINK
eaman
LINK
Amzath
Handy list.
Also, these might be handy as well
lsdev list of installed devices
lsmod list of installed modules
ldd to see dependencies of a executable file
watch automated refresh of any code every specified seconds, etc
stat details of any file
getconf to get HP server details
runlevel redhat run level
Search in web for more detailed info.
Good luck
REPLY
Rafiq
LINK
Hi guys,
I m totally new to the linux & this web aswell.
Would some1 help me here regarding, mirrordir utility?
what would b the full syntex if i only want to copy/mirror changed/edited files from
source to destination. since last mirror.
And how to define specific time to run this command, i mean schedule.
Thanks in advance.
REPLY
LINK
Jalal Hajigholamali
Hi,
use rsync command..
REPLY
leebert
LINK
There are many many other monitoring tools (dont know if these were mentioned
before) atopsar (atop-related), the sysstat/sar-related sa* series (sadc, sadf, sa1),
isag, saidar, blktrace (blktrace-blkiomon / blktrace-blkparse), iotop, ftop, htop,
nigels monitor (nmon), famd/fileschanged, acctail, sysctl, dstat, iftop, btrace, ftop,
iostat, iptraf, jnettop, collectl, nagios, the RRD-related tools, the sys-fs tools, big
sister/brother you could fill a book with them all.
REPLY
LINK
Lonu Feruz
please help where I can insert the command of route add of a node.
whenever the server is up i have to re do the command. I need to know where i
can put this command permanently
REPLY
LINK
nagaraju
IT IS SUPERB LIST
REPLY
LINK
MAHENDRA SINGH
thanx
your collection is fantastic.
now i want to know that, how linux works
REPLY
LINK
Rino Rondan
Thanx !!!
A really completed guide !
REPLY
LINK
games
LINK
sameer
ThanX..!!
can u send basic linux commands with ex
Thanks again
REPLY
LINK
Gunjan
Nice post, its really useful and helping beginners to resolve server issue
REPLY
Moe
LINK
vnstat
this also makes statistics for bandwidth usage over time which can be display for
daily, weekly and monthly usage. very useful if you dont want to install a
web-based tool for this.
REPLY
LINK
Stan
LINK
vishal sapkal
very nice
very importan tool of monetering
thanks for .
REPLY
LINK
david a. lawson
this rocks. it could not have come at a better time as i am into my first
networking course. thanks so much i found this through stumbleupon linux/unix
REPLY
ram
LINK
LINK
Nik
If you want to monitor CPU, memory, I/O and disk usage across multiple
servers you can use Librato Silverline its a commercial product but the first 8
cores are always free. You can actually do a lot more with Silverline, i.e. place
apps in individual containers, assign resource quotas to containers, trigger events
etc. but as a monitoring tool it is really great too.
REPLY
LINK
Rajkapoor M
Hi,
Its awasome..thanks to builder..
Thanks&Regards,
Rajkapoor M
REPLY
LINK
jalexandre
Perl?!
REPLY
LINK
jalexandre
And a good Sysadmin always can count with you prefered script
language.
I using perl for monitoring a lot of basic infra structure services, like DHCP, DNS,
Ldap, and Zabbix for generate alarms and very nice graphs.
REPLY
LINK
Sarath Babu M
Hi,
One of My Professor is introduce about the Ubantu This os is I like very much this
flyover. Before I am Using XP but now I download all app. and I all applications. i
always love linux, great article.
sarath
REPLY
Laxman
LINK
sah
LINK
KK
LINK
Sumo is the best, the best that ever was and the best that ever will be.
Way to go Sumo
REPLY
LINK
Deepak
mark
LINK
How would I get a list of slow running websites on my server via ssh?
REPLY
LINK
nigratruo
LINK
coldslushy
LINK
josh
LINK
abdul hameed
Dear All,
My Oracle Enterprice Linux getting very slow, when my local R12.1 start.
by using top command i found lot of Database users are running.
normally in other R12 instance only few Database users are available. can any
one tell me what might be the problem,, is it OS level issue or my Application
Issue.. where i have to start the tuning .
Kinldy advice me.
Thanks in Advance,
Abdul Hameed
REPLY
LINK
Vimal
Michael
LINK
have learned good programming practices before their skills are considered
acceptable). Other software, like the X server, still feels about the same as it did in
the eighties, despite todays machines being so much faster. And forget about
Windows!
REPLY
LINK
benjamin ngobi
wow these are great tools one should know.thank you so much coz it
just makes me better every day
REPLY
Mousin
LINK
krishna
LINK
Friends I have typed the corrected question here below. Please let me
know if you can help:
Part1 : Find out the system resources CPU Usage, Memory Usage, & How
many process are running currently in exact numbers?, what are the process?
Part2: Assume a process CACHE is running on the same system How many
files are opened by CACHE out of the total numbers found above?? what are the
files used by CACHE? Whats the virtual memory used by the process. What is the
current run level of the process.
Part3: How many users or terminals are accessing the process CACHE?
Part4: The script should run every 15secs with the time of execution & date of
script and the output should be given to a file richprocess in the same order as
that of the question.
Note: NO EXTERNAL TOOLS are allowed to be used with linux. Only shell script
should be written for the same!
REPLY
LINK
krishna
vasu
1) lshw
LINK
3) w user
REPLY
LINK
Ryan Barrett
ysha
LINK
thanks.. i love it
REPLY
LINK
Rohit Shrivastava
Very good for beginners as well as professional. Thank you very much
Sir for sharing your knowledge. I really appreciate.
REPLY
ctian
LINK
Michael
LINK
This is really helpful. I know these tools, but did not use them well. Many
LINK
PRADEEP
John
LINK
cant see nload on the list , easy showing of whats going on with your
network..
nload eth0 should show rest.
REPLY
Parthyz
LINK
LINK
Matias
Nice list. I would add LogWatch, to send daily reports to your mail.
REPLY
LINK
sasidaran
LINK
TiTiMan
LINK
vasu
top
REPLY
Me
LINK
LINK
Sachin Jain
chandu
LINK
LINK
Jalal Hajigholamali
Hi,
see manual page of iptables and get examples from google
REPLY
LINK
cypherb0g
useful stuff!
REPLY
LINK
sudipta
Liunx
LINK
Thats great!
thanks very much.
REPLY
LINK
foster
LINK
Jalaluddin
Hi
I want to learn linux firewall and file server from base.
Can u sujjest me, in which link i can get all those useful material.
Thank You
REPLY
LINK
Adil Husain
LINK
Bhanu Kashyap
LINK
Raivis
systemgraph http://www.decagon.de/sw/systemgraph/
Nice graphical system statistics RRDTool frontend which produces hourly, daily,
weekly, monthly graphs of various system data. At the moment it provides
graphs for memory usage, cpu info, cpu frequency, disk iostat, number of users,
number of processes, number of open files, number of tcp connections, system
load, network traffic, protocl statistic, harddisk/partition usage and temperatures,
privoxy proxy statistic, ntpdrift, fan status and system temperatures.
It is simple and it doesnt require snmp. It consists only of some shell and perl
scripts.
REPLY
LINK
Aviv.A
LINK
Laurens
LINK
Sravi Raj
Nice List
REPLY
andy
LINK
LINK
Tommie
LINK
nixCraft
To see a print version just append /print to the end of the url.
REPLY
LINK
GEORGE FAREED
thaaaaaaaaaaaanks alot :)
its useful informations :)
REPLY
LINK
apparao
Thanks
REPLY
LINK
kiran.somidi
traceroute
REPLY
LINK
kiran.somidi
LINK
Lalit Sharma
REPLY
LINK
amit lamba
LINK
Daniel Brasil
Very good post. Ive some problems trying to figure out historical data
about disk usage. I still dont know a good tool for that. sar is wonderful but its
unable to record disk usage per process. You know any tool for that?
REPLY
LINK
greg
most monitoring tools like nagios, cacti, and zabbix give you the
ability to trend your disk usage, and even alert at certain capacity points.
REPLY
jock
LINK
Its great, but im having a little inconvenient, i want to look the detail for a
process, exactly from apache, but the result is always the seem, any one have a
trick for see them? explaining better, i have a process from apache but not die, it
keep for a long time using the resource and overloading the machine, when i see
with a ps auxf the result is
apache 32327 85.7 0.5 261164 39036 ? R 22:49 0:49 \_ /usr/sbin/httpd
I want see wath is doing this process 32327 exactly, any idea?
REPLY
LINK
greg
you can try strace as mentioned in the tools and you can also look at
the files in /proc/PID/ (so /proc/32327 for you)
REPLY
eeb2
LINK
LINK
khupcom
LINK
LINK
x@y.com
thanks :)
REPLY
LINK
Peter Green
Great article, there are many great suggestions! I want to contribute with
these two:
GoAccess real-time Apache/nginx log analyzer and viewer, runs in a terminal in
*nix systems.
CCZE modular log colorizer
REPLY
LINK
cirrus
great post cuz , very informative for recent nix converts PCLinuxOS#1
REPLY
LINK
David Bothwell
I have just recently released my first open source project the Remote
Linux Monitor, which you can find at here . I modeled it on Gnomes System
Monitor and I would love get your feedback on it. Thanks.
REPLY
LINK
Ferenc Varga
REPLY
LINK
bishow
Unni
LINK
LINK
Gmaster
Great job in compiling all the utils in one nice post. Thank you very
much!
REPLY
Denis
LINK
LINK
manna
LINK
Dear Sir,
My Name is Govardhan Raju from TIRUPATI, ANDHRA PRADESH. working as a
linux (RHEL4) operator. I want to take data backup daily. Is there any posibility to
take todays date files only ? Please suggest me the commands which are useful
to take backup daily with syntax.
Thanking U Sir,
S Govardhan Raju
REPLY
LINK
Kash
LINK
bhaskar
Steve
LINK
I feel an important one is psacct.. Should have at least made the list.
Very useful to track what commands/users are eating cpu time.
REPLY
AL
LINK
There is another tool we use for system monitoring, its from IBM called
NMON pretty good tool, I recommend it.
AL
REPLY
LINK
sudhir menon
LINK
nishhhh
LINK
naveen
Dear all ,
I have deployed some 40 routers in the cafes,60 more in have to deploy in diff
region/areas.I want to monitor the Wifi routers sitting in one place.
I have connected Debian installed thin client to each router to provide internet to
the customers @ cafe,free browsing for 30 mins.
Can some one suggest me a tool for monitoring the Routers & my debian machine
performance.
Regards
Naveen C
REPLY
LINK
naveen
LTJX
LINK
Stan
LINK
Have you tried MRTG to monitor your routers. More for just
network
http://oss.oetiker.ch/mrtg/
REPLY
Eric
LINK
Great post! Some of these I never thought to use that way. When using
free I will often use the -m option to display in Mb. (Example: free -m)
REPLY
LINK
sudarshan
Hi Team,
I required to find the hardware information in linux, can you please advise.
I recieved alert as below:
Tivoli MINOR for : Accelerator board battery failed
thanks
sudarshan
REPLY
LINK
Prasad
Just do
# uname
for specific details do:
# uname help
REPLY
Navneet
LINK
Thanks Vivek,
For Posting this. It is very useful for Beginners as well.
Keep the Great work going on..
REPLY
LINK
Shreyansh Modi
Great Share :)
After using a few of these commands I am feeling like I am an Linux Operations
Engineer ;)
REPLY
Ravi
LINK
LINK
Michael
Your forgot monit (I dont care why it failed at 3a.m. just fix it and tell
me!) and collectd (just record how things are going over the months, without
freaky sar..)
Michael ;)
REPLY
LINK
Omar Osorio
lshw -short
REPLY
vvvv
LINK
LINK
oran00b
excellent and concise info. For people who are not dedicated Linux
Admin but need some tools to work with Linux, this is excellent!
REPLY
LINK
darkfader
Learn to use sar well and youll never need to use iostat, vmstat, etc.
REPLY
LINK
William G. Loughran
LINK
Vichuz
LINK
seema
pl help me
as i am new in linux i am copying a folder in
/filesystem/usr/local . form pen derive , but it is giving error msg no permission
pl help
REPLY
LINK
Sandeep
LINK
Praveen Reddy
Hi,
How to take data back in Linux Enterprise 6 daily basis and how to speed up
(refresh) in linux. is there any specific commands for this???
help me out of this
REPLY
Chetan
LINK
LINK
Don Saulo
netman
LINK
balwant
LINK
LINK
chinta
very usefull
REPLY
LINK
Carlos A. Junior
+1
Great postnow im think more prepared to find an strange memory usage on
apache server .
Great post.
REPLY
Anup
LINK
Nice job
REPLY
LINK
Richard Cain
LINK
Girijesh
very informative!!!
Thanks a ton.. :)
REPLY
LINK
Shekhar
What is tool to get All activity info. Like any user create/delete/move file
or directory information???
REPLY
LINK
Rahul
+100
REPLY
LINK
Hannes Dorn
xuedi
LINK
I would replace top with htop, it extents top with a much nicer ncurses
and lots of functions
REPLY
Bill
LINK
Great list, Shekhar For File Activity etc, I use vigil and vlog client to
create the logs
REPLY
LINK
Vishal
try one for tool to report network interfaces bandwith just like
vmstat/iostat
# ifstat
REPLY
LINK
Vishnuprasad
LINK
Vishnuprasad
LINK
Konstantin
LINK
jlarchev
Hi all,
A nice monitoring tool were using for years :
http://sysusage.darold.net
REPLY
LINK
pechalbata.com
LINK
Uday Vallamsetty
All of these are must have tools for doing any analysis/monitoring of
activity on Linux boxes. Thanks for collecting everything into a concise space.
REPLY
Lucy
LINK
Thank you for this great post is it very helpful for someone that is starting
out.
REPLY
LINK
peter
very useful article..im a reader of both nixcraft and cyberciti.. well done
REPLY
veera
LINK
sinlir
LINK
Very nice!
REPLY
LINK
wanie
Hi..
i would know about your opinioni must do the project about monitoring devices
availability
what the software in linux about this and i must editing the coding software.
REPLY
LINK
Ankit Srivastava
REPLY
LINK
Mayur
LINK
chandan
It helped me a lot.
Thanks a lot and even more.
REPLY
LINK
Shreehari
LINK
mohsin
TQ, Very helpful tips Just my $0.02; ETHERAPE for linux is a free
graphical tool http://etherape.sourceforge.net/ which is really helpful to help
monitor network traffic in a network segment. Many instances i managed to
pinpoint which PC/server is heavily broadcasting packets that caused network
slow-down.. tq
REPLY
LINK
nickchacha
LINK
Kristoffer
LINK
Thusitha Nuwan
LINK
Lukey
LINK
jasoncabahug
LINK
BinaryTides
LINK
Rajkumar kathane
hi
thank u for sharing ur knowledge very useful.
REPLY
LINK
erm3nda
when the host manager dont work? Who have to repair it? Is You and you will
need a real knowledge about whats on your hands :)
So many thanks again.
REPLY
vikas
LINK
dk
LINK
Ramesh
LINK
Excellent Article
REPLY
LINK
Piyush Dangodra
LINK
maltris
LINK
Mahesh Vakharia
LINK
tungdt
LINK
Thanks!!!
REPLY
LINK
Dev jha
wow.its cooooool
thank you very much.
REPLY
LINK
Vakharia Mahesh
LINK
Fahad
Excellent post!!
REPLY
Fuxy
LINK
LINK
Michiel Klaver
LINK
qdenker
Raj
LINK
Hi,
6.0 box using dpkg -i command. It was installed successfully. But I still do not find
the telnetd process under the ps -aef output.
How do I start the telnetd process automatically so that I can telnet to it from
Windows box?
Thanks.
REPLY
Jz
LINK
sani
LINK
Rajesh
LINK
REPLY
LINK
Bushmills
LINK
Leave a Comment
Name
Comment
instantly
Submit
Next post: Download Of the Day: Firefox 3.5 For Windows, Linux, Mac OS X
Previous post: My 10 UNIX Command Line Mistakes
2000-2016 nixCraft. All rights reserved. Privacy - Terms of Service - Questions or Comments