Dziewiate_21

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

Sie müssen eingeloggt sein, um einen Kommentar zu schreiben.