Skip to Content
可编程网络自动化
book

可编程网络自动化

by Jason Edelman, Scott S. Lowe, Matt Oswalt
January 2023
Intermediate to advanced
458 pages
14h 16m
Chinese
Posts & Telecom Press
Content preview from 可编程网络自动化
46
3
4.
与守护进程相关的其他命令
最后,再简要介绍几个可能会派上用场的命令来结束本节。这些命令的具体参数细节,建
议参阅相关的手册页(使用
man
command
)。
可以使用
ss
命令显示守护进程的网络连接。该命令可以列出处于侦听状态的网络套接
字,这种用法尤为实用,有助于确保特定守护进程(后台服务)的联网配置正常工作。
ss -lnt
可以显示正在侦听的
TCP
套接字,
ss -lnu
可以显示正在侦听的
UDP
套接字。
ps
命令可用于显示当前处于运行状态的进程信息。
在开始下一节之前,先来快速复习一下之前学过的内容。
Linux
的背景和发展历史。
文件系统导航和路径的基本知识。
基本的文件处理操作(创建文件和目录、移动
/
复制文件和目录以及删除文件和目录)
后台服务(也称为守护进程)的用法。
下一个主题是
Linux
联网,它建立在本章迄今为止涉及过的许多领域的基础之上。
3.5
 
Linux
联网
如前所述,本书对
Linux
的介绍主要是为了让你在网络自动化与可编程环境中“上手”该
操作系统。你很可能要在
Linux
中使用
Python
(参见第
4
)、
Ansible
(参见第
9
章)和
Jinja
(参见第
6
章)等工具
Linux
系统还要与网络中的各种网络设备通信。如果少了
Linux
联网,那么对
Linux
的讨论肯定不完整。说到底,这是一本重在联网的书。
3.5.1
 使用接口
Linux
联网的基本要素是
接口
Linux
支持不同类型的接口,其中最常见的是物理接口、
VLAN
接口以及桥接接口
。和大多数情况一样,在 ...
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

弱监督学习实用指南

弱监督学习实用指南

Wee Hyong Tok, Amit Bahree, Senja Filipi
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
Go程序设计语言

Go程序设计语言

艾伦A. A.多诺万, 布莱恩W. 柯尼汉
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9787115606181