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

コメントを投稿するにはログインする必要があります。