HN user

degio

468 karma

Software developer, hacker and entrepreneur. Creator of sysdig. Founder of CACE (the company behind Wireshark) and sysdig inc. (the company behind sysdig).

@lorisdegio

Posts30
Comments31
View on HN
www.youtube.com 6y ago

The Logistic Map

degio
1pts0
gizmodo.com 8y ago

Man’s YouTube Video of White Noise Hit with Five Copyright Claims

degio
6pts0
www.nytimes.com 9y ago

A visual comparison of 2015 and 2017 snow packs in California

degio
2pts0
sysdig.com 9y ago

When APM fails: A 502 troubleshooting tale

degio
3pts0
backreaction.blogspot.com 9y ago

The LHC “nightmare scenario” has come true

degio
27pts15
github.com 10y ago

Docker Stacks and Distributed Application Bundles

degio
19pts1
github.com 10y ago

Docker open sources datakit

degio
3pts0
gpsdoodles.com 10y ago

Sketchbook of a GPS artist

degio
1pts0
sysdig.com 10y ago

Rkt Monitoring and Troubleshooting in Production

degio
1pts0
tectonic.com 10y ago

CoreOS Announcing Distributed Trusted Computing

degio
2pts0
www.engadget.com 10y ago

Twitter noob Snowden gets hammered with 47GB of notification emails

degio
1pts0
github.com 10y ago

Share your terminal as a web application

degio
1pts0
www.bothsidesofthetable.com 10y ago

Most startups should be deer hunters

degio
1pts0
www.google.com 11y ago

Google street view on El Capitan

degio
1pts0
docker.com 11y ago

Docker announces experimental releases

degio
6pts0
sysdig.com 11y ago

A better way to collect StatsD metrics from containers

degio
1pts0
sysdigcloud.com 11y ago

Show HN: Sysdig introduces deep visibility into containers

degio
31pts1
sysdigcloud.com 11y ago

Visualizing AWS Storage with Real-Time Latency Spectrograms

degio
109pts16
sysdigcloud.com 11y ago

The Fascinating World of Linux System Calls

degio
17pts0
kottke.org 11y ago

How to fold the world's best paper airplane

degio
1pts0
www.digilife.be 11y ago

LINUX System Call Quick Reference [pdf]

degio
25pts2
aws.amazon.com 11y ago

Event Notifications for Amazon S3

degio
61pts20
aws.amazon.com 11y ago

Amazon Announces EC2 Container Service (ECS)

degio
2pts0
draios.com 11y ago

Sysdig Logs: Advanced Log Analysis Made Easy

degio
1pts0
medium.com 11y ago

Some humble advice on pitching your startup

degio
2pts0
draios.com 12y ago

Getting Started with Sysdig: A Video Introduction

degio
5pts0
www.businessinsider.com 12y ago

MS defends corporate customer from the FBI

degio
5pts0
www.businessinsider.com 12y ago

Insane San Francisco home sale

degio
1pts0
google-styleguide.googlecode.com 12y ago

Google C++ style guide

degio
39pts54
github.com 12y ago

Show HN: Sysdig, a tool for Linux system exploration

degio
171pts48

(one of the authors here)

Yes, this currently emits to file or syslog and you need to take care of the alerting. Of course, this is the very initial release and we plan to improve it. If you have a specific need or idea, feel free to open an issue or let us know on the mailing list.

by the way, I can find a million alternative cloud based photo services, all with comparable features. On the other hand, there are very few desktop picture managers, especially on windows and linux.

One of the tool authors here. The answer is "it depends". We absolutely designed sysdig and csysdig to work on production systems. They both work by capturing system events, so their cpu usage depends on the number of system calls in the system. On machines with average workloads, I would expect csysdig's CPU usage to be comparable or slighly lower than htop. On machines that do a lot I/O, the CPU will probably be higher. Memeory usage is typically some tens of megabytes.

OP here. Unfortunately the ansi palette is pretty limited so I didn't have a lot of flexibility in the color choice. That said, this can definitely be improved. I can work on it if people find it useful.

