SlideShare a Scribd company logo
Ramit Surana
@ramitsurana
/in/ramitsurana
Agenda
• Introduction to sysdig.
• Filtering
• Output Formatting
• Chisels
• Implementing Chisels
• Introducing Csysdig
• The Integrations
• Sysdig Conventions
• Sysdig Installation
Who am I ?
• Open Source Tech Enthusiastic .
• Foodie,Traveler.
• Join me Here :
• Email:ramitsurana@gmail.com
Twitter: @ramitsurana
Linkedin: /in/ramitsurana
Github:ramitsurana
What is Sysdig ?
• New dynamic tracer for Linux,
inspired by strace, dtrace, and
tcpdump.
• In short: strace + tcpdump +
htop + iftop + lsof + awesome
sauce
Sysdig Architecture
Hello Sysdig
• Some end of line arguments:
• evt.num is the incremental event number
• evt.time is the event timestamp
• evt.cpu is the CPU number where the event was captured
• proc.name is the name of the process that generated the event
• thread.tid is the TID that generated the event, which corresponds
to the PID for single thread processes
• evt.dir is the event direction, > for enter events and < for exit
events
• evt.type is the name of the event, e.g. 'open' or 'read'
• evt.args is the list of event arguments..
Filtering
• It is powerful and versatile, and is designed to look for needles in a
haystack.
• Filters are specified at the end of the command line, like in tcpdump, and
can be applied to both a live capture or a trace file.
• Filter statements can use the standard comparison operators(=, !=, <, <=, >,
>=, contains) and can be combined using Boolean operators (and, or and
not) and brackets.
• To list available filters: sysdig -l
• Some common filters & there usage:
• fd.name: To filter events for a specific file name
• proc.name: To capture all of the events for a specific process
Output Formatting
• It is powerful and versatile, it is designed to look for needles in a
haystack.
• Filters are specified at the end of the command line, like in tcpdump,
and can be applied to both a live capture or a trace file.
• Filter statements can use the standard comparison operators(=, !=, <,
<=, >, >=, contains) and can be combined using Boolean operators
(and, or and not) and brackets.
Chisels
• These are little scripts that analyze the
sysdig event stream to perform useful
actions.
• A well known scripting language can
be used instead of a custom one. In
fact, sysdig’s chisels are Lua scripts.
Lua is well known, powerful, stable
and extremely efficient.
• Chisels can leverage the broad
collection of Lua libraries.
• Chisels work well on live systems, but
can also be used with trace files for
offline analysis.
Implementing Chisels
• To run a chisel: sysdig -c <name of chisel>
• To display available chisels: sysdig -cl
• To give a small description of the chisels: sysdig -i <name of
chisel>
Introducing Csysdig
• It exports sysdig's functionality through an intuitive and powerful
ncurses-based user interface.
• It supports many features such as :
• Support for both live analysis and sysdig trace files. Trace files can
come from the same machine or from another machine.
• Visibility into a broad range of metrics, including CPU, memory,
disk I/O, network I/O.
• Ability to observe input/output activity for processes, files,
network connections and more.
• Ability to drill down into processes, files, network connections and
more to further explore their behavior.
• Support for sysdig's filtering language.
• Container support by design.
The Integrations
• Ansible
• Puppet Labs
• Elastic Search
And many more
Sysdig Covention
• Rules for committing code on
Github in C++.
• Rules and instructions available
at
https://github.com/draios/sysdig
/blob/master/coding_conventio
ns.md.
Sysdig Installation
• Trust the Draios GPG key, configure the yum repository:
rpm --import
https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-
KEY.public
curl -s -o /etc/yum.repos.d/draios.repo
http://download.draios.com/stable/rpm/draios.repo
• Install the EPEL repo:
rpm -i http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-
8.noarch.rpm
• Install the Kernel Header:
yum -y install kernel-devel-$(uname -r)
Questions ?
Please Contribute !!
Github.com/draios/sysdig
Thank You
Like it,Share it !!

More Related Content

PDF
Sysdig
PPTX
ContainerCon sysdig Slides
PPTX
Introducing Docker Swarm - the orchestration tool by Docker
PPTX
Sysdig Monitorama Slides
PPTX
CoreOS: The Inside and Outside of Linux Containers
PDF
Fluentd and docker monitoring
PPTX
Container Monitoring with Sysdig
PDF
WTF my container just spawned a shell!
Sysdig
ContainerCon sysdig Slides
Introducing Docker Swarm - the orchestration tool by Docker
Sysdig Monitorama Slides
CoreOS: The Inside and Outside of Linux Containers
Fluentd and docker monitoring
Container Monitoring with Sysdig
WTF my container just spawned a shell!

What's hot (20)

