Linux:Processes
(Változatok közti eltérés)Admin (vitalap | szerkesztései)
(Új oldal, tartalma: „= Process Management = <kivonat>ps, pstree, pgrep, top, htop, kill, killall, slay, at, atq, atrm, crontab, nice, renice, time, & killall, nohup, free</kivonat> * What pro…”)
(Új oldal, tartalma: „= Process Management = <kivonat>ps, pstree, pgrep, top, htop, kill, killall, slay, at, atq, atrm, crontab, nice, renice, time, & killall, nohup, free</kivonat> * What pro…”)
A lap jelenlegi, 2022. április 12., 04:21-kori változata
Process Management
Kivonat: ps, pstree, pgrep, top, htop, kill, killall, slay, at, atq, atrm, crontab, nice, renice, time, & killall, nohup, free
- What processes are running on the system?
- Display the list of running processes in a tree layout.
- Which processes are currently running on the system owned by root?
- What is the process id of the process named init?
- Log in over another terminal and run the program named mc.
- In the other Putty window, find the process id of this Midnight Commander, then send it a TERM signal! (In the solution, your login name is <username>, the process id read is <PID>).
- Terminate all your processes with one command!
- Display the list of running processes by load! Monitor the load of the system continuously!
- Find all files with .conf extension on the system and list them in /tmp/find-<username>.txt! Since this takes a long time to run, do the search in the background!
- Perform the previous task without displaying error messages!
- Re-run the previous working with low priority!
- Run the previous task at 3:10 every night! (No need to run in background & signal in this case. Don't forget to clear this setting when you are done with the task!)
- Exactly at midnight, write the amount of free space in /tmp/free-<username>.txt!
- Display a list of your scheduled tasks!
- At 10AM, make a copy of the /etc/passwd file to the tmp directory.
- Cancel the scheduled task that has been just created. (In the solution, the id of the scheduled task is marked <JOBID>.)