![]() ![]() ![]() While anyone can create additional dstat plugins, dstat ships with several default plugins. Show profiling statistics when exiting dstat List the internal and external plugin namesĮxpand -C, -D, -I, -N and -S discovery listsįorce float values on-screen (mutual exclusive with –integer)įorce integer values on-screen (mutual exclusive with –float)Ĭhange colors for white background terminalĭisable intermediate updates when delay > 1 Include swap1 and total (when using -s/–swap)Įnable time counter (seconds since epoch)Įnable system stats (interrupts, context switches)Įnable filesystem stats (open files, inodes)Įnable ipc stats (message queue, semaphores, shared memory)Įnable file lock stats (posix, flock, read, write)Įnable socket stats (total, tcp, udp, raw, ip-fragments)Įnable tcp stats (listen, established, syn, time_wait, close)Įnable unix stats (datagram, stream, listen, active)Įnable vm stats (hard pagefaults, soft pagefaults, allocated, free)Įnable advance vm stats (steal, scanK, scanD, pgoru, astll)Įnable zoneinfo stats (d32F, d32H, normF, normH)Įnable (external) plugins by plugin name, see PLUGINS for options Include eth1 and total (when using -n/–net)Įnable process stats (runnable, uninterruptible, new)Įnable I/O request stats (read, write requests) Include interrupt 5 and 10 (when using -i/–int)Įnable load average stats (1 min, 5 mins, 15mins)Įnable memory stats (used, buffers, cache, free) for more memory-related stats also try –mem-adv and –swap Include total and hda (when using -d/–disk) Include cpu0, cpu3 and total (when using -c/–cpu) use all to show all CPUsĮnable disk stats (read, write), for more disk related stats look into the other –disk plugins To use dstat to relate advanced CPU stats with interrupts per device, use: dstat -t -cpu-adv -yifĮnable CPU stats (system, user, idle, wait), for more CPU related stats also see –cpu-adv and –cpu-use …this is identical to using: dstat -time -cpu -net -disk -sys -load -proc -top-cpu To use the time plugin together with cpu, net, disk, system, load, proc and top_cpu plugins, use: (see above screenshot) dstat -tcndylp -top-cpu ![]() To check dstat’s behaviour and the system impact of dstat, use: dstat -taf -debug To use dstat to relate disk-throughput with network-usage (eth0), total CPU-usage and system counters, use: dstat -dnyc -N eth0 -C total -f 5 To display the stats of all processes, use: dstat -a To display information in vmstat format, use: To list all available dstat plugins, use: (see above screenshot) dstat -listĭisplay the process using the most memory and most CPU: dstat -top-mem -top-cpu To display CPU and memory statistics only, use: dstat -cpu -mem To display statistics every 5 seconds and 4 updates only: dstat 5 4 To display CPU, disk, net, paging and system statistics (default), use: dstat Allows export to CSV, which can be imported in Gnumeric and Excel to generate graphs.Show intermediate results when delay > 1.Indicate different units with different colors.Shows exact units and limits conversion mistakes.Very accurate timeframes, no timeshifts when the system is stressed.Can summarize grouped block/network devices and give total numbers.Easy to extend (add your own counters).Written in python so easily extendable for the task at hand.Enable/order counters as they make most sense during analysis/troubleshooting.It shows stats in exactly the same timeframe.Combines vmstat, iostat, ifstat, netstat information.Dstat’s output by default is designed for being interpreted by humans in real-time however, you can export details to CSV output to a file to be imported later into Gnumeric or Excel to generate graphs. Most notably, it makes it easy to create plugins to collect your counters. For example, you can compare disk utilization with interrupts or compare network bandwidth numbers directly with storage I/O.ĭstat delivers detailed selective information in columns and indicates the magnitude and units. The general syntax of the dstat command is: dstat ]ĭstat allows an overview of system resources in real-time. Dstat is suitable for monitoring systems during performance tuning, benchmarking and troubleshooting. In addition, it adds some extra features, more counters and flexibility. It is a versatile replacement for vmstat, iostat, netstat and ifstat and overcomes some of the limitations of those tools. Dstat is used for generating system resource statistics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |