当前位置:网站首页>Release nohup Out disk space occupied
Release nohup Out disk space occupied
2022-07-19 06:48:00 【Akaki yuan】
Use nohup The process started , Will record all printing information of standard output to nohup.out In file .
If the process does not end for a long time , There is more information to print ,nohup.out Files will keep growing , Until the disk is full
here , If you go rm nohup.out The document will not work , Because of the process open I got the file ,rm after , Only when the process exits close file , Will really free disk space
It can be used lsof|grep delete To query by rm But the space is not released by the file
therefore , To clean up nohup.out Disk space occupied by files , You shouldn't go rm file , Instead, empty the contents of the file , namely
echo "" > nohup.out
author : Echinocactus
link :https://www.jianshu.com/p/81d5edb78e02
source : Simple books
The copyright belongs to the author . Commercial reprint please contact the author for authorization , Non-commercial reprint please indicate the source .
边栏推荐
- Wu Enda machine learning chapter 10-11
- DSL implements bucket aggregation
- 机器学习篇-逻辑回归的分类预测
- 2019cs brand sdnand and EMMC selection comparison important analysis
- X11 forwarding
- 網絡中的一些基本概念
- 深度优先遍历(Depth First Search, 简称 DFS)
- Some problems encountered in work
- Quelques concepts de base dans le réseau
- From entering URL to displaying page
猜你喜欢
随机推荐
Mapping index attribute & operation of creating index
Experiment class II and object definition initialization
Double code time scale network diagram
Application case of CS brand sdnand in color detector industry
Automatic completion & (custom) Pinyin word Separator &
Wu Enda machine learning chapter 3-4
Temperature acquisition experiment and experimental experience based on I2C
Application of views and index files
️️固高运动控制卡的相关知识点
实验四 运算符重载和虚函数
Es aggregation analysis reports an error: "reason": "text fields are not optimized for operations
F5LTM(一)逻辑关系图
Set the index library structure, add suggestions that can be automatically completed to users, and turn some fields into collections and put them into suggestions
Information on successful cooperation between CS brand sdnand and stm32mcu
OpenSSL---堆栈
从输入URL到展示出页面
Seachest utilities tool enables your hard disk to consume less power and live longer
Full experience of soft examination at the beginning, middle and advanced levels
top命令
海量数据









