Dziewiate_21

 0    21 词汇卡    michalesq
打印 检查自己
 
问题 - 答案 -
How to renice program, execute command and take every running httpd process
开始学习
renice -n 10 $(pgrep httpd)
How to tar a file with priority -20 and display time needed to process?
开始学习
time nice -n -20 tar -cvf test. tar test. file
Where can you find information about number of CPUs?
开始学习
cat /proc/cpuinfo
What does top -d 2 do?
开始学习
Set top updates to 2 seconds
What does k do in top command?
开始学习
kill process
What does r do in top command?
开始学习
renice process
What does P do in top command?
开始学习
sort by CPU usage
What does M do in top command?
开始学习
sort by memory usage
What does t do in top command?
开始学习
disable line with tasks
What does m do in top command?
开始学习
disable line with memory usage
What does l do in top command?
开始学习
disable line with cpu usage
Where all non persistent logs for journalctl are written to?
开始学习
cd /run/log/journal
How to make journalctl logs persistent?
开始学习
go to /etc/systemd/journalctl. conf, uncomment storage
Where all persistent logs for journalctl are written to?
开始学习
/var/log/journal
Where would you configure logrotation for journalctl?
开始学习
/etc/logrorate.conf
How to display last 10 lines of logs?
开始学习
journalctl -n
How to display logs with priority info?
开始学习
journalctl -p info
How to display logs since yesterday?
开始学习
journalctl --since=yesterday
How to display logs since one hour ago?
开始学习
journalctl --since "one hour ago"
How to display info about boot process?
开始学习
systemd-analyze
How to dusplay info about the process lanunched very long?
开始学习
systemd-analyze blame

您必须登录才能发表评论。