Skip to Content
Java持续交付
book

Java持续交付

by Daniel Bryant, Abraham Marín-Pérez
November 2019
Beginner to intermediate
406 pages
9h 21m
Chinese
Publishing House of Electronics Industry
Content preview from Java持续交付
96
6
其他构建工具和技巧
strace
跟踪系统调用。这是一个高级工具,但是在调试容器或安全问题时非常有用。
熟悉如何使用操作系统的软件包管理器
你经常会发现,当前机器上没有安装需要的诊断工具,因此最好熟悉如何通过包管
理器来安装这些工具。例如,在许多
Ubuntu
(或
Debian
)操作系统上,你必须安装
sysstat
软件包(
sudo apt-get install -y sysstat
)才能运行
iostat
。不要忘记,
你需要相应的权限才能安装这些工具。
如果目前你大量使用了容器,那么可能需要额外的工具,因为前面某些命令(以及其他
诊断工具)无法与容器一起正常工作。我们列举了以下几个有助于理解容器运行时的工
具:
sysdig
https://www.sysdig.org/install/
一个有用的容器感知诊断工具。
systemd-cgtop
http://bit.ly/2xFaFaX
一个
systemd
工具,以类似
top
的方式来查看
cgroups
(容器)中的数据。
atomic top
docker top
http://bit.ly/2Dxz3kd
分别由
Red Hat
Docker
提供的实用程序,用来检查容器中运行的进程。
一些较旧的诊断工具不能很好地支持容器
一些流行的诊断工具是在
Docker
等容器技术出现(或者流行)之前就存在的,
因此它们可能无法正常在容器环境中工作。例如,容器都是作为一个进程运行
的,每个容器命名空间中的程序也是作为一个进程运行的。某些工具可能无法
区分出通过命名空间分隔的程序。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
Java性能优化实践:JVM调优策略、工具与技巧

Java性能优化实践:JVM调优策略、工具与技巧

Benjamin J. Evans, James Gough, Chris Newland
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787121374425