Dziewiate_21

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

Devi essere accedere per pubblicare un commento.