PDF
Atomic CLI scan
PDF
Tupperware: Containerized Deployment at FB
PDF
OpenStack Swift production deployments
PPTX
Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera
PPTX
Hashicorp: Delivering the Tao of DevOps
PDF
Swift Install Workshop - OpenStack Conference Spring 2012
PDF
Behavioural activity monitoring on CoreOS with Sysdig Falco
PDF
Docker: Behind the API
PDF
Shipping python project by docker
PDF
Trace everything, when APM meets SysAdmins
PDF
Docker serverless v1.0
PDF
Project Atomic-Nulecule
PPTX
Docker practical solutions
PPTX
Cgroups, namespaces and beyond: what are containers made from?
PDF
Securing the Container Pipeline at Salesforce by Cem Gurkok
PDF
What's New in Docker 1.12?
PDF
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
PDF
Unikernels and docker from revolution to evolution — unikernels and docker ...
PPTX
Docker 1.5
PPTX
Containers and Cloud: From LXC to Docker to Kubernetes
Atomic CLI scan
Tupperware: Containerized Deployment at FB
OpenStack Swift production deployments
Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera
Hashicorp: Delivering the Tao of DevOps
Swift Install Workshop - OpenStack Conference Spring 2012
Behavioural activity monitoring on CoreOS with Sysdig Falco
Docker: Behind the API
Shipping python project by docker
Trace everything, when APM meets SysAdmins
Docker serverless v1.0
Project Atomic-Nulecule
Docker practical solutions
Cgroups, namespaces and beyond: what are containers made from?
Securing the Container Pipeline at Salesforce by Cem Gurkok
What's New in Docker 1.12?
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Unikernels and docker from revolution to evolution — unikernels and docker ...
Docker 1.5
Containers and Cloud: From LXC to Docker to Kubernetes
Ad

Similar to Sysdig - Introducing a new definition of Monitoring (20)

PPTX
Sysdig Meetup - San Francisco, December 2014
PDF
Extending Sysdig with Chisel
PPTX
Performance analysis and troubleshooting using DTrace
PDF
Sysdig Tokyo Meetup 2018 02-27
PDF
Sysdig Open Source Intro
PDF
Monitorama 2015 Netflix Instance Analysis
PDF
Protecting confidential files using SE-Linux
PDF
Solaris DTrace, An Introduction
PPTX
10 Tips for AIX Security
PPT
Windows internals
PDF
Découvrir dtrace en ligne de commande.
PDF
Server Tips
PDF
Threads operating system slides easy understand
ODP
Fedora Developer's Conference 2014 Talk
PPT
Live Memory Forensics on Android devices
PDF
Automation: from local test to production deploy - 2020-11-05
PDF
Systemd: the modern Linux init system you will learn to love
PPTX
Hacker Halted 2014 - RDP Fuzzing And Why the Microsoft Open Protocol Specific...
PDF
Serving Deep Learning Models At Scale With RedisAI: Luca Antiga
PPTX
Advanced windows debugging
Sysdig Meetup - San Francisco, December 2014
Extending Sysdig with Chisel
Performance analysis and troubleshooting using DTrace
Sysdig Tokyo Meetup 2018 02-27
Sysdig Open Source Intro
Monitorama 2015 Netflix Instance Analysis
Protecting confidential files using SE-Linux
Solaris DTrace, An Introduction
10 Tips for AIX Security
Windows internals
Découvrir dtrace en ligne de commande.
Server Tips
Threads operating system slides easy understand
Fedora Developer's Conference 2014 Talk
Live Memory Forensics on Android devices
Automation: from local test to production deploy - 2020-11-05
Systemd: the modern Linux init system you will learn to love
Hacker Halted 2014 - RDP Fuzzing And Why the Microsoft Open Protocol Specific...
Serving Deep Learning Models At Scale With RedisAI: Luca Antiga
Advanced windows debugging
Ad

More from Ramit Surana (15)

PDF
Using Serverless Architectures to build and provision modern infrastructures​
PDF
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS​
PDF
Introducing Vault
PDF
Getting Started with Consul
PDF
Building Digital Transaction Systems in the new Banking World
PDF
Building Big Architectures XP Conference 2016
PDF
Dependency management in golang
PPTX
Building Big Architectures
PDF
Achieving CI/CD with Kubernetes
PPTX
Docker for the new Era: Introducing Docker,its components and tools
PPTX
A brief study on Kubernetes and its components
PPTX
Introducing Puppet - The faster speed of Automation
PPTX
Introducing Chef | An IT automation for speed and awesomeness
PPTX
Canister
PPT
Exploring Openstack Swift(Object Storage) and Swiftstack
Using Serverless Architectures to build and provision modern infrastructures​
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS​
Introducing Vault
Getting Started with Consul
Building Digital Transaction Systems in the new Banking World
Building Big Architectures XP Conference 2016
Dependency management in golang
Building Big Architectures
Achieving CI/CD with Kubernetes
Docker for the new Era: Introducing Docker,its components and tools
A brief study on Kubernetes and its components
Introducing Puppet - The faster speed of Automation
Introducing Chef | An IT automation for speed and awesomeness
Canister
Exploring Openstack Swift(Object Storage) and Swiftstack

