SlideShare a Scribd company logo
1 of 19
Download to read offline
GNU/Linux Monitoring Tools
2
Operating systems control our
hardware and run our applications on
them, how can we monitor linux
operating system?
3
When we speak about monitoring it's
the matter of all hardwares and users.
users
CPU
Memory
Storage
Ethernet
4
The slides below will describe the
very common command line basic
tools for monitoring.
5
ps Command
The ps will provide you
a list of processes
currently running. There
is a wide variety of
options that this
command gives you.
6
pstree Command
This command will give
you a hierarchy of
current processes of the
CPU regarding to their
parent process.
7
top Command
The most common of
Monitoring commands is
top. The top will display
a continually updating
report of system
resource usage.
8
tcpdump Command
Tcpdump one of the most widely used command-line network packet analyzer
or packets sniffer program that is used capture or filter TCP/IP packets that
received or transferred on a specific interface over a network.
9
vmstat Command
The vmstat command will provide a report showing
statistics for system processes, memory, swap, I/O, and
the CPU. These statistics are generated using data from
the last time the command was run to the present.
10
iftop Command
iftop listens to network traffic on a named interface, or on
the first interface it can find which looks like an external
interface if none is specified, and displays a table of
current bandwidth usage by pairs of hosts.
11
iostat Command
The iostat will display the current CPU load average and disk I/O
information. This is a great command to monitor your disk I/O
usage.
12
lsof Command
The lsof command
will print out a list of
every file that is in
use.
13
du Command
To view usage by a
directory or file you can
use du. Unless you
specify a filename du
will act recursively.
14
netstat Command
Netstat is a command line
tool for monitoring incoming
and outgoing network
packets statistics as well as
interface statistics. It is very
useful tool for every system
administrator to monitor
network performance and
troubleshoot network related
problems.
15
df Command
The df is the simplest tool available to view disk usage.
Simply type in df and you'll be shown disk usage for all
your mounted filesystems in 1K blocks
16
iotop Command
iotop is also much similar to
top command and Htop
program, but it has
accounting function to
monitor and display real time
Disk I/O and processes. This
tool is much useful for
finding the exact process
and high used disk
read/writes of the processes.
17
who Command
The easiest way to see
who is on the system is to
do a who or w.
18
It is important that what is going on around us.
Finish
http://linux.org
http://gnu.org
http://xamin.ir
19
● [1] http://tldp.org - The Linux System Administrator's Guide
● [2] http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
● [3] http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/top-output
References

More Related Content

What's hot

Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linuxshravan saini
 
Linux ppt
Linux pptLinux ppt
Linux pptlincy21
 
Course 102: Lecture 22: Package Management
Course 102: Lecture 22: Package Management Course 102: Lecture 22: Package Management
Course 102: Lecture 22: Package Management Ahmed El-Arabawy
 
Linux command ppt
Linux command pptLinux command ppt
Linux command pptkalyanineve
 
Course 102: Lecture 18: Process Life Cycle
Course 102: Lecture 18: Process Life CycleCourse 102: Lecture 18: Process Life Cycle
Course 102: Lecture 18: Process Life CycleAhmed El-Arabawy
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Common linux ubuntu commands overview
Common linux  ubuntu commands overviewCommon linux  ubuntu commands overview
Common linux ubuntu commands overviewAmeer Sameer
 
Linux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job SchedulingLinux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job SchedulingKenny (netman)
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating Systemsubhsikha
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemSadia Bashir
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linuxPapu Kumar
 

What's hot (20)

Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linux
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Course 102: Lecture 22: Package Management
Course 102: Lecture 22: Package Management Course 102: Lecture 22: Package Management
Course 102: Lecture 22: Package Management
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Course 102: Lecture 18: Process Life Cycle
Course 102: Lecture 18: Process Life CycleCourse 102: Lecture 18: Process Life Cycle
Course 102: Lecture 18: Process Life Cycle
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Common linux ubuntu commands overview
Common linux  ubuntu commands overviewCommon linux  ubuntu commands overview
Common linux ubuntu commands overview
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Linux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job SchedulingLinux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job Scheduling
 
User management
User managementUser management
User management
 
Process scheduling linux
Process scheduling linuxProcess scheduling linux
Process scheduling linux
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Shell Scripting
Shell ScriptingShell Scripting
Shell Scripting
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
 
Unix seminar
Unix seminarUnix seminar
Unix seminar
 
Linux networking
Linux networkingLinux networking
Linux networking
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linux
 

Viewers also liked

Linux monitoring and Troubleshooting for DBA's
Linux monitoring and Troubleshooting for DBA'sLinux monitoring and Troubleshooting for DBA's
Linux monitoring and Troubleshooting for DBA'sMydbops
 
