Dziewiate_21

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

Você deve entrar para postar um comentário.