Recently uploaded (20)

PPTX
Essential Infomation Tech presentation.pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Introduction to Artificial Intelligence
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Transform Your Business with a Software ERP System
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Essential Infomation Tech presentation.pptx
Wondershare Filmora 15 Crack With Activation Key [2025
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
How Creative Agencies Leverage Project Management Software.pdf
Softaken Excel to vCard Converter Software.pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Introduction to Artificial Intelligence
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Internet Downloader Manager (IDM) Crack 6.42 Build 41
VVF-Customer-Presentation2025-Ver1.9.pptx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Transform Your Business with a Software ERP System
Design an Analysis of Algorithms II-SECS-1021-03
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
CHAPTER 2 - PM Management and IT Context
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Adobe Illustrator 28.6 Crack My Vision of Vector Design

Sysdig - Introducing a new definition of Monitoring

  • 2. Agenda • Introduction to sysdig. • Filtering • Output Formatting • Chisels • Implementing Chisels • Introducing Csysdig • The Integrations • Sysdig Conventions • Sysdig Installation
  • 3. Who am I ? • Open Source Tech Enthusiastic . • Foodie,Traveler. • Join me Here : • Email:ramitsurana@gmail.com Twitter: @ramitsurana Linkedin: /in/ramitsurana Github:ramitsurana
  • 4. What is Sysdig ? • New dynamic tracer for Linux, inspired by strace, dtrace, and tcpdump. • In short: strace + tcpdump + htop + iftop + lsof + awesome sauce
  • 6. Hello Sysdig • Some end of line arguments: • evt.num is the incremental event number • evt.time is the event timestamp • evt.cpu is the CPU number where the event was captured • proc.name is the name of the process that generated the event • thread.tid is the TID that generated the event, which corresponds to the PID for single thread processes • evt.dir is the event direction, > for enter events and < for exit events • evt.type is the name of the event, e.g. 'open' or 'read' • evt.args is the list of event arguments..
  • 7. Filtering • It is powerful and versatile, and is designed to look for needles in a haystack. • Filters are specified at the end of the command line, like in tcpdump, and can be applied to both a live capture or a trace file. • Filter statements can use the standard comparison operators(=, !=, <, <=, >, >=, contains) and can be combined using Boolean operators (and, or and not) and brackets. • To list available filters: sysdig -l • Some common filters & there usage: • fd.name: To filter events for a specific file name • proc.name: To capture all of the events for a specific process
  • 8. Output Formatting • It is powerful and versatile, it is designed to look for needles in a haystack. • Filters are specified at the end of the command line, like in tcpdump, and can be applied to both a live capture or a trace file. • Filter statements can use the standard comparison operators(=, !=, <, <=, >, >=, contains) and can be combined using Boolean operators (and, or and not) and brackets.
  • 9. Chisels • These are little scripts that analyze the sysdig event stream to perform useful actions. • A well known scripting language can be used instead of a custom one. In fact, sysdig’s chisels are Lua scripts. Lua is well known, powerful, stable and extremely efficient. • Chisels can leverage the broad collection of Lua libraries. • Chisels work well on live systems, but can also be used with trace files for offline analysis.
  • 10. Implementing Chisels • To run a chisel: sysdig -c <name of chisel> • To display available chisels: sysdig -cl • To give a small description of the chisels: sysdig -i <name of chisel>
  • 11. Introducing Csysdig • It exports sysdig's functionality through an intuitive and powerful ncurses-based user interface. • It supports many features such as : • Support for both live analysis and sysdig trace files. Trace files can come from the same machine or from another machine. • Visibility into a broad range of metrics, including CPU, memory, disk I/O, network I/O. • Ability to observe input/output activity for processes, files, network connections and more. • Ability to drill down into processes, files, network connections and more to further explore their behavior. • Support for sysdig's filtering language. • Container support by design.
  • 12. The Integrations • Ansible • Puppet Labs • Elastic Search And many more
  • 13. Sysdig Covention • Rules for committing code on Github in C++. • Rules and instructions available at https://github.com/draios/sysdig /blob/master/coding_conventio ns.md.
  • 14. Sysdig Installation • Trust the Draios GPG key, configure the yum repository: rpm --import https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG- KEY.public curl -s -o /etc/yum.repos.d/draios.repo http://download.draios.com/stable/rpm/draios.repo • Install the EPEL repo: rpm -i http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6- 8.noarch.rpm • Install the Kernel Header: yum -y install kernel-devel-$(uname -r)