Instalasi Ubuntu 16.04 (Xenial Xerus)
Instalasi Ubuntu 16.04 (Xenial Xerus)Instalasi Ubuntu 16.04 (Xenial Xerus)
Instalasi Ubuntu 16.04 (Xenial Xerus)anafatwa21
 
Install ubuntu
Install ubuntuInstall ubuntu
Install ubuntupramoddps
 
Perfomance Tuning, Monitoring, Management: Getting the Most from SUSE Linux E...
Perfomance Tuning, Monitoring, Management: Getting the Most from SUSE Linux E...Perfomance Tuning, Monitoring, Management: Getting the Most from SUSE Linux E...
Perfomance Tuning, Monitoring, Management: Getting the Most from SUSE Linux E...Novell
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux TroubleshootingKeith Wright
 
五年級花瓶設計第二堂教案
五年級花瓶設計第二堂教案五年級花瓶設計第二堂教案
五年級花瓶設計第二堂教案pang wai ming
 
P point26jul woestijn badain jaran in china
P point26jul woestijn badain jaran in chinaP point26jul woestijn badain jaran in china
P point26jul woestijn badain jaran in chinaRCLVG
 
India Infoline November 18, 2014
India Infoline November 18, 2014India Infoline November 18, 2014
India Infoline November 18, 2014BalmerLawrie
 
Weekly media update 17.10.2016
Weekly media update 17.10.2016Weekly media update 17.10.2016
Weekly media update 17.10.2016BalmerLawrie
 
Actividades de-lectoescritura-05
Actividades de-lectoescritura-05Actividades de-lectoescritura-05
Actividades de-lectoescritura-05EDITH LLERENA
 

Viewers also liked (16)

Linux monitoring and Troubleshooting for DBA's
Linux monitoring and Troubleshooting for DBA'sLinux monitoring and Troubleshooting for DBA's
Linux monitoring and Troubleshooting for DBA's
 
Instalasi Ubuntu 16.04 (Xenial Xerus)
Instalasi Ubuntu 16.04 (Xenial Xerus)Instalasi Ubuntu 16.04 (Xenial Xerus)
Instalasi Ubuntu 16.04 (Xenial Xerus)
 
Linux monitoring
Linux monitoringLinux monitoring
Linux monitoring
 
Ubuntu 16.04
Ubuntu 16.04Ubuntu 16.04
Ubuntu 16.04
 
Install ubuntu
Install ubuntuInstall ubuntu
Install ubuntu
 
Perfomance Tuning, Monitoring, Management: Getting the Most from SUSE Linux E...
Perfomance Tuning, Monitoring, Management: Getting the Most from SUSE Linux E...Perfomance Tuning, Monitoring, Management: Getting the Most from SUSE Linux E...
Perfomance Tuning, Monitoring, Management: Getting the Most from SUSE Linux E...
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux Troubleshooting
 
五年級花瓶設計第二堂教案
五年級花瓶設計第二堂教案五年級花瓶設計第二堂教案
五年級花瓶設計第二堂教案
 
P point26jul woestijn badain jaran in china
P point26jul woestijn badain jaran in chinaP point26jul woestijn badain jaran in china
P point26jul woestijn badain jaran in china
 
India Infoline November 18, 2014
India Infoline November 18, 2014India Infoline November 18, 2014
India Infoline November 18, 2014
 
Weekly media update 17.10.2016
Weekly media update 17.10.2016Weekly media update 17.10.2016
Weekly media update 17.10.2016
 
Actividades de-lectoescritura-05
Actividades de-lectoescritura-05Actividades de-lectoescritura-05
Actividades de-lectoescritura-05
 
Blog 04.2015
Blog   04.2015Blog   04.2015
Blog 04.2015
 
3 d 5&6_ppt
3 d 5&6_ppt3 d 5&6_ppt
3 d 5&6_ppt
 
Python at a glance
Python at a glancePython at a glance
Python at a glance
 
Blog 02.2015 - c
Blog   02.2015 - cBlog   02.2015 - c
Blog 02.2015 - c
 

Similar to Linux System Monitoring basic commands

Managing the system and network connection Linux
Managing the system and network connection LinuxManaging the system and network connection Linux
Managing the system and network connection LinuxShriharsh Shendre
 
operating system
operating systemoperating system
operating systemIbbad shah
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubDevang Garach
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboardsDenis Ristic
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsMeenalJabde
 
It04 roshan basnet
It04 roshan basnetIt04 roshan basnet
It04 roshan basnetrosu555
 
