Lab 6 and 7
Lab 6 and 7
* There are certain processes (Jobs) that are run on linux as foreground,
background.
* If we want to stoped the job we will just press " Ctrl z " Now my
process has been stopped.
* While on the other hand FG command will resume the job and terminal
will not allow you start another job untill job 1 execute sucessfully.
* We will use command "fg %2" It will execute the 2nd job.
* NICE VALUE
Niceness scale goes from -20 to +19. Lower the number more priority that task
gets.
***********Network Troubleshooting*********
* Suppose that any person XYZ in an oganization doing a job of system and
network administration.
His boss wants to check the server connectivity status and he asked the XYZ
person to check the status. That person will use the following command.
" ping 192.168.29.41 " It will check the connectivity status. After
sometime press CTRL C for showing the status. (Destination host unreachable)
100 % Packet loss.
His Boss will appreciate his effort to his job.
2. Server down means that your system can not reach to the
server. It will show destination unreachable " ping unknown IP "
1. ping -c 3 IP
"ping -c 3 www.google.com" It will send 3 packets to
the server and show reults.
2. Ping -i 2 IP
" ping -i 2 www.google.com" It will send packets to
the server after 2 second. and press CTRL C to show reults.
3. ping -c 5 q IP
"ping -c 5 -q www.google.com" It wil send 5 pakets to
google server and return only summary of the results.
4. Ping -f IP (Only for root user)
"ping -f www.google.com" It will send the packets
more fastly and press CTRL C to check the data packets.
5. Ping -a IP
"ping -a www.google.com" It will generate sound after
each packet send.