In the meantime, it's very easy to tune the colors your own: just modify this line https://github.com/draios/sysdig/blob/master/userspace/sysdi... in your local version of the script, using this as a reference http://misc.flogisoft.com/_media/bash/colors_format/256_colo....

I found reading these comments very interesting.

From one point of view, I'm thinking "why did coreos need to be so aggressive?", and "boy, what a gift Solomon Hykes did to coreos by mismanaging this thing so badly", and "man, all of these guys look sort of immature to me".

From the other point of view, I'm respecting docker and coreos even more, as open source projects and as a companies, because it feels like there are real people behind them.

If this is the new wave of enterprise companies, I really like it. These are people like us, that engage with us and sometimes screw up, without hiding it. They are doing great things, and the fact that they are a bit immature is actually great.

I'm an entrepreneur myself, I've done enterprise software my whole life, and I always thought it's a shame that companies in this space are so distant from their users and have such little humanity.

Looks like things are changing.

It's interesting how most of the comments focus on the technical aspects of what the guy built.

What I found interesting and inspiring is the time and passion that he puts in what he does. I really hope to still have something that makes me so passionate when I will be 72. It's a great way to live your life.

I'm one of of the sysdig creators. Sysdig is a pretty young project (we released it around a month ago), so I can't promise it will be flawless in a production environment. However, we've had many installations under several different environments, and during the month after the release we had extremely few crash reports, which we've worked to fix right away.

Of course, we create and update the state by inspecting the incoming stream of system calls. We traverse proc only once, when you start a capture, and the reason to do that is collecting info for the PIDs/FDs that existed before we start the system call collection. That way, you can for example create a filter on the IP address of a socket even if that socket was created before sysdig started.

Brendan, thanks for the feedback. It's really cool to hear comments like this from someone like you. We really respect your work in the field.

Good catch on topprocs_file, we'll have to find a better name for it.

In terms of overhead, we put a lot of effort in it and, as you pointed out, we're already extremely optimized. But we think we can do even better. For example, we don't have any kind of kernel-level filtering yet. Coming soon! :)

The design is actually quite different.

From the architectural point of view, sysdig is closer to tcpdump/wireshark than to systemtap/ktap.

systemtap/ktap work similarly to dtrace: - a script is loaded into a user level process - the process compiles the script and dispatches it to a kernel module - the kernel module hooks the script into specific places in the kernel - the kernel module sends the results back to userspace where the user can see them

sysdig works this way: - the kernel module hooks into specific places in the kernel (using tracepoints), captures everything, and puts it into a shared memory buffer - the buffer is accessed from the user-level sysdig process that reconstructs state (so it knows that fd 23 means /etc/passwd) - filtering is applied - scripting in Lua is applied - the whole thing is optionally saved to disk so you can analyze later

Both approaches have pros and cons. We think that the sysdig approach creates a more natural workflow, ideal for troubleshooting and system administration tasks. Plus, writing scripts in Lua, with access to its rich libraries, is quite fun. :)

I want to give more details in a future blog post, so stay tuned.

dtrace and any other instrumentation tool for linux require a kernel module as well. Ours has the advantage of being very simple and (in theory!) more stable, because decoding, filtering and scripting run at user level, so you have less chances to crash the kernel.

I would also like to point out that the sysdig workflow is quite different from the drace one. In addition to supporting real-time investigation, sysdig lets you take a rich "snapshot" of the machine activity that you can analyzer later. From this point of view, I don't think sysdig is less powerful than dtrace. Quite the opposite. But we're eager to know what you think.

Thanks.

To answer the question "what it does and how", sysdig captures system calls and other system level events using a linux kernel facility called tracepoints, which means much less overhead than strace.

It then "packetizes" this information, so that you can save it into trace files and filter it, a bit like you would do with tcpdump. This makes it very flexible to explore what processes are doing.

We also pack it with a set of scripts that make it easier to extract useful information and do troubleshooting.