pgrep command

I‘m a new Unix system user. How can I manage process on a FreeBSD operating systems?

{ 1 comment }

How do I find out if a service such as MySQL or Apache running on my Centos/RHEL/Fedora Linux server?


pwdx command

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?


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 particular process such as memcached?


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?


How do I verify or check cronjob is running or not under CentOS / RHEL / Fedora Linux from a shell prompt?