惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
G
Google Developers Blog
H
Help Net Security
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog RSS Feed
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 三生石上(FineUI控件)
大猫的无限游戏
大猫的无限游戏
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
D
Docker
Hugging Face - Blog
Hugging Face - Blog
I
InfoQ
博客园 - 司徒正美
Last Week in AI
Last Week in AI
Microsoft Security Blog
Microsoft Security Blog
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence

Stonecharioteer on Tech

I Traced My Traffic Through a Home Tailscale Exit Node What Was I Reading Last? In Three Not-So-Easy Pieces Dogfooding Is Hard Code blocks in your books, finally GoForGo v0.9.0 Merrilin - We built an app to read books I use a Macbook now Data Structures & Algorithms - Preparing for Interviews Using a local DNS namespace for local service discovery Direction KOllector - Publishing KOReader Highlights gbt: branches touched in the last 24 hours A Soiree into Symbols in Ruby Some Smalltalk about Ruby Loops Ruby Blocks Returning from Ruby Blocks, Procs and Lambdas My Linux Laptop Finally Works: How Claude Helped Me Fix Years of Annoyances TIL: Watchexec - Modern File Watching for Development Workflows A Less Busy Mind GoForGo - Learn Go through live examples Migrating My Old Blog to Hugo with Claude The Qtile Window Manager: A Python-Powered Tiling Experience Read the RFCs that Built the Internet Py-x-Protobuf - Or How I Learned to Stop Worrying and Love Protocol Buffers Python Reverse a List New Beginnings Leaving ChainSafe Systems Screen Lock for Cinnamon Desktop using Zenity and Terminal Commands Crews Not Teams A System for Getting Better at LeetCode
TIL: Progress Monitor for Linux Commands and Linux Handbook
2021-01-17 · via Stonecharioteer on Tech

Progress Monitor for File Operations

Key Features and Usage

Supported Operations

  • File Copying: Progress for cp operations
  • Moving Files: Progress for mv operations
  • Disk Operations: Progress for dd and similar low-level operations
  • Archive Operations: Progress for tar, gzip, and compression tools
  • Generic Process Monitoring: Can monitor any process that reads/writes files

Installation and Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Installation (varies by distribution)
sudo apt install progress  # Ubuntu/Debian
sudo yum install progress  # CentOS/RHEL

# Basic usage
progress

# Monitor specific processes
progress -c cp,mv,dd

# Watch mode (continuous updates)
progress -w

Benefits for System Administration

  • Visibility: See progress of long-running file operations
  • Time Estimation: Better planning for maintenance windows
  • Troubleshooting: Identify stuck or slow operations
  • User Experience: Provide feedback during lengthy operations

Learning Resources

Linux Handbook

  • Linux Handbook
  • Comprehensive resource for Linux learning and administration
  • Covers beginner to advanced Linux topics
  • Practical tutorials and guides
  • Good complement to man pages and official documentation

Educational Value

  • Structured Learning: Organized approach to Linux education
  • Practical Examples: Real-world scenarios and solutions
  • Modern Approach: Up-to-date with current Linux practices
  • Comprehensive Coverage: Wide range of Linux topics and tools

Use Cases and Applications

Development and Operations

  • Build Processes: Monitor progress of large builds
  • Data Transfer: Track file synchronization and backup operations
  • System Maintenance: Visibility during system upgrades and migrations
  • Database Operations: Monitor database dumps and restores

Educational and Training

  • Learning Linux: Understanding how file operations work
  • System Monitoring: Teaching concepts of process monitoring
  • Performance Analysis: Understanding I/O patterns and bottlenecks
  • Troubleshooting Skills: Diagnosing slow file operations

Key Takeaways

  • Visibility Tools: Simple tools can greatly improve operational visibility
  • User Experience: Progress indicators improve user experience even for command-line tools
  • System Monitoring: Understanding what processes are doing is crucial for effective system administration
  • Learning Resources: Quality educational resources like Linux Handbook accelerate learning
  • Practical Tools: Tools like progress solve real daily problems for system administrators
  • Open Source: Community-developed tools often fill gaps in standard toolsets

The progress tool exemplifies how simple, focused tools can significantly improve the Linux command-line experience by providing visibility into long-running operations.