LOS Micro project ppt.pptx
LOS Micro project ppt.pptxLOS Micro project ppt.pptx
LOS Micro project ppt.pptxThorOdinson55
 
10 windows 7 commands every administrator should know
10 windows 7 commands every administrator should know10 windows 7 commands every administrator should know
10 windows 7 commands every administrator should knowRavi Kumar Lanke
 
Linux Basic Networking Command
Linux Basic Networking CommandLinux Basic Networking Command
Linux Basic Networking CommandAkhil Nadh PC
 
L-3 BCE OS FINAL.ppt
L-3 BCE OS FINAL.pptL-3 BCE OS FINAL.ppt
L-3 BCE OS FINAL.pptKirti Verma
 

Similar to Linux System Monitoring basic commands (20)

Managing the system and network connection Linux
Managing the system and network connection LinuxManaging the system and network connection Linux
Managing the system and network connection Linux
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux commands
Linux commandsLinux commands
Linux commands
 
operating system
operating systemoperating system
operating system
 
03 linuxfirewall1
03 linuxfirewall103 linuxfirewall1
03 linuxfirewall1
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and Github
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix Concepts
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
It04 roshan basnet
It04 roshan basnetIt04 roshan basnet
It04 roshan basnet
 
Backtrack Manual Part8
Backtrack Manual Part8Backtrack Manual Part8
Backtrack Manual Part8
 
LOS Micro project ppt.pptx
LOS Micro project ppt.pptxLOS Micro project ppt.pptx
LOS Micro project ppt.pptx
 
10 windows 7 commands every administrator should know
10 windows 7 commands every administrator should know10 windows 7 commands every administrator should know
10 windows 7 commands every administrator should know
 
Unix1
Unix1Unix1
Unix1
 
Linux Basic Networking Command
Linux Basic Networking CommandLinux Basic Networking Command
Linux Basic Networking Command
 
L-3 BCE OS FINAL.ppt
L-3 BCE OS FINAL.pptL-3 BCE OS FINAL.ppt
L-3 BCE OS FINAL.ppt
 
Linuxnetworkingcommands
LinuxnetworkingcommandsLinuxnetworkingcommands
Linuxnetworkingcommands
 

Recently uploaded

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 

Recently uploaded (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 

Linux System Monitoring basic commands

  • 2. 2 Operating systems control our hardware and run our applications on them, how can we monitor linux operating system?
  • 3. 3 When we speak about monitoring it's the matter of all hardwares and users. users CPU Memory Storage Ethernet
  • 4. 4 The slides below will describe the very common command line basic tools for monitoring.
  • 5. 5 ps Command The ps will provide you a list of processes currently running. There is a wide variety of options that this command gives you.
  • 6. 6 pstree Command This command will give you a hierarchy of current processes of the CPU regarding to their parent process.
  • 7. 7 top Command The most common of Monitoring commands is top. The top will display a continually updating report of system resource usage.
  • 8. 8 tcpdump Command Tcpdump one of the most widely used command-line network packet analyzer or packets sniffer program that is used capture or filter TCP/IP packets that received or transferred on a specific interface over a network.
  • 9. 9 vmstat Command The vmstat command will provide a report showing statistics for system processes, memory, swap, I/O, and the CPU. These statistics are generated using data from the last time the command was run to the present.
  • 10. 10 iftop Command iftop listens to network traffic on a named interface, or on the first interface it can find which looks like an external interface if none is specified, and displays a table of current bandwidth usage by pairs of hosts.
  • 11. 11 iostat Command The iostat will display the current CPU load average and disk I/O information. This is a great command to monitor your disk I/O usage.
  • 12. 12 lsof Command The lsof command will print out a list of every file that is in use.
  • 13. 13 du Command To view usage by a directory or file you can use du. Unless you specify a filename du will act recursively.
  • 14. 14 netstat Command Netstat is a command line tool for monitoring incoming and outgoing network packets statistics as well as interface statistics. It is very useful tool for every system administrator to monitor network performance and troubleshoot network related problems.
  • 15. 15 df Command The df is the simplest tool available to view disk usage. Simply type in df and you'll be shown disk usage for all your mounted filesystems in 1K blocks
  • 16. 16 iotop Command iotop is also much similar to top command and Htop program, but it has accounting function to monitor and display real time Disk I/O and processes. This tool is much useful for finding the exact process and high used disk read/writes of the processes.
  • 17. 17 who Command The easiest way to see who is on the system is to do a who or w.
  • 18. 18 It is important that what is going on around us. Finish http://linux.org http://gnu.org http://xamin.ir
  • 19. 19 ● [1] http://tldp.org - The Linux System Administrator's Guide ● [2] http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/ ● [3] http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/top-output References