文件操作 - console-badness.sh
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-113/tools/testing/selftests/rcutorture/bin/console-badness.sh
编辑文件内容
#!/bin/bash # SPDX-License-Identifier: GPL-2.0+ # # Scan standard input for error messages, dumping any found to standard # output. # # Usage: console-badness.sh # # Copyright (C) 2020 Facebook, Inc. # # Authors: Paul E. McKenney <paulmck@kernel.org> egrep 'Badness|WARNING:|Warn|BUG|===========|Call Trace:|Oops:|detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for|!!!' | grep -v 'ODEBUG: ' | grep -v 'This means that this is a DEBUG kernel and it is' | grep -v 'Warning: unable to open an initial console' | grep -v 'Warning: Failed to add ttynull console. No stdin, stdout, and stderr.*the init process!' | grep -v 'NOHZ tick-stop error: Non-RCU local softirq work is pending, handler'
修改文件时间
将文件时间修改为当前时间的前一年
删除文件