Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| linux:linux-commands [2019/04/10 21:05] – [CPU / RAM / RESOURCE MANAGEMENT] 108.225.197.92 | linux:linux-commands [2019/11/07 14:58] (current) – 12.29.70.125 | ||
|---|---|---|---|
| Line 90: | Line 90: | ||
| < | < | ||
| + | |||
| + | < | ||
| + | < | ||
| ===== MySQL Commands ===== | ===== MySQL Commands ===== | ||
| Line 438: | Line 441: | ||
| </ | </ | ||
| - for updating multiple git repos in the current folder | - for updating multiple git repos in the current folder | ||
| + | |||
| + | ===== How to kill a process in linux ===== | ||
| + | < | ||
| + | - use this to list all of the current running processes | ||
| + | < | ||
| + | - use this to search the processes for " | ||
| + | < | ||
| + | USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | ||
| + | root | ||
| + | root | ||
| + | root | ||
| + | root | ||
| + | root | ||
| + | </ | ||
| + | - output looks like this | ||
| + | < | ||
| + | - use this to kill the process, the '' | ||
| + | |||
| + | ===== Linux Time ===== | ||
| + | < | ||
| + | timedatectl set-local-rtc 1 --adjust-system-clock | ||
| + | timedatectl | ||
| + | timedatectl set-local-rtc 0 --adjust-system-clock | ||
| + | </ | ||
| + | - use the first command to set linux to use local time, use the second command to check the settings for time, and use the third command to return it to default | ||