{"id":18529,"date":"2015-03-24T10:05:30","date_gmt":"2015-03-24T04:35:30","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=18529"},"modified":"2015-07-09T15:19:57","modified_gmt":"2015-07-09T09:49:57","slug":"introduction-to-sysdig-system-exploration-tool","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/introduction-to-sysdig-system-exploration-tool\/","title":{"rendered":"Introduction To Sysdig &#8211; System Exploration Tool"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><strong>Sysdig<\/strong> is a <strong>system exploration tool<\/strong> which can be used for system level monitoring of various machines or EC2 instances. It is an open source tool which captures system state and activity from a running Linux instance. The state is then saved, filtered and analysed to give calculated results. System level troubleshooting is very difficult when it is considered especially in distributed, virtualized, and cloud-based environments. <strong>Sysdig<\/strong> is used for system level troubleshooting as it offers various advantages and convenience to the users. Sysdig is used by tens of <a title=\"AWS Architects and Consultants\" href=\"http:\/\/www.tothenew.com\/devops-automation-consulting\">thousands of developers<\/a>, operations engineers, and system\/network\/security administrators around the world.<\/p>\n<h3 style=\"text-align: justify; color: #ff9900;\">Advantages of Sysdig<\/h3>\n<p>&nbsp;<\/p>\n<ul>\n<ul>\n<li><strong>Flexible -&gt;\u00a0<\/strong>There are different chisels available in Sysdig.\u00a0The ever growing chisel collection covers tons of troubleshooting, monitoring and security cases. There are different chisels for different level monitoring . Some examples of chisels in Sysdig are\u00a0<em>CPU Usage ,\u00a0Errors ,\u00a0I\/O ,\u00a0Logs ,\u00a0Misc ,\u00a0Net ,\u00a0Performance ,\u00a0Security ,\u00a0System State.<\/em><\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<ul>\n<li><strong>Fits to your Workflow -&gt;\u00a0<\/strong>The Sysdig monitoring fits to your workflow. Either you can perform real time monitoring of your machine or you can do a trace dump and analyze it later.<\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<ul>\n<li><strong>Cloud-Friendly -&gt;\u00a0<\/strong>Sysdig Tool is cloud-friendly as virtual machines get killed or just disppaer. You can store all the monitoring or exploration data in a dump and can analyze it later.<\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>Fast and Stable -&gt;\u00a0<\/strong>Sysdig is Fast and Stable as it is built to run in production and minimize crashes.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: justify; color: #ff9900;\">Usecases of Sysdig<\/h3>\n<p>Sysdig is a new, open source system troubleshooting tool that gives you unprecedented visibility into your Linux instance, with a natural and intuitive workflow. In reference to Amazon Web Services, we can use Sysdig to monitor different services such as <strong>Elastic Load Balancer(ELB)<\/strong> , <strong>Relational Database Service(RDS)<\/strong>, <strong>Elastic Compute Cloud (EC2)<\/strong> etc.<\/p>\n<p>Consider a usecase where the cause of increase in CPU utilization is to be find in a wordpress deployment architecture. Sysdig cloud will explain which module is causing it in just few seconds.<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_032.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-18530\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_032.png\" alt=\"Selection_032\" width=\"446\" height=\"158\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_033.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-18531\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_033.png\" alt=\"Selection_033\" width=\"439\" height=\"168\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_034.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-18532\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_034.png\" alt=\"Selection_034\" width=\"432\" height=\"244\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>It can be easily identified in the above use case that <strong>php5-fpm\u00a0<\/strong>module is the cause of increase in CPU Utilization.<\/p>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: justify; color: #ff9900;\">Installation Steps of Sysdig on Linux<\/h3>\n<p>To automatically install Sysdig on the Linux system, the following steps have to be performed on the terminal:<\/p>\n<p>[code]# curl -s https:\/\/s3.amazonaws.com\/download.draios.com\/stable\/install-sysdig | sudo bash<br \/>\n[\/code]<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_035.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-18535\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_035.png\" alt=\"Selection_035\" width=\"795\" height=\"213\" \/><\/a><\/p>\n<p>After the Installation, you can invoke Sysdig to confirm that Sysdig is working fine. To stop the continuosly moving terminal, you can press Ctrl+C to stop.<\/p>\n<p>[code]<br \/>\n# sysdig<br \/>\n[\/code]<\/p>\n<h3 style=\"text-align: justify; color: #ff9900;\">Checking Available Chisels<\/h3>\n<p>Chisel basically resembles a tool which is used to dig out. In terms of Sysdig, where the chisel is used to get some particular information about the system, various chisels are available. The following command is used to check different types of chisels in Sysdig:<\/p>\n<p>[code]<br \/>\n# sysdig -cl | less<br \/>\n[\/code]<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_036.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-18536\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/03\/Selection_036.png\" alt=\"Selection_036\" width=\"517\" height=\"243\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: justify; color: #ff9900;\">Detailed information about particular chisel<\/h3>\n<p>&nbsp;<\/p>\n<p>[code]<br \/>\n# sysdig -i [chisel_name]<br \/>\n[\/code]<\/p>\n<p>The complete details about <strong>Introduction To Sysdig &#8211; System Exploration Tool<\/strong><em> has been detailed.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Sysdig is a system exploration tool which can be used for system level monitoring of various machines or EC2 instances. It is an open source tool which captures system state and activity from a running Linux instance. The state is then saved, filtered and analysed to give calculated results. System level troubleshooting is very [&hellip;]<\/p>\n","protected":false},"author":163,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":5},"categories":[1174],"tags":[1718,1722,1719,1721,1720],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/18529"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/163"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=18529"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/18529\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=18529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=18529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=18529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}