I am new to Linux shell scripting. I am using a CentOS 7 Linux and Ubuntu 18.04 LTS server in the cloud. How do I check if a process is running or not on Linux? How do I determine whether a process is running or not in a shell script running on an Ubuntu server?
[continue reading…]
pgrep command
I am a new Linux user. How can I find a computer program/process by name on Linux? Is it possible to find a process by name instead of PID on a Linux?
[continue reading…]
[continue reading…]
HowTo: Use ps, kill, nice, and killall To Manage processes in FreeBSD and OS X Unix Operating System
I‘m a new Unix system user. How can I manage process on a FreeBSD operating systems?
[continue reading…]
[continue reading…]
How do I find out if a service such as MySQL or Apache running on my Centos/RHEL/Fedora Linux server?
[continue reading…]
[continue reading…]
I am new Linux and Unix system administrator. How do I find the current working directory of a process or server on Linux or Unix-like system using shell prompt?
[continue reading…]
The top and free command display the total amount of free and used physical and swap memory in the server. How do I determine which process is using swap space under Linux operating systems? How do I find out swap space usage of a particular process such as memcached?
[continue reading…]
[continue reading…]
I know how to gracefully restart Apache web server under Unix like operating system. I made changes to nginx.conf. How do I gracefully restart Nginx web server? How do I make changes in a Nginx server config file to take effect without restarting the Nginx server itself without interrupting users’ current session?
[continue reading…]
[continue reading…]