Notice that
$ renice -5
renice: 27365: setpriority: Permission denied
# renice
27365: old priority 5, new priority 2
# renice
27365: old priority 2, new priority -5
You can also adjust the priority of processes in System Monitor and KSysGuard using the options on the context menu (right-click on the process you wish to adjust).
4.9.3.4. ...starting and managing background processes?
When using the shell, you can start a process in the background by placing an ampersand after the command:
$ xboard &
[21771]
$ mc &
[21783]
$
The shell will display the PID of the background process, then immediately present a new prompt, permitting you to enter additional commands before the background command has finished executing.
You can display background processes using the jobs command:
$ jobs
[1]- Running xboard &
[2]+ Stopped . /usr/share/mc/bin/mc-wrapper.sh
Any program that attempts to communicate through the character interface, such as Midnight Commander (
To put a stopped command in the foreground so that you can interact with it, use the
$ fg
The argument is the job number as reported by the
To run a stopped process in the background, use the
$ fg
xboard
...User presses Ctrl-Z...
[1]+ Stopped xboard
$ jobs
[1]+ Stopped xboard
[2]- Stopped . /usr/share/mc/bin/mc-wrapper.sh
$ bg
[1]+ xboard &
$
You can use a percent sign and a job number instead of a PID when killing processes:
$ kill
$
[3]- Exit 15 xboard
4.9.4. Where Can I Learn More?
? Descriptions of each signal: the manpage for
? The manpages for
4.10. Remote Management Using SSH
It's often useful to be able to log in to a machine remotely to perform some management operation. To enable secure remote access, Fedora provides the Secure Shell (SSH).
4.10.1. How Do I Do That?
SSH consists of two components:
To connect to a Fedora system from another Fedora system (or another Linux system), run the
$ ssh
The authenticity of host '10.0.0.1 (10.0.0.1)' can't be established.
RSA key fingerprint is 1d:dd:20:72:b1:0c:28:90:9a:ff:43:69:03:12:71:02.
Are you sure you want to continue connecting (yes/no)?
yes
Warning: Permanently added '10.0.0.1' (RSA) to the list of known hosts.
[email protected]'s password: