Background Job : A job which is running background in the same shell. You can use bg command to see any background jobs.
Foreground job : A Job which is running in the same shell right before your eyes.
Suspended Job : Its a stopped/pause job but you can resume their running.
Let me explain with example very clealy
virt00# sleep 180
^Z
zsh: suspended sleep 180
virt00# jobs
[1] + suspended ...
Deny SSH access to particular users
February 28, 2016
Raaz
allowgroups, allowusers, centos, debian, denygroups, denyusers, fedora, Linux, order, redhat, ssh, ubuntu
No comments
Edit
We all know SSH is very famous and the best service for remote access.
Today I am going to tell you how to block or allow only particular users or group from SSH access.
open sshd_config file as per your environment
in Debian
vim /etc/ssh/sshd_config
Then add below line to enable access for only below users
AllowUsers username1 username2
to deny access for only below users add a line as
DenyUsers...
How to see IOWAIT in Linux
Hello ,
You can use sar command.
in Ubuntu you can install it with
sudo apt-get install systat
and enable data collecting
sed -i 's/ENABLED="false"/ENABLED="true"/' /etc/default/sysstat
start service with
/etc/init.d/sysstat start
To see I/O latency type command as
sar 1 1
that means it will give two responses with 1 sec as interval.
Example :
root@virt01:~# sar 1 3
Linux 3.19.0-42-generic...
Subscribe to:
Posts (Atom)