Small command Sysdig

Source: Internet
Author: User
Tags syslog sysdig

For more information, please Google

Installation method:

Curl-s Https://s3.amazonaws.com/download.draios.com/stable/install-sysdig | Bash


Execute SYSDIG-CL | The result of less

Category:application

---------------------

Httplog HTTP Requests Log

Httptop Top HTTP Requests

Memcachelog memcached Requests Log


Category:cpu Usage

-------------------

Spectrogram visualize OS latency in real time.

Subsecoffset visualize Subsecond offset execution time.

Topcontainers_cpu

Top Containers by CPU usage

TOPPROCS_CPU Top processes by CPU usage


Category:errors

----------------

Topcontainers_error

Top containers by number of errors

Topfiles_errors Top files by number of errors

Topprocs_errors top processes by number of errors


category:i/o

-------------

Echo_fds Print The data read and written by processes.

fdbytes_by I/O bytes, aggregated by an arbitrary filter field

Fdcount_by FD count, aggregated by an arbitrary filter field

Fdtime_by FD Time GROUP BY

Iobytes Sum of I/O bytes on any type of FD

Iobytes_file Sum of file I/O bytes

Spy_file Echo any read/write made by any process to all files. Optionall

Y, you can provide the name of a file to only intercept reads

/writes to that file.

stderr Print stderr of processes

stdin Print stdin of processes

StdOut Print stdout of processes

Topcontainers_file

Top containers by r+w Disk bytes

Topfiles_bytes Top files by r+w bytes

Topfiles_time Top files by time

Topprocs_file Top processes by r+w Disk bytes


Category:logs

--------------

Spy_logs Echo Any write made by any process to a log file. Optionally, E

Xport The events around each log message to file.

Spy_syslog Print every message written to syslog. Optionally, export the E

Vents around each syslog message to file.


Category:misc

--------------

Around Export to file the events around the time range where the given

Filter matches.


Category:net

-------------

Iobytes_net Show Total network I/O bytes

SPY_IP Show The data exchanged with the given IP address

Spy_port Show The data exchanged using the given IP port number

Topconns Top Network Connections by Total bytes

Topcontainers_net

Top containers by network I/O

Topports_server Top TCP/UDP Server Ports by r+w bytes

Topprocs_net Top processes by network I/O


Category:performance

---------------------

Bottlenecks slowest system calls

Fileslower Trace Slow file I/O

Netlower Trace Slow network i/0

Proc_exec_time Show Process Execution Time

Scallslower Trace Slow Syscalls

Topscalls Top system calls by number of calls

Topscalls_time Top system calls by Time


Category:security

------------------

List_login_shells

List the login Shell IDs

Shellshock_detect

Print Shellshock attacks

Spy_users Display Interactive User Activity


Category:system State

----------------------

Lscontainers List the running containers

Lsof List (and optionally filter) the open file descriptors.

Netstat List (and optionally filter) network connections.

PS List (and optionally filter) the machine processes.


Category:tracers

-----------------

Tracers_2_statsd

Export spans duration as Statds metrics.


Use The-i flag to get detailed information about a specific chisel


This article is from the "lake and Laughter" blog, please make sure to keep this source http://hashlinux.blog.51cto.com/9647696/1850561

Small command Sysdig

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.